The neutron_fwaas.tests.unit.services.firewall.drivers.linux.test_netlink_conntrack
Module¶
-
class
neutron_fwaas.tests.unit.services.firewall.drivers.linux.test_netlink_conntrack.
ConntrackNetlinkTestCase
(*args, **kwds)¶ Bases:
neutron_fwaas.tests.base.BaseTestCase
-
setUp
()¶
-
test_delete_icmp_entry
(*args, **kwargs)¶ Testing delete an icmp entry
The icmp entry can be deleted if there is an icmp conntrack entry matched with an icmp firewall rule. The information passing to nl_lib.kill_entry will include: (ipversion, protocol, icmp_type, icmp_code, src_address, dst_addres, icmp_ip)
-
test_delete_multiple_entries
(*args, **kwargs)¶
-
test_delete_tcp_entry
(*args, **kwargs)¶ Testing delete a tcp entry
The tcp entry can be deleted if there is a tcp conntrack entry matched with a tcp firewall rule. The information passing to nl_lib.kill_entry will include: (ipversion, protocol, src_port, dst_port, src_address, dst_addres)
-
test_delete_udp_entry
(*args, **kwargs)¶ Testing delete an udp entry
The udp entry can be deleted if there is an udp conntrack entry matched with an udp firewall rule. The information passing to nl_lib.kill_entry will include: (ipversion, protocol, src_port, dst_port, src_address, dst_addres)
-
test_delete_with_empty_conntrack_entries
(*args, **kwargs)¶
-
test_entry_unmatch_rule
(*args, **kwargs)¶
-
test_flush_entries
(*args, **kwargs)¶
-
test_get_entries_to_delete
(*args, **kwargs)¶
-
test_get_filter_from_rules
(*args, **kwargs)¶
-
test_icmp_entry_match_rule
(*args, **kwargs)¶
-
test_tcp_entry_match_rule
(*args, **kwargs)¶
-
test_udp_entry_match_rule
(*args, **kwargs)¶
-