The networking_cisco.tests.unit.cisco.device_manager.plugging_test_driver Module

class networking_cisco.tests.unit.cisco.device_manager.plugging_test_driver.TestPluggingDriver

Bases: networking_cisco.plugins.cisco.device_manager.plugging_drivers.n1kv_ml2_trunking_driver.N1kvML2TrunkingPlugDriver

Driver class for unit tests.

allocate_hosting_port(context, router_id, port_db, network_type, hosting_device_id)
create_hosting_device_resources(context, complementary_id, tenant_id, mgmt_context, max_hosted)
delete_hosting_device_resources(context, tenant_id, mgmt_port, **kwargs)
extend_hosting_port_info(context, port_db, hosting_device, hosting_info)
get_hosting_device_resources(context, id, complementary_id, tenant_id, mgmt_nw_id)
setup_logical_port_connectivity(context, port_db, hosting_device_id)
teardown_logical_port_connectivity(context, port_db, hosting_device_id)