The networking_cisco.plugins.cisco.device_manager.plugging_drivers.vif_hotplug_plugging_driver Module

exception networking_cisco.plugins.cisco.device_manager.plugging_drivers.vif_hotplug_plugging_driver.PortNotUnBoundException(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u’Port: %(port_id)s not unbound yet.’
class networking_cisco.plugins.cisco.device_manager.plugging_drivers.vif_hotplug_plugging_driver.VIFHotPlugPluggingDriver

Bases: networking_cisco.plugins.cisco.device_manager.plugging_drivers.PluginSidePluggingDriver, networking_cisco.plugins.cisco.device_manager.plugging_drivers.utils.PluggingDriverUtilsMixin

Driver class for service VMs used with Neutron plugins supporting VIF hot-plug.

allocate_hosting_port(context, router_id, port_db, network_type, hosting_device_id)

Allocates a hosting port for a logical port.

We create a hosting port for the router port

create_hosting_device_resources(context, complementary_id, tenant_id, mgmt_context, max_hosted)

Create resources for a hosting device in a plugin specific way.

delete_hosting_device_resources(context, tenant_id, mgmt_port, **kwargs)

Deletes resources for a hosting device in a plugin specific way.

extend_hosting_port_info(context, port_db, hosting_device, hosting_info)

Extends hosting information for a logical port.

get_hosting_device_resources(context, id, complementary_id, tenant_id, mgmt_nw_id)

Returns information about all resources for a hosting device.

setup_logical_port_connectivity(context, port_db, hosting_device_id)

Establishes connectivity for a logical port.

This is done by hot plugging the interface(VIF) corresponding to the port from the CSR.

teardown_logical_port_connectivity(context, port_db, hosting_device_id)

Removes connectivity for a logical port.

Unplugs the corresponding data interface from the CSR.