mirror of https://gitee.com/openkylin/libvirt.git
schemas: rng: Use interleave in the disk source element
Signed-off-by: Han Han <hhan@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
17cdefe5f1
commit
8b41b21aee
|
@ -1642,6 +1642,7 @@
|
|||
</optional>
|
||||
<optional>
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<optional>
|
||||
<attribute name="file">
|
||||
<ref name="absFilePath"/>
|
||||
|
@ -1657,6 +1658,7 @@
|
|||
<zeroOrMore>
|
||||
<ref name='devSeclabel'/>
|
||||
</zeroOrMore>
|
||||
</interleave>
|
||||
</element>
|
||||
</optional>
|
||||
</define>
|
||||
|
@ -1667,6 +1669,7 @@
|
|||
</attribute>
|
||||
<optional>
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<optional>
|
||||
<attribute name="dev">
|
||||
<ref name="absFilePath"/>
|
||||
|
@ -1685,6 +1688,7 @@
|
|||
<zeroOrMore>
|
||||
<ref name='devSeclabel'/>
|
||||
</zeroOrMore>
|
||||
</interleave>
|
||||
</element>
|
||||
</optional>
|
||||
</define>
|
||||
|
@ -1695,6 +1699,7 @@
|
|||
</attribute>
|
||||
<optional>
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="dir">
|
||||
<ref name="absFilePath"/>
|
||||
</attribute>
|
||||
|
@ -1706,6 +1711,7 @@
|
|||
<ref name="encryption"/>
|
||||
</optional>
|
||||
<empty/>
|
||||
</interleave>
|
||||
</element>
|
||||
</optional>
|
||||
</define>
|
||||
|
@ -1856,6 +1862,7 @@
|
|||
|
||||
<define name="diskSourceNetworkProtocolHTTPS">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<choice>
|
||||
<value>https</value>
|
||||
|
@ -1874,11 +1881,13 @@
|
|||
<ref name="diskSourceNetworkProtocolHTTPCookies"/>
|
||||
</optional>
|
||||
<ref name="diskSourceNetworkProtocolPropsCommon"/>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetworkProtocolHTTP">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<choice>
|
||||
<value>http</value>
|
||||
|
@ -1894,11 +1903,13 @@
|
|||
<ref name="diskSourceNetworkProtocolHTTPCookies"/>
|
||||
</optional>
|
||||
<ref name="diskSourceNetworkProtocolPropsCommon"/>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetworkProtocolFTPS">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<choice>
|
||||
<value>ftps</value>
|
||||
|
@ -1914,11 +1925,13 @@
|
|||
<ref name="diskSourceNetworkProtocolSSLVerify"/>
|
||||
</optional>
|
||||
<ref name="diskSourceNetworkProtocolPropsCommon"/>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetworkProtocolSimple">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<choice>
|
||||
<value>sheepdog</value>
|
||||
|
@ -1933,11 +1946,13 @@
|
|||
<ref name="encryption"/>
|
||||
</optional>
|
||||
<ref name="diskSourceNetworkProtocolPropsCommon"/>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetworkProtocolNBD">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<value>nbd</value>
|
||||
</attribute>
|
||||
|
@ -1954,11 +1969,13 @@
|
|||
<optional>
|
||||
<ref name="encryption"/>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetworkProtocolGluster">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<value>gluster</value>
|
||||
</attribute>
|
||||
|
@ -1970,11 +1987,13 @@
|
|||
<optional>
|
||||
<ref name="encryption"/>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name="diskSourceNetworkProtocolVxHS">
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="protocol">
|
||||
<choice>
|
||||
<value>vxhs</value>
|
||||
|
@ -1988,6 +2007,7 @@
|
|||
</attribute>
|
||||
</optional>
|
||||
<ref name="diskSourceNetworkHost"/>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
|
@ -2014,6 +2034,7 @@
|
|||
</attribute>
|
||||
<optional>
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="pool">
|
||||
<ref name="poolName"/>
|
||||
</attribute>
|
||||
|
@ -2038,6 +2059,7 @@
|
|||
<zeroOrMore>
|
||||
<ref name='devSeclabel'/>
|
||||
</zeroOrMore>
|
||||
</interleave>
|
||||
</element>
|
||||
</optional>
|
||||
</define>
|
||||
|
@ -2048,6 +2070,7 @@
|
|||
</attribute>
|
||||
<optional>
|
||||
<element name="source">
|
||||
<interleave>
|
||||
<attribute name="type">
|
||||
<value>pci</value>
|
||||
</attribute>
|
||||
|
@ -2069,6 +2092,7 @@
|
|||
<optional>
|
||||
<ref name="encryption"/>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</optional>
|
||||
</define>
|
||||
|
|
Loading…
Reference in New Issue