Dane LeBlanc f50df8eb3c Delete subnet fails if assoc port has IPs from another subnet
This change fixes the following failure scenario:
- Create a network
- Create two subnets on the network
- Create a port on the network using one of the subnets
- Delete the other subnet
= = = > FAILURE: Subnet delete fails because supposedly there
is/are port(s) still associated with that subnet.

The problem addressed is that delete_subnet() in
neutron/db/db_base_plugin.py is checking for port(s) still being
associated with the subnet's network, not the subnet itself.

Change-Id: I7adbe18cce412135b2e42dcb7c592e60c1ec5f8f
Closes-Bug: #1281694
2014-03-03 12:41:43 -05:00
..
2014-01-15 04:26:57 -08:00
2013-08-16 10:10:30 +08:00
2014-01-16 16:25:15 +00:00
2014-02-10 19:26:09 +00:00
2013-07-06 15:02:43 -04:00
2014-02-10 04:58:38 +09:00
2013-08-15 22:58:14 +03:00
2014-01-15 15:43:59 +08:00
2013-07-06 15:02:43 -04:00