The networking_cisco.tests.unit.saf.agent.topo_disc.test_pub_lldp_api
Module¶
-
class
networking_cisco.tests.unit.saf.agent.topo_disc.test_pub_lldp_api.
LldpApiTest
(*args, **kwds)¶ Bases:
neutron.tests.base.BaseTestCase
A test suite to exercise the public LldpApi class.
-
setUp
()¶ Setup for LldpApiTest.
-
test_common_tlv_format_no_tlv_case
(*args, **kwargs)¶ Test _check_common_tlv_format when specific TLV is not present.
-
test_common_tlv_format_no_tlv_data_case
(*args, **kwargs)¶ Test _check_common_tlv_format when TLV data is not present.
-
test_common_tlv_format_no_tlv_data_pattern_case
(*args, **kwargs)¶ Test _check_common_tlv_format when TLV pattern is not present.
-
test_common_tlv_format_none_case
(*args, **kwargs)¶ Test _check_common_tlv_format when TLV data is None.
-
test_enable_lldp_invalid_case
(*args, **kwargs)¶ Test for enable_lldp function for neither NCB or NB DMAC case.
-
test_enable_lldp_nb
(*args, **kwargs)¶ Test for enable_lldp function for NB DMAC case.
-
test_enable_lldp_ncb_correct_reply
(*args, **kwargs)¶ Test for enable_lldp function for correct return value.
-
test_enable_lldp_ncb_incorrect_reply
(*args, **kwargs)¶ Test for enable_lldp function for incorrect return value.
-
test_get_lldp_tlv_nb
(*args, **kwargs)¶ Test for get_lldp_tlv for nb DMAC case.
-
test_get_lldp_tlv_ncb
(*args, **kwargs)¶ Test for get_lldp_tlv for ncb DMAC case.
-
test_remote_chassis_id_mac
(*args, **kwargs)¶ Test the get_remote_chassis_id_mac function.
-
test_remote_evb_cfgd
(*args, **kwargs)¶ Test the case when remove EVB TLV is present.
False case is tested in the test_common.. cases.
-
test_remote_evb_mode
(*args, **kwargs)¶ Test the get_remote_evb_mode function.
-
test_remote_evb_mode_incorrect
(*args, **kwargs)¶ Test the get_remote_evb_mode function for incorrect TLV.
-
test_remote_mgmt_addr
(*args, **kwargs)¶ Test the get_remote_mgmt_addr function.
-
test_remote_port
(*args, **kwargs)¶ Test the get_remote_port function.
-
test_remote_port_id_local
(*args, **kwargs)¶ Test the get_remote_port_id_local function.
-
test_remote_port_id_mac
(*args, **kwargs)¶ Test the get_remote_port_id_mac function.
-
test_remote_system_desc
(*args, **kwargs)¶ Test the get_remote_system_desc function.
-
test_remote_system_name
(*args, **kwargs)¶ Test the get_remote_system_name function.
-