This Page

The quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db Module

exception quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.GatewayConnectionInUse(**kwargs)

Bases: quantum.common.exceptions.InUse

message = "The specified mapping '%(mapping)s' is already in use on network gateway '%(gateway_id)s'."
exception quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.GatewayConnectionNotFound(**kwargs)

Bases: quantum.common.exceptions.NotFound

message = "The connection %(network_mapping_info)s was not found on the network gateway '%(network_gateway_id)s'"
exception quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.GatewayInUse(**kwargs)

Bases: quantum.common.exceptions.InUse

message = "Network Gateway '%(gateway_id)s' still has active mappings with one or more quantum networks."
exception quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.MultipleGatewayConnections(**kwargs)

Bases: quantum.common.exceptions.QuantumException

message = "Multiple network connections found on '%(gateway_id)s' with provided criteria."
class quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.NetworkConnection(**kwargs)

Bases: sqlalchemy.ext.declarative.Base, quantum.db.models_v2.HasTenant

Defines a connection between a network gateway and a network

network_gateway_id
network_id
port_id
segmentation_id
segmentation_type
tenant_id
class quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.NetworkGateway(**kwargs)

Bases: sqlalchemy.ext.declarative.Base, quantum.db.models_v2.HasId, quantum.db.models_v2.HasTenant

Defines the data model for a network gateway

default
devices
id
name
network_connections
tenant_id
class quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.NetworkGatewayDevice(**kwargs)

Bases: sqlalchemy.ext.declarative.Base

id
interface_name
network_gateway_id
class quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.NetworkGatewayMixin

Bases: quantum.plugins.nicira.nicira_nvp_plugin.extensions.nvp_networkgw.NetworkGatewayPluginBase

connect_network(context, network_gateway_id, network_mapping_info)
create_network_gateway(context, network_gateway)
delete_network_gateway(context, id)
disconnect_network(context, network_gateway_id, network_mapping_info)
get_network_gateway(context, id, fields=None)
get_network_gateways(context, filters=None, fields=None)
prevent_network_gateway_port_deletion(context, port)

Pre-deletion check.

Ensures a port will not be deleted if is being used by a network gateway. In that case an exception will be raised.

resource = 'network_gateway'
update_network_gateway(context, id, network_gateway)
exception quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.NetworkGatewayPortInUse(**kwargs)

Bases: quantum.common.exceptions.InUse

message = "Port '%(port_id)s' is owned by '%(device_owner)s' and therefore cannot be deleted directly via the port API."
exception quantum.plugins.nicira.nicira_nvp_plugin.nicira_networkgw_db.NetworkGatewayUnchangeable(**kwargs)

Bases: quantum.common.exceptions.InUse

message = 'The network gateway %(gateway_id)s cannot be updated or deleted'