xref: /illumos-gate/usr/src/test/os-tests/tests/libtopo/digraph-test-in-badnum.xml (revision 8459c777fc1aaabb2f7dad05de1313aa169417cd)
1<?xml version="1.0"?>
2<!DOCTYPE topology SYSTEM "/usr/share/lib/xml/dtd/digraph-topology.dtd.1">
3
4<!--
5  Copyright 2020 Joyent, Inc.
6
7-->
8
9<topo-digraph fmri-scheme='hc' nodename='test-nodename' os-version='test-os-version' product-id='test-product-id' timestamp='2019-12-20T01:51:26Z'>
10<vertices>
11<vertex name='node' instance='0x0' fmri='hc:///node=0'>
12
13  <nvpair name='property-groups' type='nvlist-array'>
14    <nvlist>
15      <nvpair name='property-group-name' type='string' value='protocol' />
16      <nvpair name='property-values' type='nvlist-array'>
17        <nvlist>
18          <nvpair name='property-name' type='string' value='resource' />
19          <!-- bad numeric value -->
20          <nvpair name='property-type' type='uint32' value='gdfgdfgdffg' />
21          <nvpair name='property-value' type='nvlist'>
22            <nvlist>
23              <nvpair name='scheme' type='string' value='hc' />
24              <nvpair name='version' type='uint8' value='0' />
25              <nvpair name='hc-list' type='nvlist-array'>
26                <nvlist>
27                  <nvpair name='hc-name' type='string' value='node' />
28                  <nvpair name='hc-id' type='string' value='0' />
29                </nvlist>
30              </nvpair>
31            </nvlist>
32          </nvpair> <!-- property-value -->
33        </nvlist>
34      </nvpair> <!-- property-values -->
35    </nvlist>
36
37  </nvpair> <!-- property-groups -->
38
39</vertex>
40
41</vertices>
42</topo-digraph>
43