neutron_lib.agent.linux.interface module¶
-
class
neutron_lib.agent.linux.interface.
LinuxInterfaceDriver
¶ Bases:
object
-
DEV_NAME_LEN
= 14¶
-
DEV_NAME_PREFIX
= 'tap'¶
-
abstract
plug_new
(network_id, port_id, device_name, mac_address, bridge=None, namespace=None, prefix=None, mtu=None, link_up=True)¶ Plug in the interface only for new devices that don’t exist yet.
-
abstract
unplug
(device_name, bridge=None, namespace=None, prefix=None)¶ Unplug the interface.
-