1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00
libvirt/tests/nwfilterxml2xmlout/example-1.xml
Stefan Berger 5c6405a058 nwfilter: Add test case for testing the state attribute
This patch adds a test case for testing the XML parser's and instantiator's
support of the state attribute. The other test case tests existing
capabilities. Both test cases will be used in TCK again.
2010-10-07 06:43:35 -04:00

16 lines
425 B
XML

<filter name='testcase' chain='root'>
<uuid>01a992d2-f8c8-7c27-f69b-ab0a9d377379</uuid>
<rule action='accept' direction='in' priority='100'>
<tcp dstportstart='22'/>
</rule>
<rule action='accept' direction='in' priority='200'>
<icmp/>
</rule>
<rule action='accept' direction='in' priority='300'>
<all/>
</rule>
<rule action='drop' direction='inout' priority='1000'>
<all/>
</rule>
</filter>