commit 3507c097e8b27333a5d583b915149e5b20e70fb6
Author: Hong Hui Xiao <email address hidden>
Date: Tue Mar 1 05:42:42 2016 +0000
Add fip nat rules even if router disables shared snat
For legacy router, there are some iptables rules added for external gateway
port. Some of these rules are for shared snat, some are for floating ip.
When user disables shared snat of router gateway, some of the iptables rules
that floating ip needs will not be added to router. This will cause the
reported bug, ping floating ip but reply with fixed ip.
The fix will add the iptables rules that floating ip needs, no matter if
router enables shared snat. A functional test is also added for the issue.
Reviewed: https:/ /review. openstack. org/298884 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=3507c097e8b 27333a5d583b915 149e5b20e70fb6
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 3507c097e8b2733 3a5d583b915149e 5b20e70fb6
Author: Hong Hui Xiao <email address hidden>
Date: Tue Mar 1 05:42:42 2016 +0000
Add fip nat rules even if router disables shared snat
For legacy router, there are some iptables rules added for external gateway
port. Some of these rules are for shared snat, some are for floating ip.
When user disables shared snat of router gateway, some of the iptables rules
that floating ip needs will not be added to router. This will cause the
reported bug, ping floating ip but reply with fixed ip.
The fix will add the iptables rules that floating ip needs, no matter if
router enables shared snat. A functional test is also added for the issue.
Conflicts: agent/l3/ router_ info.py tests/unit/ agent/l3/ test_agent. py
neutron/
neutron/
Change-Id: I3cf4dff90f47a7 20a2e6a92c9ede2 bc067ebd6e7 32eaac8448c951d 2ceb7ae23d)
Closes-Bug: #1551530
(cherry picked from commit cea149212e63879