mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +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>
|
||||
</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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user