libvirt/tests/nwfilterxml2xmlout
Peter Krempa 9cb4e78ffd virNWFilterRuleDefDetailsFormat: Refactor formatter
Format the rule attributes in two passes, first for positive 'match' and
second pass for negative. This removes the crazy logic for switching
between match modes inside the formatter.

The refactor makes it also more clear in which cases we actually do
format something.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-06-05 13:23:06 +02:00
..
ah-ipv6-test.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
ah-test.xml
all-ipv6-test.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
all-test.xml
arp-test.xml nwfilter: enable filtering of gratuitous ARP packets 2011-05-23 19:41:18 -04:00
attr-value-test.xml
chain_prefixtest1.xml
comment-test.xml
conntrack-test.xml
esp-ipv6-test.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
esp-test.xml
example-1.xml nwfilter: Add test case for testing the state attribute 2010-10-07 06:43:35 -04:00
example-2.xml nwfilter: Add test case for testing the state attribute 2010-10-07 06:43:35 -04:00
hex-data-test.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
icmp-direction2-test.xml
icmp-direction3-test.xml nwfilter: More XML parser test cases 2010-04-09 07:25:02 -04:00
icmp-direction-test.xml
icmp-test.xml
icmpv6-test.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
igmp-test.xml
ip-test.xml
ipset-test.xml
ipt-no-macspoof-test.xml
ipv6-test.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
iter-test1.xml
iter-test2.xml Add test cases for new ways to access variables in filters 2012-01-11 06:42:37 -05:00
iter-test3.xml Add test cases for new ways to access variables in filters 2012-01-11 06:42:37 -05: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
quirks-invalid.xml virNWFilterRuleDefDetailsFormat: Refactor formatter 2023-06-05 13:23:06 +02:00
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 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
stp-test.xml Add test cases for STP traffic filtering 2011-11-22 15:12:03 -05:00
tcp-ipv6-test.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
tcp-test.xml
udp-ipv6-test.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01: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
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
vlan-test.xml Add test cases for VLAN traffic filtering 2011-11-19 07:26:56 -05:00