neutron/neutron/tests
Arjun Baindur c6de172e58 get_subnet_for_dvr returns SNAT mac instead of distributed gateway in subnet_info
On hosts with dvr_snat agent mode, after restarting OVS agent,
sometimes the SNAT port is processed first instead of the distributed port.
The subnet_info is cached locally via get_subnet_for_dvr when either of these ports
are processed. However, it returns the MAC address of the port used to query
as the gateway for the subnet. Using the SNAT port, this puts the wrong
MAC as the gateway, causing some flows such as the DVR flows on br-int
for local src VMs to have the wrong MAC.

This patch fixes the get_subnet_for_dvr with fixed_ips as None for the csnat port,
as that causes the server side handler to fill in the subnet's actual gateway
rather than using the port's MAC.

Change-Id: If045851819fd53c3b9a1506cc52bc1757e6d6851
Closes-Bug: #1783470
2018-08-09 15:41:56 -07:00
..
common Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
contrib Implement filter validation 2018-07-19 04:13:43 +00:00
etc Add ext_parent policy check 2018-08-01 02:45:42 +08:00
fullstack [Fullstack] Use string for global_physnet_mtu config option 2018-07-23 11:15:29 +02:00
functional [server side] Fix race issue for port forwarding plugin 2018-08-01 02:45:14 +08:00
tempest Removing remaining Tempest bits 2018-03-26 11:41:35 -05:00
unit get_subnet_for_dvr returns SNAT mac instead of distributed gateway in subnet_info 2018-08-09 15:41:56 -07:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
fake_notifier.py FakeNotifier class 'topic' argument change to 'topics'. 2017-12-04 20:10:03 +01:00
post_mortem_debug.py
tools.py pecan.jsonify v1.3 adjustment 2018-04-18 15:37:20 +00:00