The networking_cisco.tests.unit.saf.server.services.firewall.native.drivers.test_native
Module¶
-
class
networking_cisco.tests.unit.saf.server.services.firewall.native.drivers.test_native.
FakeClass
¶ Bases:
object
Fake class
-
classmethod
imitate
(*others)¶
-
classmethod
set_return
(class_name, fn_name, return_val)¶
-
classmethod
-
class
networking_cisco.tests.unit.saf.server.services.firewall.native.drivers.test_native.
NativeFirewallTest
(*args, **kwds)¶ Bases:
neutron.tests.base.BaseTestCase
A test suite to exercise the Native Firewall Driver.
-
setUp
()¶ Setup for the test scripts
-
test_create_fw
(*args, **kwargs)¶ Create FW Test
-
test_delete_fw
(*args, **kwargs)¶ Delete FW Test
-
test_native_fw_init
(*args, **kwargs)¶ Wrapper for the init
-
test_nwk_create_notif
(*args, **kwargs)¶ Nwk Create Notif
-
test_nwk_delete_notif
(*args, **kwargs)¶ Create Notif
-
test_program_default_gw
(*args, **kwargs)¶ Test for programming the default GW.
-
test_program_default_gw_fail
(*args, **kwargs)¶ Test for programming the default gw, failure case.
-
test_program_next_hop
(*args, **kwargs)¶ Test for programming the next hop for out network.
-
test_program_next_hop_fail
(*args, **kwargs)¶ Test for programming the next hop for out network, failure case.
-
test_send_in_router_port_msg_down
(*args, **kwargs)¶
-
test_send_in_router_port_msg_fail_down
(*args, **kwargs)¶
-
test_send_in_router_port_msg_fail_up
(*args, **kwargs)¶
-
test_send_in_router_port_msg_up
(*args, **kwargs)¶
-
test_send_out_router_port_msg_down
(*args, **kwargs)¶
-
test_send_out_router_port_msg_fail_down
(*args, **kwargs)¶
-
test_send_out_router_port_msg_fail_up
(*args, **kwargs)¶
-
test_send_out_router_port_msg_up
(*args, **kwargs)¶
-
test_update_dcnm_part_static_route
(*args, **kwargs)¶ Test for updating the DCNM partition’s static route.
-
test_update_dcnm_part_static_route_fail
(*args, **kwargs)¶ Test for updating the DCNM partition’s static route.
-