Bases: quantum.db.dhcp_rpc_base.DhcpRpcCallbackMixin
Bases: quantum.db.l3_rpc_base.L3RpcCallbackMixin
Bases: quantum.plugins.nec.db.nec_plugin_base.NECPluginV2Base, quantum.db.extraroute_db.ExtraRoute_db_mixin, quantum.db.securitygroups_rpc_base.SecurityGroupServerRpcMixin, quantum.db.agentschedulers_db.AgentSchedulerDbMixin
NECPluginV2 controls an OpenFlow Controller.
The Quantum NECPluginV2 maps L2 logical networks to L2 virtualized networks on an OpenFlow enabled network. An OpenFlow Controller (OFC) provides L2 network isolation without VLAN and this plugin controls the OFC.
The port binding extension enables an external application relay information to and from the plugin.
Activate port by creating port on OFC if ready.
Activate port and packet_filters associated with the port. Conditions to activate port on OFC are:
- port admin_state is UP
- network admin_state is UP
- portinfo are available (to identify port on OFC)
Create a new network entry on DB, and create it on OFC.
Create a new packet_filter entry on DB, then try to activate it.
Create a new port entry on DB, then try to activate it.
Deactivate port by deleting port from OFC if exists.
Deactivate port and packet_filters associated with the port.
Delete network and packet_filters associated with the network.
Delete network entry from DB and OFC. Then delete packet_filters associated with the network. If the network is the last resource of the tenant, delete unnessary ofc_tenant.
Deactivate and delete packet_filter.
Delete port and packet_filters associated with the port.
Update network and handle resources associated with the network.
Update network entry on DB. If ‘admin_state_up’ was changed, activate or deactivate ports and packetfilters associated with the network.
Update packet_filter entry on DB, and recreate it if changed.
If any rule of the packet_filter was changed, recreate it on OFC.
Update port, and handle packetfilters associated with the port.
Update network entry on DB. If admin_state_up was changed, activate or deactivate the port and packetfilters associated with it.
Bases: quantum.openstack.common.rpc.proxy.RpcProxy, quantum.agent.securitygroups_rpc.SecurityGroupAgentRpcApiMixin
RPC API for NEC plugin agent
Bases: object
Get the rpc dispatcher for this manager.
If a manager would like to set an rpc API version, or support more than one class as the target of rpc messages, override this method.
Update ports’ information and activate/deavtivate them.
Enumeration for operational status.
ACTIVE: The resource is available. DOWN: The resource is not operational. This might indicate
admin_state_up=False, or lack of OpenFlow info for the port.
BUILD: The plugin is creating the resource. ERROR: Some error occured.
Bases: quantum.db.securitygroups_rpc_base.SecurityGroupServerRpcCallbackMixin