The vmware_nsx.db.networkgw_db Module¶
-
exception
vmware_nsx.db.networkgw_db.GatewayConnectionInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= u”The specified mapping ‘%(mapping)s’ is already in use on network gateway ‘%(gateway_id)s’.”¶
-
-
exception
vmware_nsx.db.networkgw_db.GatewayConnectionNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= u”The connection %(network_mapping_info)s was not found on the network gateway ‘%(network_gateway_id)s’”¶
-
-
exception
vmware_nsx.db.networkgw_db.GatewayDeviceInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= u”Network Gateway Device ‘%(device_id)s’ is still used by one or more network gateways.”¶
-
-
exception
vmware_nsx.db.networkgw_db.GatewayDeviceNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= u’Network Gateway Device %(device_id)s could not be found.’¶
-
-
exception
vmware_nsx.db.networkgw_db.GatewayDevicesNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= u’One or more Network Gateway Devices could not be found: %(device_ids)s.’¶
-
-
exception
vmware_nsx.db.networkgw_db.GatewayInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= u”Network Gateway ‘%(gateway_id)s’ still has active mappings with one or more neutron networks.”¶
-
-
exception
vmware_nsx.db.networkgw_db.GatewayNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= u’Network Gateway %(gateway_id)s could not be found’¶
-
-
exception
vmware_nsx.db.networkgw_db.MultipleGatewayConnections(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict-
message= u”Multiple network connections found on ‘%(gateway_id)s’ with provided criteria.”¶
-
-
class
vmware_nsx.db.networkgw_db.NetworkGatewayMixin¶ Bases:
vmware_nsx.extensions.networkgw.NetworkGatewayPluginBase-
connect_network(context, network_gateway_id, network_mapping_info)¶
-
create_gateway_device(context, gateway_device, initial_status=’UNKNOWN’)¶
-
create_network_gateway(context, network_gateway, validate_device_list=True)¶
-
delete_gateway_device(context, device_id)¶
-
delete_network_gateway(context, id)¶
-
device_resource= ‘gateway_device’¶
-
disconnect_network(context, network_gateway_id, network_mapping_info)¶
-
gateway_resource= ‘network_gateway’¶
-
get_gateway_device(context, device_id, fields=None, include_nsx_id=False)¶
-
get_gateway_devices(context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False, include_nsx_id=False)¶
-
get_network_gateway(context, id, fields=None)¶
-
get_network_gateways(context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False)¶
-
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.
-
update_gateway_device(context, gateway_device_id, gateway_device, include_nsx_id=False)¶
-
update_network_gateway(context, id, network_gateway)¶
-