The networking_cisco.tests.unit.saf.server.test_dfa_server
Module¶
-
class
networking_cisco.tests.unit.saf.server.test_dfa_server.
FakeClass
¶ Bases:
object
Fake class
-
classmethod
imitate
(*others)¶
-
classmethod
-
class
networking_cisco.tests.unit.saf.server.test_dfa_server.
FakeProject
(proj_id, name, dci_id, desc)¶ Bases:
object
Fake Project class.
-
class
networking_cisco.tests.unit.saf.server.test_dfa_server.
TestDFAServer
(*args, **kwds)¶ Bases:
neutron.tests.base.BaseTestCase
Test cases for DFA Server class.
-
setUp
()¶
-
test_add_dhcp_port
(*args, **kwargs)¶ Test add dhcp port
-
test_add_lbaas_port
(*args, **kwargs)¶
-
test_correct_dhcp_ports
(*args, **kwargs)¶ Test case for port delete event.
-
test_dcnm_network_create_event
(*args, **kwargs)¶ Test case for DCNM network create event.
-
test_dcnm_network_delete_event
(*args, **kwargs)¶ Test case for DCNM network delete event.
-
test_delete_vm_funciton
(*args, **kwargs)¶ Test case for port delete event.
-
test_is_mand_arg_present_false
(*args, **kwargs)¶ Test the is_mand_arg_present function for False case.
-
test_is_mand_arg_present_true
(*args, **kwargs)¶ Test the is_mand_arg_present function for True case.
-
test_network_create_func
(*args, **kwargs)¶ Test case for network create event.
-
test_network_delete_event
(*args, **kwargs)¶ Test case for network delete event.
-
test_port_create_event
(*args, **kwargs)¶ Test case for port create event.
-
test_port_update_event
(*args, **kwargs)¶ Test case for port update event.
-
test_project_create_func
(*args, **kwargs)¶ Test case for project create event.
-
test_project_delete_event
(*args, **kwargs)¶ Test case for project delete event.
-
test_project_update_event
(*args, **kwargs)¶ Test case for project update event.
-
test_save_topo_disc_params_exist_mand
(*args, **kwargs)¶ Test the save_topo_disc_params function for exist, mandatory case.
This is for the case when config is already present in the DB and mandatory TLV’s are present in the new config. This is the uppdate case.
-
test_save_topo_disc_params_exist_nomand
(*args, **kwargs)¶ Test the save_topo_disc_* function for exist, non-mandatory case.
This is for the case when config is already present in the DB and mandatory TLV’s are not present in the new config. This is the delete case.
-
test_save_topo_disc_params_none_nonexist_nonmand
(*args, **kwargs)¶ Test the save_topo_disc_* func for none, non-exist, non-mand case.
This is for the case when config is not present in the DB and mandatory TLV’s are not present in the new config. The output returned is None. This is the no-op case.
-
test_save_topo_disc_params_nonexist_mand
(*args, **kwargs)¶ Test the save_topo_disc_* function for non-exist, mandatory case.
This is for the case when config is not present in the DB and mandatory TLV’s are present in the new config. This is the add case.
-
test_save_topo_disc_params_nonexist_nonmand
(*args, **kwargs)¶ Test the save_topo_disc_* function for non-exist, non-mand case.
This is for the case when config is not present in the DB and mandatory TLV’s are not present in the new config. This is the no-op case.
-
test_send_vm_info
(*args, **kwargs)¶ Test send_send_vm_info
-
test_subnet_create_event
(*args, **kwargs)¶ Test case for subnet create event.
-
test_update_project_info_cache
(*args, **kwargs)¶ Test case for update project info.
-