mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
This patch adds test cases for parsing of parameters with multiple occurrances of the same name. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
23 lines
963 B
XML
23 lines
963 B
XML
<filter name='testcase' chain='root'>
|
|
<uuid>83011800-f663-96d6-8841-fd836b4318c6</uuid>
|
|
<filterref filter='clean-traffic'>
|
|
<parameter name='a' value='1.2.3.4'/>
|
|
<parameter name='a' value='1.2.3.5'/>
|
|
<parameter name='a' value='1.2.3.6'/>
|
|
<parameter name='b' value='1.2.3.10'/>
|
|
<parameter name='b' value='1.2.3.11'/>
|
|
<parameter name='b' value='1.2.3.12'/>
|
|
<parameter name='c' value='1.1.1.1'/>
|
|
<parameter name='c' value='2.2.2.2'/>
|
|
</filterref>
|
|
<rule action='accept' direction='out' priority='500'>
|
|
<mac srcmacaddr='01:02:03:04:05:06' srcmacmask='ff:ff:ff:ff:ff:ff' protocolid='arp'/>
|
|
</rule>
|
|
<rule action='accept' direction='out' priority='500'>
|
|
<tcp srcmacaddr='01:02:03:04:05:06' dstipaddr='10.1.2.3' dstipmask='32' dscp='2'/>
|
|
</rule>
|
|
<rule action='accept' direction='out' priority='500'>
|
|
<udp-ipv6 srcmacaddr='01:02:03:04:05:06' dstipaddr='a:b:c::d:e:f' dstipmask='128' dscp='2'/>
|
|
</rule>
|
|
</filter>
|