mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
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.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<filter name='testcase'>
|
||||
<uuid>01a992d2-f8c8-7c27-f69b-ab0a9d377379</uuid>
|
||||
|
||||
<!-- allow incoming ssh connections -->
|
||||
<rule action='accept' direction='in' priority='100'>
|
||||
<tcp dstportstart='22'/>
|
||||
</rule>
|
||||
|
||||
<!-- allow incoming ICMP (ping) packets -->
|
||||
<rule action='accept' direction='in' priority='200'>
|
||||
<icmp/>
|
||||
</rule>
|
||||
|
||||
<!-- allow all outgoing traffic -->
|
||||
<rule action='accept' direction='in' priority='300'>
|
||||
<all/>
|
||||
</rule>
|
||||
|
||||
<!-- drop all other traffic -->
|
||||
<rule action='drop' direction='inout' priority='1000'>
|
||||
<all/>
|
||||
</rule>
|
||||
|
||||
</filter>
|
||||
Reference in New Issue
Block a user