libvirt/tests/nwfilterxml2xmlout
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 This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
ah-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
all-ipv6-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
all-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
arp-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
conntrack-test.xml nwfilter: extend schema + add testcase w/ connlimit-above 2010-04-23 11:42:39 -04:00
esp-ipv6-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
esp-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
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 This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
icmpv6-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
igmp-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
ip-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
ipt-no-macspoof-test.xml nwfilter: More XML parser test cases 2010-04-09 07:25:02 -04:00
ipv6-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
mac-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
rarp-test.xml nwfilter: add support for RAPR protocol 2010-04-27 07:26:12 -04:00
ref-rule-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
ref-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
sctp-ipv6-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
sctp-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
tcp-ipv6-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
tcp-test.xml nwfilter: add XML attribute to control iptables state match 2010-06-17 14:12:34 -04:00
udp-ipv6-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
udp-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
udplite-ipv6-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
udplite-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00