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.
Closes-Bug: #1599287
(cherry picked from commit 34e51cad42960bdb08a92d1a60a33594bdf057ba)
Reviewed: https:/ /review. openstack. org/363218 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=bce58c6410d d1f464746e81c71 e045f4548bd437
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit bce58c6410dd1f4 64746e81c71e045 f4548bd437
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.
Closes-Bug: #1599287 b08a92d1a60a335 94bdf057ba)
(cherry picked from commit 34e51cad42960bd
Conflicts: tests/functiona l/agent/ l3/test_ dvr_router. py
neutron/
Change-Id: Ic505a46e56d9e9 50bd36a1596d3f1 adfb5ef5577