]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Stop removing ip allocations on port delete
authorMaru Newby <marun@redhat.com>
Fri, 14 Mar 2014 22:14:09 +0000 (22:14 +0000)
committerMaru Newby <marun@redhat.com>
Tue, 18 Mar 2014 07:52:06 +0000 (00:52 -0700)
commit2648aa3561d23e1215e0cc6f446253e5df56c8f6
tree9ab3de14be8f66cba95a5215967ca19db25d4f00
parent1e0ad1cfb043625dd61bbece261a143ec2990a80
Stop removing ip allocations on port delete

The _delete_port() method was manually removing related
IPAllocation instances despite the existence of a perfectly
good cascade deletion relationship in the model.  This patch
puts an end to that nonsense and the potential for deadlock that
it represented.

Closes-bug: #1288379
Related-Bug: #1283522

Change-Id: Ib31550fa9000fc75768a327cb6cc1c419e06568f
neutron/db/db_base_plugin_v2.py
neutron/db/l3_db.py