Bases: quantum.db.dhcp_rpc_base.DhcpRpcCallbackMixin
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.
Allowed provider network types for the NVP Plugin
Bases: quantum.db.db_base_plugin_v2.QuantumDbPluginV2, quantum.db.l3_db.L3_NAT_db_mixin, quantum.db.portsecurity_db.PortSecurityDbMixin, quantum.db.securitygroups_db.SecurityGroupDbMixin, quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.NetworkGatewayMixin, quantum.plugins.nicira.nicira_nvp_plugin.nicira_qos_db.NVPQoSDbMixin, quantum.plugins.nicira.nicira_nvp_plugin.common.securitygroups.NVPSecurityGroups, quantum.plugins.nicira.nicira_nvp_plugin.common.metadata_access.NvpMetadataAccess, quantum.db.agentschedulers_db.AgentSchedulerDbMixin
NvpPluginV2 is a Quantum plugin that provides L2 Virtual Network functionality using NVP.
Create a layer-2 network gateway
Create the gateway service on NVP platform and corresponding data structures in Quantum datase
Create security group. If default_sg is true that means a we are creating a default security group and we don’t need to check if one exists.
create a single security group rule
create security group rules :param security_group_rule: list of rules to create
Remove a layer-2 network gateway
Remove the gateway service from NVP platform and corresponding data structures in Quantum datase
Deletes a port on a specified Virtual Network, if the port contains a remote interface attachment, the remote interface is first un-plugged and then the port is deleted.
| Returns: | None |
|---|---|
| Raises : | exception.PortInUse |
| Raises : | exception.PortNotFound |
| Raises : | exception.NetworkNotFound |
Delete a security group :param security_group_id: security group rule to remove.
Delete a security group rule :param sgrid: security group id to remove.
Parse the supplied plugin configuration.
| Parameters: | config – a ConfigParser() object encapsulating nvp.ini. |
|---|---|
| Returns: | A tuple: (clusters, plugin_config). ‘clusters’ is a list of NVPCluster objects, ‘plugin_config’ is a dictionary with plugin parameters (currently only ‘max_lp_per_bridged_ls’). |