libvirt/tests/nwfilterxml2xmlin
Stefan Berger 51d3fb0276 nwfilter: add XML attribute to control iptables state match
This patch adds an optional XML attribute to a nwfilter rule to give the user control over whether the rule is supposed to be using the iptables state match or not. A rule may now look like shown in the XML below with the statematch attribute either having value '0' or 'false' (case-insensitive).

[...]
<rule action='accept' direction='in' statematch='false'>
<tcp srcmacaddr='1:2:3:4:5:6'
           srcipaddr='10.1.2.3' srcipmask='32'
           dscp='33'
           srcportstart='20' srcportend='21'
           dstportstart='100' dstportend='1111'/>
</rule>
[...]

I am also extending the nwfilter schema and add this attribute to a test case.
2010-06-17 14:12:34 -04:00
..
ah-ipv6-test.xml
ah-test.xml
all-ipv6-test.xml
all-test.xml
arp-test.xml
conntrack-test.xml nwfilter: extend schema + add testcase w/ connlimit-above 2010-04-23 11:42:39 -04:00
esp-ipv6-test.xml
esp-test.xml
hex-data-test.xml nwfilter: enable hex number inputs in filter XML 2010-04-26 13:50:40 -04:00
icmp-direction2-test.xml nwfilter: More XML parser test cases 2010-04-09 07:25:02 -04:00
icmp-direction3-test.xml nwfilter: More XML parser test cases 2010-04-09 07:25:02 -04:00
icmp-direction-test.xml nwfilter: More XML parser test cases 2010-04-09 07:25:02 -04:00
icmp-test.xml
icmpv6-test.xml
igmp-test.xml
ip-test.xml
ipt-no-macspoof-test.xml nwfilter: More XML parser test cases 2010-04-09 07:25:02 -04:00
ipv6-test.xml
mac-test.xml
rarp-test.xml nwfilter: add support for RAPR protocol 2010-04-27 07:26:12 -04:00
ref-rule-test.xml
ref-test.xml
sctp-ipv6-test.xml
sctp-test.xml
tcp-ipv6-test.xml
tcp-test.xml nwfilter: add XML attribute to control iptables state match 2010-06-17 14:12:34 -04:00
udp-ipv6-test.xml
udp-test.xml
udplite-ipv6-test.xml
udplite-test.xml