[patch 4/5] nwfilter: Extend schema to accept state attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Extend the nwfilter.rng schema to accept state attributes.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>

---
 docs/schemas/nwfilter.rng |   11 +++++++++++
 1 file changed, 11 insertions(+)

Index: libvirt-acl/docs/schemas/nwfilter.rng
===================================================================
--- libvirt-acl.orig/docs/schemas/nwfilter.rng
+++ libvirt-acl/docs/schemas/nwfilter.rng
@@ -429,6 +429,11 @@
           <ref name="uint16range"/>
         </attribute>
       </optional>
+      <optional>
+        <attribute name="state">
+          <ref name="stateflags-type"/>
+        </attribute>
+      </optional>
     </interleave>
   </define>
 
@@ -860,4 +865,10 @@
   <define name='comment-type'>
     <data type="string"/>
   </define>
+
+  <define name='stateflags-type'>
+    <data type="string">
+      <param name="pattern">((NEW|ESTABLISHED|RELATED|INVALID)(,(NEW|ESTABLISHED|RELATED|INVALID))*|NONE)</param>
+    </data>
+  </define>
 </grammar>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]