mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-23 06:23:10 +00:00
nwfilter: Extend schema to accept state attribute
Extend the nwfilter.rng schema to accept state attribute.
This commit is contained in:
parent
5c6405a058
commit
ec59a85d30
@ -429,6 +429,11 @@
|
|||||||
<ref name="uint16range"/>
|
<ref name="uint16range"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<attribute name="state">
|
||||||
|
<ref name="stateflags-type"/>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
</interleave>
|
</interleave>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
@ -860,4 +865,10 @@
|
|||||||
<define name='comment-type'>
|
<define name='comment-type'>
|
||||||
<data type="string"/>
|
<data type="string"/>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
<define name='stateflags-type'>
|
||||||
|
<data type="string">
|
||||||
|
<param name="pattern">((NEW|ESTABLISHED|RELATED|INVALID)(,(NEW|ESTABLISHED|RELATED|INVALID))*|NONE)</param>
|
||||||
|
</data>
|
||||||
|
</define>
|
||||||
</grammar>
|
</grammar>
|
||||||
|
Loading…
Reference in New Issue
Block a user