~ubuntu-branches/ubuntu/saucy/libvirt/saucy

« back to all changes in this revision

Viewing changes to docs/schemas/basictypes.rng

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-05-02 10:21:49 UTC
  • mfrom: (1.2.18)
  • Revision ID: package-import@ubuntu.com-20130502102149-2ajbdvo0ii64m2qd
Tags: 1.0.5-0ubuntu1
* New upstream release: 
  + Dropped patches:
    - debian/patches/fix-virterror-namechange
    - debian/patches/apparmor-use-apparmor-setfdlabel
    - debian/patches/prevent-lxc-shutdown-host.patch
    - debian/patches/apparmor-no-need-to-check-security-model
    - debian/patches/nonblock-fix.patch
   + Refreshed patches:
    - debian/patches/9002-better_default_uri_virsh.patch
    - debian/patches/enable-kvm-spice.patch
    - debian/patches/patch-qemuMonitorTextGetMigrationStatus-to-intercept.patch
 * debian/patches/Add-sanitytest.py.patch: Add patch to fix missing sanitytest.py
   when building the testsuite.
 * debian/libvirt-dev.install: dont't ship files for static linking.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    </data>
21
21
  </define>
22
22
 
 
23
  <define name='octalMode'>
 
24
    <data type="unsignedInt">
 
25
      <param name='pattern'>[0-7]+</param>
 
26
    </data>
 
27
  </define>
 
28
 
23
29
  <define name="uint8range">
24
30
    <choice>
25
31
      <data type="string">
101
107
    </data>
102
108
  </define>
103
109
 
 
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.                                        -->
 
130
 
 
131
  <define name="duidLLT">
 
132
    <data type="string">
 
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>
 
135
    </data>
 
136
  </define>
 
137
 
 
138
  <define name="duidEN">
 
139
    <data type="string">
 
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>
 
142
    </data>
 
143
  </define>
 
144
 
 
145
  <define name="duidLL">
 
146
    <data type="string">
 
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>
 
149
    </data>
 
150
  </define>
 
151
 
 
152
  <define name="duidUUID">
 
153
    <data type="string">
 
154
                     <!--   0======| type======| UUID=================|     -->
 
155
      <param name="pattern">[0]{1,2}:[0]{0,1}[4](:[a-fA-F0-9]{1,2}){16}</param>
 
156
    </data>
 
157
  </define>
 
158
 
 
159
  <define name="DUID">
 
160
    <choice>
 
161
      <ref name="duidLLT"/>
 
162
      <ref name="duidEN"/>
 
163
      <ref name="duidLL"/>
 
164
      <ref name="duidUUID"/>
 
165
    </choice>
 
166
  </define>
 
167
  <!--======================================================================-->
 
168
 
104
169
  <!-- An ipv4 "dotted quad" address -->
105
170
  <define name="ipv4Addr">
106
171
    <data type="string">
215
280
 
216
281
  <define name='wwn'>
217
282
    <data type='string'>
218
 
      <param name='pattern'>[0-9a-fA-F]{16}</param>
 
283
      <param name='pattern'>(0x)?[0-9a-fA-F]{16}</param>
219
284
    </data>
220
285
  </define>
221
286
 
231
296
    </data>
232
297
  </define>
233
298
 
 
299
  <define name='archnames'>
 
300
    <choice>
 
301
      <value>alpha</value>
 
302
      <value>armv7l</value>
 
303
      <value>cris</value>
 
304
      <value>i686</value>
 
305
      <value>ia64</value>
 
306
      <value>lm32</value>
 
307
      <value>m68k</value>
 
308
      <value>microblaze</value>
 
309
      <value>microblazeel</value>
 
310
      <value>mips</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>
 
317
      <value>ppc</value>
 
318
      <value>ppc64</value>
 
319
      <value>ppcemb</value>
 
320
      <value>s390</value>
 
321
      <value>s390x</value>
 
322
      <value>sh4</value>
 
323
      <value>sh4eb</value>
 
324
      <value>sparc</value>
 
325
      <value>sparc64</value>
 
326
      <value>unicore32</value>
 
327
      <value>x86_64</value>
 
328
      <value>xtensa</value>
 
329
      <value>xtensaeb</value>
 
330
    </choice>
 
331
  </define>
 
332
 
 
333
  <define name="PortNumber">
 
334
    <data type="short">
 
335
      <param name="minInclusive">-1</param>
 
336
    </data>
 
337
  </define>
 
338
 
 
339
  <define name='sourceinfoadapter'>
 
340
    <element name='adapter'>
 
341
      <choice>
 
342
        <group>
 
343
          <!-- To keep back-compat, 'type' is not mandatory for
 
344
           scsi_host adapter -->
 
345
          <optional>
 
346
            <attribute name='type'>
 
347
              <value>scsi_host</value>
 
348
            </attribute>
 
349
          </optional>
 
350
          <attribute name='name'>
 
351
            <text/>
 
352
          </attribute>
 
353
        </group>
 
354
        <group>
 
355
          <attribute name='type'>
 
356
            <value>fc_host</value>
 
357
          </attribute>
 
358
          <optional>
 
359
            <attribute name='parent'>
 
360
              <text/>
 
361
            </attribute>
 
362
          </optional>
 
363
          <attribute name='wwnn'>
 
364
            <ref name='wwn'/>
 
365
          </attribute>
 
366
          <attribute name='wwpn'>
 
367
            <ref name='wwn'/>
 
368
          </attribute>
 
369
        </group>
 
370
      </choice>
 
371
      <empty/>
 
372
    </element>
 
373
  </define>
 
374
 
234
375
</grammar>