The networking_cisco.tests.unit.saf.agent.vdp.test_dfa_vdp_mgr Module

class networking_cisco.tests.unit.saf.agent.vdp.test_dfa_vdp_mgr.DfaVdpMgrTest(*args, **kwds)

Bases: neutron.tests.base.BaseTestCase

A test suite to exercise the DfaVdpMgr Class.

setUp()

Setup routine

Test for DFA uplink restart case with invalid veth.

Test for DFA uplink restart case with no uplink.

Test for DFA uplink restart case with valid uplink/veth.

test_process_bulk_vm_event_down(*args, **kwargs)

Test Bulk Process event for down status.

test_process_bulk_vm_event_up(*args, **kwargs)

Test Bulk Process event for up status.

Test routine for static uplink, down case.

Test routine for static uplink, first time call.

Test routine for static uplink, normal case.

Test routine when a uplink is detected and lldp is down.

Top routine that calls the uplink down case

Top routine that calls the uplink detect case

Test for VM down event, when uplink event is not received.

test_process_vm_event_fail(*args, **kwargs)

Top routine that calls process VM event fail case

test_process_vm_event_succ(*args, **kwargs)

Top routine that calls process VM event success case

Test for VM event process, when uplink event is not received.

test_topo_disc_cb(*args, **kwargs)

Test the topology discovery CB function.

Test VDP uplink proc for down case, when threshold exceed.

Test VDP uplink proc for down case, when threshold not exceed.

Test VDP uplink proc for a new uplink case.

Test VDP uplink proc for none case.

Test VDP uplink proc for normal case.

Test VDP uplink proc for normal case, for bond interface.

Test VDP uplink proc for normal case, for bulk VM.

This is for the case when bulk VM notificationis not received.

Test VDP uplink proc for normal case for static uplink.

test_vdp_vlan_change_cb(*args, **kwargs)

Function to test the VDP VLAN change Callback.

test_vdp_vm_event_dict(*args, **kwargs)

Test for VM event, when input is a VM dict.

test_vdp_vm_event_list(*args, **kwargs)

Test for VM event, when input is a VM dict list.