The networking_cisco.tests.unit.saf.agent.topo_disc.test_topo_disc
Module¶
-
class
networking_cisco.tests.unit.saf.agent.topo_disc.test_topo_disc.
TopoDiscTest
(*args, **kwds)¶ Bases:
neutron.tests.base.BaseTestCase
A test suite to exercise the TopoDisc Class.
-
setUp
()¶ Setup Routine.
-
test_cfg_intf
(*args, **kwargs)¶ Test the cfg_intf function.
-
test_cfg_lldp_interface
(*args, **kwargs)¶ Test the test_cfg_lldp_interface function.
-
test_cfg_lldp_interface_error
(*args, **kwargs)¶ Test the test_cfg_lldp_interface function when it returns False.
-
test_cfg_lldp_interface_list
(*args, **kwargs)¶ Test the cfg_lldp_interface_list function.
-
test_cmp_store_tlv_params_all_false
(*args, **kwargs)¶ Test the test_cmp_store_tlv_params for all false case.
This test the case when all TLV compare functions returns False.
-
test_cmp_store_tlv_params_all_true
(*args, **kwargs)¶ Test the test_cmp_store_tlv_params for all True case.
This test the case when all TLV compare functions returns True.
-
test_cmp_store_tlv_params_one_true
(*args, **kwargs)¶ Test the test_cmp_store_tlv_params for one True case.
This test the case when all TLV compare functions returns True.
-
test_init_cfg_interfaces
(*args, **kwargs)¶ Test the _init_cfg_interfaces function.
-
test_period_task_reset_case_all_false
(*args, **kwargs)¶ Test the periodic task when callback is not invoked.
When all conditions for calling callback returns False.
-
test_period_task_reset_case_bond_intf_change_true
(*args, **kwargs)¶ Test the periodic task when bond_intf_change returns True.
Also, the callback invoked case is verified for a return value of False.
-
test_period_task_reset_case_cmp_true
(*args, **kwargs)¶ Test the periodic task when cmp_store_tlv_params returns True.
Also, the callback invoked case is verified for a return value of True.
-
test_period_task_reset_case_get_db_retry_true
(*args, **kwargs)¶ Test the periodic task when get_db_retry_status returns True.
Also, the callback invoked case is verified for a return value of False.
-
test_period_task_reset_case_lldp_status_false
(*args, **kwargs)¶ Test the periodic task when LLDP status is False.
-
test_period_task_reset_case_topo_disc_cnt_exceed_threshold
(*args, **kwargs)¶ Test the periodic task when send failure cnt exceeds threshold.
Also, the callback invoked case is verified for a return value of True.
-
test_remote_chassis_id_mac_uneq_store_equal
(*args, **kwargs)¶ Test remote_chassis_id_mac_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_chassis_id_mac_uneq_store_unequal
(*args, **kwargs)¶ Test remote_chassis_id_mac_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_evb_cfgd_uneq_store_equal
(*args, **kwargs)¶ Test remote_evb_cfgd_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_evb_cfgd_uneq_store_unequal
(*args, **kwargs)¶ Test remote_evb_cfgd_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_evb_mode_uneq_store_equal
(*args, **kwargs)¶ Test remote_evb_mode_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_evb_mode_uneq_store_unequal
(*args, **kwargs)¶ Test remote_evb_mode_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_mgmt_addr_uneq_store_equal
(*args, **kwargs)¶ Test remote_mgmt_addr_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_mgmt_addr_uneq_store_unequal
(*args, **kwargs)¶ Test remote_mgmt_addr_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_port_id_mac_uneq_store_equal
(*args, **kwargs)¶ Test remote_port_id_mac_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_port_id_mac_uneq_store_unequal
(*args, **kwargs)¶ Test remote_port_id_mac_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_port_uneq_store_equal
(*args, **kwargs)¶ Test remote_port_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_port_uneq_store_unequal
(*args, **kwargs)¶ Test remote_port_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_system_desc_uneq_store_equal
(*args, **kwargs)¶ Test remote_system_desc_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_system_desc_uneq_store_unequal
(*args, **kwargs)¶ Test remote_system_desc_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_system_name_uneq_store_equal
(*args, **kwargs)¶ Test remote_system_name_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-
test_remote_system_name_uneq_store_unequal
(*args, **kwargs)¶ Test remote_system_name_uneq_store for same value case.
This tests the case when the value stored is the same as the value passed.
-