fcb12b5c27
Pinging a floatingip of VM1 from a second VM(VM2) which has SNAT
enabled connected to a DVR router on the same network returns
with fixed-ip address rather than the floatingip address.
The NAT forwarding rules for floatingip in the router namespace
does not check for the in coming port and tries to add the rule
for all in coming ports.
This causes the packets that are originating from the router
namespace to be modified and forwarded directly to the VM2 fixed
ip instead of forwarding the traffic to the SNAT namespace.
The fix in here will make sure that for all routers, the floatingip
forwarding rules will be applied only to the 'rfp-' internal ports
and not to all ports.
Change-Id: I9453beffd94bf685afd74b0820506fb6b7c996c4
Closes-Bug: #1462154
Co-Authored-By: Hong Hui Xiao <xiaohhui@cn.ibm.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
api | ||
common | ||
contrib | ||
etc | ||
fullstack | ||
functional | ||
retargetable | ||
tempest | ||
unit | ||
var | ||
__init__.py | ||
base.py | ||
fake_notifier.py | ||
post_mortem_debug.py | ||
tools.py |