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:
Peter Krempa 2017-04-21 12:19:46 +02:00
parent bde5c2f532
commit 3240b8324c

View File

@ -1569,18 +1569,29 @@
</element>
</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">
<element name="source">
<interleave>
<attribute name="protocol">
<choice>
<value>nbd</value>
<value>sheepdog</value>
<value>gluster</value>
<value>iscsi</value>
<value>ftp</value>
<value>ftps</value>
<value>tftp</value>
</choice>
</attribute>
<optional>
@ -1601,6 +1612,7 @@
<ref name="diskSourceNetworkProtocolGeneric"/>
<ref name="diskSourceNetworkProtocolRBD"/>
<ref name="diskSourceNetworkProtocolHTTP"/>
<ref name="diskSourceNetworkProtocolSimple"/>
</choice>
</define>