The networking_generic_switch.tests.unit.test_devices
Module¶
-
class
networking_generic_switch.tests.unit.test_devices.
FakeDevice
(device_cfg)¶ Bases:
networking_generic_switch.devices.GenericSwitchDevice
-
add_network
(s, n)¶
-
del_network
(s)¶
-
delete_port
(p, s)¶
-
plug_port_to_network
(p, s)¶
-
-
class
networking_generic_switch.tests.unit.test_devices.
FakeFaultyDevice
(device_cfg)¶ Bases:
networking_generic_switch.devices.GenericSwitchDevice