Do not remove router from dvr_snat agents on dvr port deletion
When dvr serviceable port is deleted/migrated, dvr callback checks
if there are any more dvr serviceable ports on the host and if
there are no - removes the router from the agent on that host.
To prevent snat namespace removal we need to check SNAT bindings
and not remove router from l3 agent hosting SNAT.
Reviewed: https:/ /review. openstack. org/255989 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=521e1c9face 737a8d432be16ad 63829aaf21384e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 521e1c9face737a 8d432be16ad6382 9aaf21384e
Author: Oleg Bondarev <email address hidden>
Date: Thu Dec 10 19:49:25 2015 +0300
Do not remove router from dvr_snat agents on dvr port deletion
When dvr serviceable port is deleted/migrated, dvr callback checks
if there are any more dvr serviceable ports on the host and if
there are no - removes the router from the agent on that host.
To prevent snat namespace removal we need to check SNAT bindings
and not remove router from l3 agent hosting SNAT.
Closes-Bug: #1524908 2e4c550df2eadec 93c63e32120
Change-Id: I8c76bccdf49570