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

Daniel Veillard veillard at redhat.com
Wed Oct 6 16:00:04 UTC 2010


On Fri, Oct 01, 2010 at 08:28:53PM -0400, Stefan Berger wrote:
> Extend the nwfilter.rng schema to accept state attributes.
> 
> Signed-off-by: Stefan Berger <stefanb at us.ibm.com>
[...]
> +
> +  <define name='stateflags-type'>
> +    <data type="string">
> +      <param name="pattern">((NEW|ESTABLISHED|RELATED|INVALID)(,(NEW|ESTABLISHED|RELATED|INVALID))*|NONE)</param>
> +    </data>
> +  </define>
>  </grammar>

Hum, we really want to accept something like
   NEW,NEW,NEW,NEW
?
I understand that we may want to add RELATED to another state, but that
regexp could probably be refined, isn't it ?

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list