neutron/neutron/tests/unit/agent/l3
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
..
__init__.py Move extra routes processing to router classes 2015-02-05 10:25:45 -05:00
test_agent.py Merge "Avoid L3 agent termination without server" 2016-05-11 23:07:14 +00:00
test_dvr_fip_ns.py DVR: Pings to floatingip returns with fixed-ip on same network 2016-05-24 08:59:25 -04:00
test_dvr_local_router.py DVR: Pings to floatingip returns with fixed-ip on same network 2016-05-24 08:59:25 -04:00
test_fip_rule_priority_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
test_ha_router.py Fixes typos Openstack -> OpenStack 2016-01-18 16:04:56 +00:00
test_item_allocator.py item allocator should return same value for same key 2016-01-28 08:40:45 +00:00
test_legacy_router.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_link_local_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
test_namespace_manager.py Remove deprecated use_namespaces option 2015-11-18 19:17:29 +01:00
test_router_info.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_router_processing_queue.py Document self.assertEqual(expected, observed) pattern 2015-10-06 01:03:53 +02:00