mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
docs: schemas: Split out simple network protocols
ftp/tftp/sheepdog have a mandatory filename and support only one host. There are no additional options for them.
This commit is contained in:
parent
bde5c2f532
commit
3240b8324c
@ -1569,18 +1569,29 @@
|
|||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
<define name="diskSourceNetworkProtocolSimple">
|
||||||
|
<element name="source">
|
||||||
|
<attribute name="protocol">
|
||||||
|
<choice>
|
||||||
|
<value>sheepdog</value>
|
||||||
|
<value>iscsi</value>
|
||||||
|
<value>ftp</value>
|
||||||
|
<value>ftps</value>
|
||||||
|
<value>tftp</value>
|
||||||
|
</choice>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="name"/>
|
||||||
|
<ref name="diskSourceNetworkHost"/>
|
||||||
|
</element>
|
||||||
|
</define>
|
||||||
|
|
||||||
<define name="diskSourceNetworkProtocolGeneric">
|
<define name="diskSourceNetworkProtocolGeneric">
|
||||||
<element name="source">
|
<element name="source">
|
||||||
<interleave>
|
<interleave>
|
||||||
<attribute name="protocol">
|
<attribute name="protocol">
|
||||||
<choice>
|
<choice>
|
||||||
<value>nbd</value>
|
<value>nbd</value>
|
||||||
<value>sheepdog</value>
|
|
||||||
<value>gluster</value>
|
<value>gluster</value>
|
||||||
<value>iscsi</value>
|
|
||||||
<value>ftp</value>
|
|
||||||
<value>ftps</value>
|
|
||||||
<value>tftp</value>
|
|
||||||
</choice>
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
<optional>
|
<optional>
|
||||||
@ -1601,6 +1612,7 @@
|
|||||||
<ref name="diskSourceNetworkProtocolGeneric"/>
|
<ref name="diskSourceNetworkProtocolGeneric"/>
|
||||||
<ref name="diskSourceNetworkProtocolRBD"/>
|
<ref name="diskSourceNetworkProtocolRBD"/>
|
||||||
<ref name="diskSourceNetworkProtocolHTTP"/>
|
<ref name="diskSourceNetworkProtocolHTTP"/>
|
||||||
|
<ref name="diskSourceNetworkProtocolSimple"/>
|
||||||
</choice>
|
</choice>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user