neutron/neutron/agent/l3
Hong Hui Xiao fcb12b5c27 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>
(cherry picked from commit a388f78c8c)
2016-09-28 11:30:44 +03:00
..
__init__.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
agent.py DVR: Clean stale snat-ns by checking its existence when agent restarts 2016-08-05 21:09:54 +00:00
config.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
dvr.py Merge "Fixes typos Openstack -> OpenStack" 2016-02-05 04:23:26 +00:00
dvr_edge_ha_router.py Fix wrong HA router state 2016-09-09 11:39:29 +00:00
dvr_edge_router.py Merge "DVR: Clean stale snat-ns by checking its existence when agent restarts" into stable/mitaka 2016-08-13 05:55:00 +00:00
dvr_fip_ns.py DVR: Pings to floatingip returns with fixed-ip on same network 2016-09-28 11:30:44 +03:00
dvr_local_router.py DVR: Pings to floatingip returns with fixed-ip on same network 2016-09-28 11:30:44 +03:00
dvr_router_base.py DVR: Clean stale snat-ns by checking its existence when agent restarts 2016-08-05 21:09:54 +00:00
dvr_snat_ns.py L3 agent: check router namespace existence before delete 2016-08-09 17:03:45 +00:00
fip_rule_priority_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
ha.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
ha_router.py Make agent interface plugging utilize network MTU 2016-02-29 19:19:25 +00:00
item_allocator.py DVR: Increase the link-local address pair range 2016-04-07 14:45:35 +00:00
keepalived_state_change.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
legacy_router.py Fixes typos Openstack -> OpenStack 2016-01-18 16:04:56 +00:00
link_local_allocator.py Fix usage of netaddr '.broadcast' 2015-08-31 12:38:39 +00:00
namespace_manager.py DVR: Clean stale snat-ns by checking its existence when agent restarts 2016-08-05 21:09:54 +00:00
namespaces.py L3 agent: check router namespace existence before delete 2016-08-09 17:03:45 +00:00
router_info.py DVR: Cleanup the stale snat redirect rules in router namespace 2016-09-02 15:57:17 +00:00
router_processing_queue.py Fix module's import order 2016-01-22 06:38:42 -08:00