2010-11-12 13:23:55 +00:00
|
|
|
<?xml version="1.0"?>
|
2009-08-05 09:56:56 +00:00
|
|
|
<!-- A Relax NG schema for the libvirt storage pool XML format -->
|
2009-01-27 15:29:53 +00:00
|
|
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
|
|
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<include href='basictypes.rng'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
<start>
|
|
|
|
<ref name='pool'/>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
|
|
|
|
<define name='pool'>
|
|
|
|
<element name='pool'>
|
|
|
|
<choice>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='pooldir'/>
|
|
|
|
<ref name='poolfs'/>
|
|
|
|
<ref name='poolnetfs'/>
|
|
|
|
<ref name='poollogical'/>
|
|
|
|
<ref name='pooldisk'/>
|
|
|
|
<ref name='pooliscsi'/>
|
|
|
|
<ref name='poolscsi'/>
|
|
|
|
<ref name='poolmpath'/>
|
2012-05-14 09:06:42 +00:00
|
|
|
<ref name='poolrbd'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</choice>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='pooldir'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>dir</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<ref name='sourcedir'/>
|
|
|
|
<ref name='target'/>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='poolfs'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>fs</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<ref name='sourcefs'/>
|
|
|
|
<ref name='target'/>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='poolnetfs'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>netfs</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<ref name='sourcenetfs'/>
|
|
|
|
<ref name='target'/>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='poollogical'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>logical</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<ref name='sourcelogical'/>
|
|
|
|
<ref name='target'/>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='pooldisk'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>disk</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<ref name='sourcedisk'/>
|
|
|
|
<ref name='target'/>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='pooliscsi'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>iscsi</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<ref name='sourceiscsi'/>
|
|
|
|
<ref name='target'/>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='poolscsi'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>scsi</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<ref name='sourcescsi'/>
|
|
|
|
<ref name='target'/>
|
|
|
|
</define>
|
|
|
|
|
2009-10-08 22:06:10 +00:00
|
|
|
<define name='poolmpath'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>mpath</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<optional>
|
|
|
|
<ref name='sourcempath'/>
|
|
|
|
</optional>
|
|
|
|
<ref name='target'/>
|
|
|
|
</define>
|
|
|
|
|
2012-05-14 09:06:42 +00:00
|
|
|
<define name='poolrbd'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<value>rbd</value>
|
|
|
|
</attribute>
|
|
|
|
<ref name='commonmetadata'/>
|
|
|
|
<ref name='sizing'/>
|
|
|
|
<ref name='sourcerbd'/>
|
|
|
|
</define>
|
|
|
|
|
2010-08-17 17:44:27 +00:00
|
|
|
<define name='sourceinfovendor'>
|
|
|
|
<optional>
|
|
|
|
<element name='vendor'>
|
|
|
|
<attribute name='name'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='product'>
|
|
|
|
<attribute name='name'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='commonmetadata'>
|
|
|
|
<element name='name'>
|
|
|
|
<ref name='name'/>
|
|
|
|
</element>
|
|
|
|
<optional>
|
|
|
|
<element name='uuid'>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='UUID'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sizing'>
|
|
|
|
<optional>
|
|
|
|
<element name='capacity'>
|
2012-02-23 00:48:38 +00:00
|
|
|
<ref name='scaledInteger'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='allocation'>
|
2012-02-23 00:48:38 +00:00
|
|
|
<ref name='scaledInteger'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='available'>
|
2012-02-23 00:48:38 +00:00
|
|
|
<ref name='scaledInteger'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='permissions'>
|
|
|
|
<optional>
|
|
|
|
<element name='permissions'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='mode'>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='unsignedInt'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
</element>
|
|
|
|
<element name='owner'>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='unsignedInt'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
</element>
|
|
|
|
<element name='group'>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='unsignedInt'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
</element>
|
|
|
|
<optional>
|
|
|
|
<element name='label'>
|
|
|
|
<text/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='target'>
|
|
|
|
<element name='target'>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='path'>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='absFilePath'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
</element>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
<ref name='permissions'/>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourceinfohost'>
|
2012-05-14 09:06:42 +00:00
|
|
|
<oneOrMore>
|
|
|
|
<element name='host'>
|
|
|
|
<attribute name='name'>
|
|
|
|
<text/>
|
2010-11-12 13:23:55 +00:00
|
|
|
</attribute>
|
2012-05-14 09:06:42 +00:00
|
|
|
<optional>
|
|
|
|
<attribute name='port'>
|
|
|
|
<ref name="PortNumber"/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</oneOrMore>
|
2009-01-27 15:29:53 +00:00
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourceinfodev'>
|
|
|
|
<element name='device'>
|
|
|
|
<attribute name='path'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<choice>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='absFilePath'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='name'/>
|
|
|
|
</choice>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
|
|
|
<choice>
|
2010-03-01 19:09:26 +00:00
|
|
|
<empty/>
|
|
|
|
<ref name='devextents'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</choice>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2010-06-07 20:47:37 +00:00
|
|
|
<define name='initiatorinfo'>
|
|
|
|
<element name='initiator'>
|
|
|
|
<element name='iqn'>
|
|
|
|
<attribute name='name'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
2010-01-21 11:50:52 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='devextents'>
|
|
|
|
<oneOrMore>
|
|
|
|
<element name='freeExtent'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<attribute name='start'>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='unsignedLong'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name='end'>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='unsignedLong'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
</attribute>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</oneOrMore>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourceinfodir'>
|
|
|
|
<element name='dir'>
|
|
|
|
<attribute name='path'>
|
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not;
conversely, the RNG supported "z" and "y" but the code did not
(I'm jealous if you have that much storage, particularly since
it won't fit in 64-bit off_t). Also, the code supported
<allocation unit='...'>, but not the RNG.
In an effort to make 'unit' more worthwhile in future patches,
it's easier to share it between files.
In making this factorization, note that absFilePath is more
permissive than 'path', so storage pools and storage volumes
will now validate with a wider set of file names than before.
I don't think this should be a problem in practice.
* docs/schemas/storagepool.rng: Include basic types, rather than
repeating things here.
* docs/schemas/storagevol.rng: Likewise.
* docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix
to match storage code.
2012-02-29 04:16:28 +00:00
|
|
|
<ref name='absFilePath'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourceinfoadapter'>
|
|
|
|
<element name='adapter'>
|
|
|
|
<attribute name='name'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<text/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourceinfoname'>
|
|
|
|
<element name='name'>
|
|
|
|
<text/>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-10-08 22:06:10 +00:00
|
|
|
<define name='sourceinfoauth'>
|
|
|
|
<element name='auth'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<choice>
|
|
|
|
<value>chap</value>
|
2012-05-14 09:06:42 +00:00
|
|
|
<value>ceph</value>
|
2009-10-08 22:06:10 +00:00
|
|
|
</choice>
|
|
|
|
</attribute>
|
2012-05-14 09:06:42 +00:00
|
|
|
<choice>
|
|
|
|
<attribute name='login'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='username'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
</choice>
|
|
|
|
<optional>
|
|
|
|
<attribute name='passwd'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfoauthsecret'/>
|
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourceinfoauthsecret'>
|
|
|
|
<element name='secret'>
|
|
|
|
<choice>
|
|
|
|
<attribute name='uuid'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='usage'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
</choice>
|
2009-10-08 22:06:10 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='sourcefmtfs'>
|
|
|
|
<optional>
|
|
|
|
<element name='format'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<attribute name='type'>
|
|
|
|
<choice>
|
|
|
|
<value>auto</value>
|
|
|
|
<value>ext2</value>
|
|
|
|
<value>ext3</value>
|
2009-01-27 15:29:53 +00:00
|
|
|
<value>ext4</value>
|
2010-03-01 19:09:26 +00:00
|
|
|
<value>ufs</value>
|
|
|
|
<value>iso9660</value>
|
|
|
|
<value>udf</value>
|
2009-01-27 15:29:53 +00:00
|
|
|
<value>gfs</value>
|
2010-03-01 19:09:26 +00:00
|
|
|
<value>gfs2</value>
|
|
|
|
<value>vfat</value>
|
|
|
|
<value>hfs+</value>
|
|
|
|
<value>xfs</value>
|
|
|
|
<value>ocfs2</value>
|
|
|
|
</choice>
|
|
|
|
</attribute>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
|
|
|
|
<define name='sourcefmtnetfs'>
|
|
|
|
<optional>
|
|
|
|
<element name='format'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<attribute name='type'>
|
|
|
|
<choice>
|
|
|
|
<value>auto</value>
|
|
|
|
<value>nfs</value>
|
|
|
|
</choice>
|
|
|
|
</attribute>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
|
|
|
|
<define name='sourcefmtdisk'>
|
|
|
|
<optional>
|
|
|
|
<element name='format'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<attribute name='type'>
|
|
|
|
<choice>
|
|
|
|
<value>none</value>
|
|
|
|
<value>dos</value>
|
|
|
|
<value>dvh</value>
|
|
|
|
<value>gpt</value>
|
|
|
|
<value>mac</value>
|
|
|
|
<value>bsd</value>
|
|
|
|
<value>pc98</value>
|
|
|
|
<value>sun</value>
|
|
|
|
<value>lvm2</value>
|
|
|
|
</choice>
|
|
|
|
</attribute>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
|
|
|
|
<define name='sourcefmtlogical'>
|
|
|
|
<optional>
|
|
|
|
<element name='format'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<attribute name='type'>
|
|
|
|
<choice>
|
|
|
|
<value>auto</value>
|
|
|
|
<value>lvm2</value>
|
|
|
|
</choice>
|
|
|
|
</attribute>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
|
|
|
|
<define name='sourcedir'>
|
|
|
|
<optional>
|
|
|
|
<element name='source'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<empty/>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
</define>
|
2010-08-17 17:44:27 +00:00
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='sourcefs'>
|
|
|
|
<element name='source'>
|
|
|
|
<ref name='sourceinfodev'/>
|
|
|
|
<ref name='sourcefmtfs'/>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourcenetfs'>
|
|
|
|
<element name='source'>
|
|
|
|
<ref name='sourceinfohost'/>
|
|
|
|
<ref name='sourceinfodir'/>
|
|
|
|
<ref name='sourcefmtnetfs'/>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourcelogical'>
|
|
|
|
<element name='source'>
|
2009-10-08 22:06:10 +00:00
|
|
|
<oneOrMore>
|
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfoname'/>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfodev'/>
|
|
|
|
</optional>
|
|
|
|
</oneOrMore>
|
2009-01-27 15:29:53 +00:00
|
|
|
<ref name='sourcefmtlogical'/>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourcedisk'>
|
|
|
|
<element name='source'>
|
|
|
|
<ref name='sourceinfodev'/>
|
|
|
|
<ref name='sourcefmtdisk'/>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourceiscsi'>
|
|
|
|
<element name='source'>
|
|
|
|
<ref name='sourceinfohost'/>
|
|
|
|
<ref name='sourceinfodev'/>
|
2010-01-21 11:50:52 +00:00
|
|
|
<optional>
|
2010-06-07 20:47:37 +00:00
|
|
|
<ref name='initiatorinfo'/>
|
2010-01-21 11:50:52 +00:00
|
|
|
</optional>
|
2009-10-08 22:06:10 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfoauth'/>
|
|
|
|
</optional>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='sourcescsi'>
|
|
|
|
<element name='source'>
|
2009-10-08 22:06:10 +00:00
|
|
|
<ref name='sourceinfoadapter'/>
|
2010-08-17 17:44:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfovendor'/>
|
|
|
|
</optional>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-10-08 22:06:10 +00:00
|
|
|
<define name='sourcempath'>
|
|
|
|
<element name='source'>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</define>
|
2009-01-27 15:29:53 +00:00
|
|
|
|
2012-05-14 09:06:42 +00:00
|
|
|
<define name='sourcerbd'>
|
|
|
|
<element name='source'>
|
|
|
|
<ref name='sourceinfoname'/>
|
|
|
|
<ref name='sourceinfohost'/>
|
|
|
|
<optional>
|
|
|
|
<ref name='sourceinfoauth'/>
|
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='name'>
|
|
|
|
<data type='string'>
|
|
|
|
<param name="pattern">[a-zA-Z0-9_\+\-]+</param>
|
|
|
|
</data>
|
|
|
|
</define>
|
|
|
|
|
2010-11-12 13:23:55 +00:00
|
|
|
<define name="PortNumber">
|
|
|
|
<data type="short">
|
|
|
|
<param name="minInclusive">-1</param>
|
|
|
|
</data>
|
|
|
|
</define>
|
2009-01-27 15:29:53 +00:00
|
|
|
|
|
|
|
</grammar>
|