DVR: Cleanup the stale snat redirect rules in router namespace
After the stale snat namespace is deleted the snat redirect rules
in router namespace should be cleaned.
Here we are basically reading the ip rule from the router namespace
and just cleaning up all the snat redirect rules leaving the default
ones untouched.
Reviewed: https:/ /review. openstack. org/362495 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e5fb8e9a7a4 446b145b8f36661 774a616c858063
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit e5fb8e9a7a4446b 145b8f36661774a 616c858063
Author: Swaminathan Vasudevan <email address hidden>
Date: Tue Jul 5 13:22:04 2016 -0700
DVR: Cleanup the stale snat redirect rules in router namespace
After the stale snat namespace is deleted the snat redirect rules
in router namespace should be cleaned.
Here we are basically reading the ip rule from the router namespace
and just cleaning up all the snat redirect rules leaving the default
ones untouched.
Conflicts:
neutron/ agent/l3/ dvr_local_ router. py
neutron/ agent/l3/ router_ info.py
Change-Id: Ic505a46e56d9e9 50bd36a1596d3f1 adfb5ef5577 b08a92d1a60a335 94bdf057ba)
Closes-Bug: #1599287
(cherry picked from commit 34e51cad42960bd