The midonet.neutron.extensions.gateway_device Module

The midonet.neutron.extensions.gateway_device Module

exception midonet.neutron.extensions.gateway_device.DeviceInUseByGatewayDevice(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u’device %(resource_id)s (%(resource_type)s) %(reason)s’
exception midonet.neutron.extensions.gateway_device.DuplicateRemoteMacEntry(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u’Request contains duplicate remote mac address entry: mac_address %(mac_address)s.’
exception midonet.neutron.extensions.gateway_device.GatewayDeviceInUse(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u’Gateway device %(id)s %(reason)s’
exception midonet.neutron.extensions.gateway_device.GatewayDeviceNotFound(**kwargs)

Bases: neutron_lib.exceptions.NotFound

message = u’Gateway device %(id)s does not exist’
exception midonet.neutron.extensions.gateway_device.GatewayDeviceParamDuplicate(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u’%(param_name)s %(param_value)s %(reason)s’
class midonet.neutron.extensions.gateway_device.Gateway_device

Bases: neutron_lib.api.extensions.ExtensionDescriptor

Gateway device extension.

classmethod get_alias()
classmethod get_description()
get_extended_resources(version)
classmethod get_name()
classmethod get_resources()

Returns Ext Resources.

classmethod get_updated()
class midonet.neutron.extensions.gateway_device.GwDevicePluginBase

Bases: object

create_gateway_device(context, gw_dev)
create_gateway_device_remote_mac_entry(context, gateway_device_id, remote_mac_entry)
delete_gateway_device(context, id)
delete_gateway_device_remote_mac_entry(context, id, gateway_device_id)
get_gateway_device(context, id, fields=None)
get_gateway_device_remote_mac_entries(context, gateway_device_id, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False)
get_gateway_device_remote_mac_entry(context, id, gateway_device_id, fields=None)
get_gateway_devices(context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False)
path_prefix = ‘/gw’
update_gateway_device(context, id, gw_dev)
exception midonet.neutron.extensions.gateway_device.HwVtepTypeInvalid(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u’Gateway device %(type)s must be specified with management_port and management_ip’
exception midonet.neutron.extensions.gateway_device.NetworkVlanTypeInvalid(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u’Gateway device %(type)s must be specified with resource_id’
exception midonet.neutron.extensions.gateway_device.OperationRemoteMacEntryNotSupported(**kwargs)

Bases: neutron_lib.exceptions.Conflict

message = u’Unable to operate remote_mac_entry for gateway device %(type)s type.’
exception midonet.neutron.extensions.gateway_device.RemoteMacEntryNotFound(**kwargs)

Bases: neutron_lib.exceptions.NotFound

message = u’Remote MAC entry %(id)s does not exist’
exception midonet.neutron.extensions.gateway_device.RemoteMacEntryWrongGatewayDevice(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u’Remote MAC entry %(id)s does not belong to gateway device %(gateway_device_id)s’
exception midonet.neutron.extensions.gateway_device.ResourceNotFound(**kwargs)

Bases: neutron_lib.exceptions.NotFound

message = u’specified resource %(resource_id)s does not exist’
exception midonet.neutron.extensions.gateway_device.RouterVtepTypeInvalid(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u’Gateway device %(type)s must be specified with resource_id’
exception midonet.neutron.extensions.gateway_device.TunnelIPsExhausted(**kwargs)

Bases: neutron_lib.exceptions.BadRequest

message = u’Unable to complete operation for Gateway Device. The number of tunnel ips exceeds the maximum 1.’
exception midonet.neutron.extensions.gateway_device.TunnelIPsRequired(**kwargs)

Bases: neutron_lib.exceptions.BadRequest

message = u’Unable to complete operation for Gateway Device. The tunnel ips are required for %(gw_type)s type.’
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.