neutron/neutron/plugins/ml2/drivers/openvswitch/agent
Hemanth Nakkina 305b71d4bc 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 10:54:38 +01:00
..
common Local mac direct flow for non-openflow firewall 2020-11-04 16:15:37 +01:00
extension_drivers Clear residual qos rules after l2-agent restarts. 2019-01-22 12:59:24 +00:00
openflow Add accepted egress direct flow 2020-03-26 08:23:32 +00:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
main.py Remove unused variables ‘LOG' 2017-11-23 04:33:33 +08:00
ovs_agent_extension_api.py Refactor OVSCookieBridge: always use bridge cookie 2017-03-24 11:22:35 +01:00
ovs_capabilities.py Add agent-side driver scaffolding for trunk functionality 2016-08-18 12:10:22 +00:00
ovs_dvr_neutron_agent.py Fix removal of dvr-src mac flows when non-gateway port on router is deleted 2021-03-05 10:54:38 +01:00
ovs_neutron_agent.py Merge "[OvS] Handle re_added multi ports" into stable/rocky 2020-11-13 13:02:36 +00:00
vlanmanager.py Removed deprecated class LocalVLANMapping 2016-11-07 20:24:06 +00:00