vmware-nsx/quantum/db
Salvatore Orlando f9dbd2293d L3 port delete prevention: do not raise if no IP on port
Bug #1104337

This patch alters the prevent_l3_port_deletion logic.
PortInUse is raised only if the port has a device owner in
(router_interface, router_gateway, floatingip) and an IP
address.
If no IP address is found on the port the port itself can
be considered stale and therefore deleted as any association
with l3 entities would be void.

Change-Id: I9d711b2a9d2cbcc8be481f1751f51fe5b9f01327
2013-03-04 23:02:07 +01:00
..
loadbalancer LBaaS Agent Reference Implementation 2013-02-27 21:49:57 -05:00
migration NEC plugin support for dhcp network and router scheduling 2013-03-02 19:39:28 +09:00
__init__.py Second round of packaging changes 2011-11-28 10:33:52 -08:00
agents_db.py Merge "Remove compat cfg wrapper" 2013-02-28 18:45:05 +00:00
agentschedulers_db.py enable linuxbridge for agent scheduler 2013-03-02 18:20:26 +08:00
api.py Use oslo-config-2013.1b3 2013-02-17 17:33:05 +00:00
db_base_plugin_v2.py Merge "Use db model hook to filter external network" 2013-03-01 06:55:32 +00:00
dhcp_rpc_base.py Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00
extraroute_db.py Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00
l3_db.py L3 port delete prevention: do not raise if no IP on port 2013-03-04 23:02:07 +01:00
l3_rpc_base.py Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00
model_base.py Implementing string representation for model classes 2012-12-26 14:14:33 +02:00
models_v2.py Routing table configuration support on L3 2013-02-19 15:05:34 -08:00
portsecurity_db.py Fixes import order errors 2013-01-28 20:10:45 +08:00
quota_db.py Adds xml support for quantum v2 API. 2013-02-06 00:50:24 +00:00
routedserviceinsertion_db.py Add routed-service-insertion 2013-02-18 07:52:49 -08:00
routerservicetype_db.py Fixes import reorder nits 2013-02-26 10:37:59 +08:00
securitygroups_db.py Remove external_id and security group proxy code 2013-02-22 12:17:18 -08:00
securitygroups_rpc_base.py Implements quantum security groups support on OVS plugin 2013-02-10 07:42:28 +09:00
servicetype_db.py Use oslo-config-2013.1b3 2013-02-17 17:33:05 +00:00
sqlalchemyutils.py Supporting pagination in api v2.0 2013-02-19 23:04:13 +08:00