2019-02-07 17:29:15 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- A Relax NG schema for the libvirt storage pool capabilities XML format -->
|
|
|
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
2020-09-30 11:54:58 +00:00
|
|
|
<include href="basictypes.rng"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
<start>
|
2020-09-30 11:54:58 +00:00
|
|
|
<ref name="storagepoolCapabilities"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
</start>
|
|
|
|
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="storagepoolCapabilities">
|
|
|
|
<element name="storagepoolCapabilities">
|
2019-02-07 17:29:15 +00:00
|
|
|
<zeroOrMore>
|
2020-09-30 11:54:58 +00:00
|
|
|
<ref name="poolCapsType"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
</zeroOrMore>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="poolCapsType">
|
|
|
|
<element name="pool">
|
|
|
|
<ref name="poolCapsTypes"/>
|
|
|
|
<ref name="poolCapsSupported"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
<optional>
|
2020-09-30 11:54:58 +00:00
|
|
|
<ref name="poolCapsPoolOptions"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
</optional>
|
|
|
|
<optional>
|
2020-09-30 11:54:58 +00:00
|
|
|
<ref name="poolCapsVolOptions"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="poolCapsTypes">
|
|
|
|
<attribute name="type">
|
2019-02-07 17:29:15 +00:00
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
</define>
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="poolCapsSupported">
|
|
|
|
<attribute name="supported">
|
2019-02-07 17:29:15 +00:00
|
|
|
<ref name="virYesNo"/>
|
|
|
|
</attribute>
|
|
|
|
</define>
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="poolCapsPoolOptions">
|
|
|
|
<element name="poolOptions">
|
2019-02-07 17:29:15 +00:00
|
|
|
<optional>
|
2020-09-30 11:54:58 +00:00
|
|
|
<ref name="poolDefaultFormat"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
</optional>
|
|
|
|
<optional>
|
2020-09-30 11:54:58 +00:00
|
|
|
<ref name="poolCapsEnum"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="poolCapsVolOptions">
|
|
|
|
<element name="volOptions">
|
|
|
|
<ref name="poolDefaultFormat"/>
|
|
|
|
<ref name="poolCapsEnum"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="poolDefaultFormat">
|
|
|
|
<element name="defaultFormat">
|
|
|
|
<attribute name="type">
|
2019-02-07 17:29:15 +00:00
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="poolCapsEnum">
|
2019-02-07 17:29:15 +00:00
|
|
|
<zeroOrMore>
|
2020-09-30 11:54:58 +00:00
|
|
|
<element name="enum">
|
|
|
|
<attribute name="name">
|
2019-02-07 17:29:15 +00:00
|
|
|
<text/>
|
|
|
|
</attribute>
|
2020-09-30 11:54:58 +00:00
|
|
|
<ref name="value"/>
|
2019-02-07 17:29:15 +00:00
|
|
|
</element>
|
|
|
|
</zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
2020-09-30 11:54:58 +00:00
|
|
|
<define name="value">
|
2019-02-07 17:29:15 +00:00
|
|
|
<zeroOrMore>
|
2020-09-30 11:54:58 +00:00
|
|
|
<element name="value">
|
2019-02-07 17:29:15 +00:00
|
|
|
<text/>
|
|
|
|
</element>
|
|
|
|
</zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
</grammar>
|