The midonet.neutron.db.gateway_device Module

The midonet.neutron.db.gateway_device Module

class midonet.neutron.db.gateway_device.GatewayDevice(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, neutron_lib.db.model_base.HasProjectNoIndex

Represents a gateway device.

id
name
project_id
tenant_id
type
class midonet.neutron.db.gateway_device.GatewayHwVtepDevice(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base

Represents a gateway hardware vtep device.

device_id
gateway_device
management_ip
management_port
management_protocol
class midonet.neutron.db.gateway_device.GatewayOverlayRouterDevice(**kwargs)

Bases: midonet.neutron.db.gateway_device.GatewayVirtualDevice, sqlalchemy.ext.declarative.api.Base

Represents a gateway overlay router device.

device_id
gateway_device
resource_id
resource_type = ‘router_vtep’
class midonet.neutron.db.gateway_device.GatewayRemoteMacTable(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base

Represents a mac table for vtep.

device_id
gateway_device
id
mac_address
segmentation_id
vtep_address
class midonet.neutron.db.gateway_device.GatewayTunnelIp(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base

Represents a IP address for VTEP.

device_id
gateway_device
tunnel_ip
class midonet.neutron.db.gateway_device.GatewayVirtualDevice

Bases: object

Represents a virtual gateway device.

device_id = Column(None, String(length=36), table=None, primary_key=True, nullable=False)
class midonet.neutron.db.gateway_device.GatewayVlanNetworkDevice(**kwargs)

Bases: midonet.neutron.db.gateway_device.GatewayVirtualDevice, sqlalchemy.ext.declarative.api.Base

Represents a gateway vlan network device.

device_id
gateway_device
resource_id
resource_type = ‘network_vlan’
class midonet.neutron.db.gateway_device.GwDeviceDbMixin

Bases: midonet.neutron.extensions.gateway_device.GwDevicePluginBase, neutron.db.common_db_mixin.CommonDbMixin

Mixin class to add gateway device.

create_gateway_device(context, gw_device)

Create a gateway device

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)
update_gateway_device(context, id, gw_device)
midonet.neutron.db.gateway_device.get_type_model_map()
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.