]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Delete HA network when last HA router is deleted
authorsridhargaddam <sridhar.gaddam@enovance.com>
Thu, 30 Jul 2015 10:54:39 +0000 (10:54 +0000)
committerAssaf Muller <amuller@redhat.com>
Wed, 25 Nov 2015 21:18:05 +0000 (16:18 -0500)
commit853f7d7a74a2281b0cd34c337362e73635e501a2
treeaea1f0f7155e233beb19b731fdfcf7d93fd025da
parent6c0841e8e26cf853b5b1ef5e2282bdbf87171108
Delete HA network when last HA router is deleted

Currently when the last HA router of a tenant is deleted the HA network
belonging to this tenant is not removed. While running tempest aganist an
OpenStack setup where tenant VLANs (with small VLAN range) is used we hit
the limits are tempest tests start to fail as we cannot create new networks.
This patch addresses this issue by deleting the HA network when the last HA
router is deleted for the tenant.

Closes-Bug: #1367157

Co-Authored-By: Ann Kamyshnikova<akamyshnikova@mirantis.com>
Change-Id: I1d50b973aed4148857ac3d2bbee0d38e2e199783
neutron/db/l3_hamode_db.py
neutron/tests/unit/db/test_l3_hamode_db.py