110
<!--====================================================================-->
111
<!--The duid is a unique identifier used in DHCPv6 to identity an -->
112
<!--interface on a device (system). The duid is often used by servers -->
113
<!--such as dnsmasq to assign a specific IP address (and optionally a -->
114
<!--name to an interface. The applicable standards are RFC3315 and -->
115
<!--RFC6355. These standards actualy require the duid to be fixed for -->
116
<!--the hardward device and applicable to all network interfaces on -->
117
<!--that device. It is not clear that any software currently enforces -->
118
<!--this requirement although it could be implemented manually. -->
119
<!--====================================================================-->
120
<!--There are currently four types of duids defined: -->
121
<!-- type 1, duid-LLT, link-layer (MAC) plus 32 bit time when the -->
122
<!-- duid-LLT was created in seconds from January 1, 2000 -->
123
<!-- type 2, duid-EN, 32 bit "enterprise number" followed by a -->
124
<!-- variable length unique identifier. -->
125
<!-- type 3, duid-LL, link-layer (MAC) -->
126
<!-- type 4, duid-UUID, a 128 bit UUID (16 bytes) -->
127
<!--RFC3315 states that the maximum length of a duid is 128 bytes plus -->
128
<!--the 16 bit type field. Often, the machine type is "1" which is the -->
129
<!--number assigned to ethernet. -->
131
<define name="duidLLT">
133
<!-- 0======| type======| 0======| machine type======| time================| link-layer============| -->
134
<param name="pattern">[0]{1,2}:[0]{0,1}[1]:[0]{1,2}:[0]{0,1}[a-fA-F1-9](:[a-fA-F0-9]{1,2}){4}(:[a-fA-F0-9]{1,2}){6,8}</param>
138
<define name="duidEN">
140
<!-- 0======| type======| Enterprise number===| unique id ==============| -->
141
<param name="pattern">[0]{1,2}:[0]{0,1}[2](:[a-fA-F0-9]{1,2}){4}(:[a-fA-F0-9]{1,2}){1,124}</param>
145
<define name="duidLL">
147
<!-- 0======| type======| 0======| machine type======| link-layer============| -->
148
<param name="pattern">[0]{1,2}:[0]{0,1}[3]:[0]{1,2}:[0]{0,1}[a-fA-F1-9](:[a-fA-F0-9]{1,2}){6,8}</param>
152
<define name="duidUUID">
154
<!-- 0======| type======| UUID=================| -->
155
<param name="pattern">[0]{1,2}:[0]{0,1}[4](:[a-fA-F0-9]{1,2}){16}</param>
161
<ref name="duidLLT"/>
164
<ref name="duidUUID"/>
167
<!--======================================================================-->
104
169
<!-- An ipv4 "dotted quad" address -->
105
170
<define name="ipv4Addr">
106
171
<data type="string">
299
<define name='archnames'>
302
<value>armv7l</value>
308
<value>microblaze</value>
309
<value>microblazeel</value>
311
<value>mipsel</value>
312
<value>mips64</value>
313
<value>mips64el</value>
314
<value>openrisc</value>
315
<value>parisc</value>
316
<value>parisc64</value>
319
<value>ppcemb</value>
325
<value>sparc64</value>
326
<value>unicore32</value>
327
<value>x86_64</value>
328
<value>xtensa</value>
329
<value>xtensaeb</value>
333
<define name="PortNumber">
335
<param name="minInclusive">-1</param>
339
<define name='sourceinfoadapter'>
340
<element name='adapter'>
343
<!-- To keep back-compat, 'type' is not mandatory for
344
scsi_host adapter -->
346
<attribute name='type'>
347
<value>scsi_host</value>
350
<attribute name='name'>
355
<attribute name='type'>
356
<value>fc_host</value>
359
<attribute name='parent'>
363
<attribute name='wwnn'>
366
<attribute name='wwpn'>