]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
fix bug where network owned resources block delete
authorMark McClain <mark.mcclain@dreamhost.com>
Mon, 27 Aug 2012 16:04:21 +0000 (12:04 -0400)
committerMark McClain <mark.mcclain@dreamhost.com>
Tue, 28 Aug 2012 22:29:20 +0000 (18:29 -0400)
commit88e2551c69739d76a1802838adaae0d244aa5333
tree173579b81d506106d21bfd41da18e304c1237858
parent11f2a64b477b3ad63bb85d89fb5f500403918cbb
fix bug where network owned resources block delete

bug 1028174

This patch fixes a bug in delete_network and delete_subnet where the InUse
exception was being thrown for resources owned by the network and not
the tenant.  This patch force deletes network resources if they are the
only blocker to deleting the parent resource.

Change-Id: I822cc4a92cb05cdef88679bb628fad4e5063cddd
quantum/agent/dhcp_agent.py
quantum/agent/linux/dhcp.py
quantum/db/db_base_plugin_v2.py
quantum/plugins/cisco/network_plugin.py
quantum/tests/unit/test_db_plugin.py
quantum/tests/unit/test_dhcp_agent.py
quantum/tests/unit/test_linux_dhcp.py