mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
docs: schemas: Extract RBD-specific data
RBD driver supports specifying a snapshot image name or config file. Create a define for RBD and move the specifics there.
This commit is contained in:
parent
1779e378f8
commit
9030fab20c
@ -1521,24 +1521,12 @@
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetwork">
|
||||
<attribute name="type">
|
||||
<value>network</value>
|
||||
</attribute>
|
||||
<define name="diskSourceNetworkProtocolRBD">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<choice>
|
||||
<value>nbd</value>
|
||||
<value>rbd</value>
|
||||
<value>sheepdog</value>
|
||||
<value>gluster</value>
|
||||
<value>iscsi</value>
|
||||
<value>http</value>
|
||||
<value>https</value>
|
||||
<value>ftp</value>
|
||||
<value>ftps</value>
|
||||
<value>tftp</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<optional>
|
||||
@ -1568,6 +1556,42 @@
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetworkProtocolGeneric">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<choice>
|
||||
<value>nbd</value>
|
||||
<value>sheepdog</value>
|
||||
<value>gluster</value>
|
||||
<value>iscsi</value>
|
||||
<value>http</value>
|
||||
<value>https</value>
|
||||
<value>ftp</value>
|
||||
<value>ftps</value>
|
||||
<value>tftp</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<optional>
|
||||
<attribute name="name"/>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<ref name="diskSourceNetworkHost"/>
|
||||
</zeroOrMore>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetwork">
|
||||
<attribute name="type">
|
||||
<value>network</value>
|
||||
</attribute>
|
||||
<choice>
|
||||
<ref name="diskSourceNetworkProtocolGeneric"/>
|
||||
<ref name="diskSourceNetworkProtocolRBD"/>
|
||||
</choice>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceVolume">
|
||||
<attribute name="type">
|
||||
<value>volume</value>
|
||||
|
Loading…
x
Reference in New Issue
Block a user