neutron/neutron
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
..
agent DVR: Pings to floatingip returns with fixed-ip on same network 2016-09-28 11:30:44 +03:00
api Merge "Fix internal server error during updating QoS rule" into stable/mitaka 2016-08-30 13:10:56 +00:00
callbacks Convert multiple exception types in the API 2016-09-21 09:31:25 +02:00
cmd Fix OVSBridge.set_protocols arg 2016-07-25 22:27:43 +00:00
common Convert multiple exception types in the API 2016-09-21 09:31:25 +02:00
core_extensions Objects DB api: added composite key to handle multiple primary key 2016-03-01 17:05:11 +00:00
db Check for StaleData errors in retry decorator 2016-09-21 09:48:15 +02:00
debug Using LOG.warning replace LOG.warn 2016-03-10 11:02:45 -08:00
extensions Check target_tenant when create rbac policy 2016-09-05 13:27:05 +00:00
hacking Using LOG.warning replace LOG.warn 2016-03-10 11:02:45 -08:00
ipam Always call ipam driver on subnet update 2016-05-26 14:03:03 +00:00
locale Imported Translations from Zanata 2016-09-08 08:06:39 +00:00
notifiers When deleting floating IP catch PortNotFound 2016-07-08 15:52:28 +00:00
objects Fix update of shared QoS policy 2016-07-25 23:00:22 +02:00
openstack Fix module's import order 2016-01-22 06:38:42 -08:00
pecan_wsgi Pecan: Allow unauthenticated version listing 2016-03-11 16:45:28 -08:00
plugins ml2: allow retry on retriabable db error by precommit 2016-09-21 09:48:15 +02:00
quota Using LOG.warning replace LOG.warn 2016-03-10 11:02:45 -08:00
scheduler Check compatibility when auto schedule ha routers 2016-07-21 16:23:13 +00:00
server Moved CORS middleware configuration into oslo-config-generator 2016-03-01 12:21:33 -08:00
services Merge "Add setting default max_burst value if not given by user" into stable/mitaka 2016-08-13 05:52:16 +00:00
tests DVR: Pings to floatingip returns with fixed-ip on same network 2016-09-28 11:30:44 +03:00
__init__.py Deprecate _ builtin translation function 2015-12-06 19:39:20 +09:00
_i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
auth.py Consume ConfigurableMiddleware from oslo_middleware 2015-10-08 17:59:43 +00:00
context.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
manager.py Pecan: replace dashes with underscores on controller lookup 2016-02-19 00:54:32 -08:00
neutron_plugin_base_v2.py Fix module's import order 2016-01-22 06:38:42 -08:00
opts.py [qos] section is missing from neutron.conf 2016-05-27 14:13:40 +00:00
policy.py Check target_tenant when create rbac policy 2016-09-05 13:27:05 +00:00
service.py Check if plugin supports starting rpc listeners 2016-03-01 15:43:44 -06:00
version.py
worker.py Some minor misspellings in comment block. 2015-11-24 00:01:21 -06:00
wsgi.py Add an option for WSGI pool size 2016-04-14 23:36:55 +00:00