Bases: sqlalchemy.ext.declarative.Base
Bases: sqlalchemy.ext.declarative.Base, quantum.db.models_v2.HasId, quantum.db.models_v2.HasTenant
Represents a floating IP, which may or many not be allocated to a tenant, and may or may not be associated with an internal port/ip address/router.
Bases: quantum.extensions.l3.RouterPluginBase
Mixin class to add L3/NAT router methods to db_plugin_base_v2
When a floating IP is associated with an internal port, we need to extract/determine some data associated with the internal port, including the internal_ip_address, and router_id. We also need to confirm that this internal port is owned by the tenant who owns the floating IP.
Query routers and their related floating_ips, interfaces.
Query router interfaces that relate to list of router_ids.
Checks to make sure a port is allowed to be deleted, raising an exception if this is not the case. This should be called by any plugin when the API requests the deletion of a port, since some ports for L3 are not intended to be deleted directly via a DELETE to /ports, but rather via other API calls that perform the proper deletion checks.
Bases: sqlalchemy.ext.declarative.Base, quantum.db.models_v2.HasId, quantum.db.models_v2.HasTenant
Represents a v2 quantum router.