neutron/neutron/plugins/ml2/drivers
Hemanth Nakkina 79db108e08 Fix removal of dvr-src mac flows when non-gateway port on router is deleted
Removal of non-gateway port on DVR router deletes all the DVR to
SRC mac flows for the instances of same subnet on that compute node.
The instances are not reachable from any other network.

This patch checks if the DVR router port is gateway for the subnet
or not. And deletes the DVR-SRC mac flows only if it is gateway port.
The DVR-SRC mac flows are deleted if the gateway is not set for the subnet.

Conflicts:
    neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py
    neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py

arp_responder_enabled check added for the ARP flow rule.
The unit test case have arp_responder false by default, so adjusted
the br_int mock calls accordingly.

Change-Id: Iadc1671c862f8c01e5761e92b82a04849d4bb411
Closes-Bug: #1892405
(cherry picked from commit 329ea19f8b)
(cherry picked from commit bf8fc2db0c)
2021-03-05 09:56:21 +00:00
..
agent Use same instance of iptables_manager in L2 agent and extensions 2018-01-05 11:07:32 +01:00
l2pop Don't add arp responder for non tunnel network port 2020-07-18 05:45:49 +00:00
linuxbridge Config privsep in the linuxbridge agent 2018-03-12 14:29:48 -04:00
macvtap Use same instance of iptables_manager in L2 agent and extensions 2018-01-05 11:07:32 +01:00
mech_sriov SRIOV agent: wait VFs initialization on embedded switch create 2019-06-10 07:13:01 +00:00
openvswitch Fix removal of dvr-src mac flows when non-gateway port on router is deleted 2021-03-05 09:56:21 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py use ml2 driver api from neutron-lib 2017-11-10 08:41:28 -07:00
mech_agent.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_flat.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_geneve.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_gre.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_local.py use ml2 driver api from neutron-lib 2017-11-10 08:41:28 -07:00
type_tunnel.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_vlan.py Improve VLAN allocations synchronization 2020-04-23 16:15:17 +00:00
type_vxlan.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00