The networking_cisco.tests.unit.ml2.drivers.cisco.nexus.test_trunk
Module¶
-
class
networking_cisco.tests.unit.ml2.drivers.cisco.nexus.test_trunk.
TestNexusTrunkHandler
(*args, **kwds)¶ Bases:
neutron.tests.unit.db.test_db_base_plugin_v2.NeutronDbPluginV2TestCase
-
setUp
()¶
-
test_is_trunk_parentport
(*args, **kwargs)¶
-
test_is_trunk_parentport_no_trunk
(*args, **kwargs)¶
-
test_is_trunk_subport
(*args, **kwargs)¶
-
test_is_trunk_subport_invalid_deviceowner
(*args, **kwargs)¶
-
test_update_subports_baremetal
(*args, **kwargs)¶
-
-
class
networking_cisco.tests.unit.ml2.drivers.cisco.nexus.test_trunk.
TestSubPort
¶ Bases:
object
-
port_id
= ‘fake_port_id’¶
-
segmentation_id
= 101¶
-
segmentation_type
= ‘vlan’¶
-
trunk_id
= ‘fake_trunk_id’¶
-
-
class
networking_cisco.tests.unit.ml2.drivers.cisco.nexus.test_trunk.
TestTrunk
¶ Bases:
object
-
admin_state_up
= ‘test_admin_state’¶
-
id
= ‘fake_trunk_id’¶
-
name
= ‘test_trunk_name’¶
-
port_id
= ‘fake_port_id’¶
-
status
= ‘ACTIVE’¶
-
sub_ports
= [{‘port_id’: ‘fake_port_id’, ‘segmentation_type’: ‘vlan’, ‘segmentation_id’: 101}, {‘port_id’: ‘fake_port_id’, ‘segmentation_type’: ‘vlan’, ‘segmentation_id’: 102}]¶
-
tenant_id
= ‘test_tenant_id’¶
-
update
= <Mock id=‘311151312’>¶
-