The networking_cisco.tests.unit.saf.server.services.firewall.native.test_fabric_setup_base
Module¶
-
class
networking_cisco.tests.unit.saf.server.services.firewall.native.test_fabric_setup_base.
FabricBaseTest
(*args, **kwds)¶ Bases:
neutron.tests.base.BaseTestCase
A test suite to exercise the Fabric setup Base.
-
setUp
()¶ Setup for the test scripts
-
test_clear_dcnm_in_part
(*args, **kwargs)¶ Clear DCNM IN partition service node address Test.
-
test_clear_dcnm_out_part
(*args, **kwargs)¶ Clear DCNM OUT partition service node address Test.
-
test_create_dcnm_in_nwk
(*args, **kwargs)¶ Create IN Network Test.
This function relies on the state information filled by previous functions. So, rather than starting fresh, we shall populate the FW DB. This is equivalent to restarting the enabler server and it reading the DB and populating the local cache
-
test_create_dcnm_in_part_update
(*args, **kwargs)¶ DCNM Update IN Partition Test.
-
test_create_dcnm_out_nwk
(*args, **kwargs)¶ Create OUT Network Test.
This function relies on the state information filled by previous functions. So, rather than starting fresh, we shall populate the FW DB. This is equivalent to restarting the enabler server and it reading the DB and populating the local cache.
-
test_create_dcnm_out_part
(*args, **kwargs)¶ DCNM Out Part Create Test.
-
test_create_dcnm_out_part_update
(*args, **kwargs)¶ DCNM Update OUT Partition Test.
-
test_create_in_nwk
(*args, **kwargs)¶ Create IN Network.
-
test_create_in_nwk_fail
(*args, **kwargs)¶ Create IN Network Fail.
The Openstack create network helper function is mocked to return a failure.
-
test_create_os_dummy_rtr
(*args, **kwargs)¶ Create Dummy Router Test.
-
test_create_os_dummy_rtr_fail
(*args, **kwargs)¶ Create Dummy Router Fail Test.
The Openstack add interface to router helper function is mocked to return a failure.
-
test_create_os_dummy_rtr_virt
(*args, **kwargs)¶ Create Dummy Router Virt Test.
-
test_create_out_nwk
(*args, **kwargs)¶ Create Out Network Test.
-
test_create_out_nwk_fail
(*args, **kwargs)¶ Create OUT Network Fail.
The Openstack create network helper function is mocked to return a failure.
-
test_delete_dcnm_in_nwk
(*args, **kwargs)¶ Delete DCNM In Network Test.
-
test_delete_dcnm_out_nwk
(*args, **kwargs)¶ Delete DCNM Out Network Test.
-
test_delete_dcnm_out_part
(*args, **kwargs)¶ Delete DCNM OUT partition address Test.
-
test_delete_in_nwk
(*args, **kwargs)¶ Delete IN Network Test.
-
test_delete_in_nwk_fail
(*args, **kwargs)¶ Delete IN Network Failure Test.
-
test_delete_os_dummy_rtr
(*args, **kwargs)¶ Delete Dummy Router Test.
-
test_delete_os_dummy_rtr_fail
(*args, **kwargs)¶ Delete Dummy Router Fail Test.
The Openstack delete interface to router helper function is mocked to return a failure.
-
test_delete_out_nwk
(*args, **kwargs)¶ Delete OUT Network Test.
-
test_delete_out_nwk_fail
(*args, **kwargs)¶ Delete OUT Network Failure Test.
-
test_fabric_base_init
(*args, **kwargs)¶ Wrapper for the init
-