mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
schema: nwfilter: Allow interleaving subelements of the top level 'filter' element
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
0d3dc4be0f
commit
58117f9720
@ -7,20 +7,21 @@
|
||||
</start>
|
||||
<define name="filter">
|
||||
<element name="filter">
|
||||
<ref name="filter-node-attributes"/>
|
||||
<optional>
|
||||
<element name="uuid">
|
||||
<ref name="UUID"/>
|
||||
</element>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<choice>
|
||||
<element name="filterref">
|
||||
<ref name="filterref-node-attributes"/>
|
||||
<interleave>
|
||||
<ref name="filter-node-attributes"/>
|
||||
<optional>
|
||||
<element name="uuid">
|
||||
<ref name="UUID"/>
|
||||
</element>
|
||||
<element name="rule">
|
||||
<ref name="rule-node-attributes"/>
|
||||
<choice>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<choice>
|
||||
<element name="filterref">
|
||||
<ref name="filterref-node-attributes"/>
|
||||
</element>
|
||||
<element name="rule">
|
||||
<ref name="rule-node-attributes"/>
|
||||
<choice>
|
||||
<empty/>
|
||||
<element name="mac">
|
||||
<ref name="match-attribute"/>
|
||||
@ -199,10 +200,11 @@
|
||||
<ref name="common-ipv6-attributes-p2"/>
|
||||
<ref name="comment-attribute"/>
|
||||
</element>
|
||||
</choice>
|
||||
</element>
|
||||
</choice>
|
||||
</zeroOrMore>
|
||||
</choice>
|
||||
</element>
|
||||
</choice>
|
||||
</zeroOrMore>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user