schema: Be more flexible for diskSourceNetworkProtocolPropsCommon

Add <interleave> to allow the subproperties to be specified in any
order.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Jonathon Jongsma 2022-06-15 11:29:47 -05:00
parent 4260a642d3
commit 790f3b214b

View File

@ -1967,22 +1967,24 @@
</define>
<define name="diskSourceNetworkProtocolPropsCommon">
<optional>
<element name="readahead">
<attribute name="size">
<ref name="positiveInteger"/>
</attribute>
<empty/>
</element>
</optional>
<optional>
<element name="timeout">
<attribute name="seconds">
<ref name="positiveInteger"/>
</attribute>
<empty/>
</element>
</optional>
<interleave>
<optional>
<element name="readahead">
<attribute name="size">
<ref name="positiveInteger"/>
</attribute>
<empty/>
</element>
</optional>
<optional>
<element name="timeout">
<attribute name="seconds">
<ref name="positiveInteger"/>
</attribute>
<empty/>
</element>
</optional>
</interleave>
</define>
<define name="diskSourceNetworkProtocolSSLVerify">