neutron/neutron/tests/unit/agent
Hong Hui Xiao a388f78c8c DVR: Pings to floatingip returns with fixed-ip on same network
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>
2016-05-24 08:59:25 -04:00
..
common Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
dhcp Merge "Add provisioning blocks to status ACTIVE transition" 2016-05-17 22:26:29 +00:00
l2 Add setting default max_burst value if not given by user 2016-05-12 10:06:54 +00:00
l3 DVR: Pings to floatingip returns with fixed-ip on same network 2016-05-24 08:59:25 -04:00
linux Merge "Add setting default max_burst value if not given by user" 2016-05-16 21:04:26 +00:00
metadata Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
ovsdb Allow OVSDB Connection to register certain tables 2016-04-22 08:43:28 +00:00
windows Ovs agent can't start on Windows because of validate_local_ip 2016-03-19 12:22:59 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_rpc.py Deprecate new= argument from create_connection 2015-11-06 13:27:37 +01:00
test_securitygroups_rpc.py Ensure unit tests don't assume an IP address allocation strategy 2016-05-17 09:50:25 -07:00