neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent
LIU Yulong 7ce65c9478
Local mac direct flow for non-openflow firewall
When there is no openflow firewall, aka the ovs agent security group
is disabled or Noop/HybridIptable, this patch will introduce a different
ingress pipeline for bridge ports which will avoid ingress flood:
(1) table=0,  in_port=patch_bridge,dl_vlan=physical_vlan action=mod_vlan:local_vlan,goto:60 (original)
(2) table=60, in_port=patch_bridge                       action=goto:61                     (new)
(3) table=61, dl_dst=local_port_mac,dl_vlan=local_vlan,  action=strip_vlan,output:<ofport>  (changes)

And changes the local ports pipeline:
(1) table=0,  in_port=local_ofport                       action=goto:25                  (original)
(2) table=25, in_port=local_ofport,dl_src=local_port_mac action=goto:60                  (original)
(3) table=60, in_port=local_ofport,dl_src=local_port_mac action=local_vlan->reg6,goto:61 (changes)
(4) table=61, dl_dst=local_port_mac,reg6=local_vlan,     action=output:<ofport>          (changes)

Closes-Bug: #1884708
Closes-Bug: #1881070
Related-Bug: #1732067
Related-Bug: #1866445
Related-Bug: #1883321

Conflicts:
    neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
    neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/native/test_br_int.py

Change-Id: Iecf9cffaf02616342f1727ad7db85545d8adbec2
(cherry picked from commit 959d8b6d73)
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 Local mac direct flow for non-openflow firewall 2020-11-04 16:15:37 +01:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
fake_oflib.py OVS-agent: Introduce Ryu based OpenFlow implementation 2015-09-02 14:05:18 +09:00
ovs_test_base.py Update to support the ovdsbapp 0.4.0 API 2017-05-17 19:58:34 +00:00
test_ovs_agent_extension_api.py of_interface: Implement bundled() method 2018-04-18 18:33:55 +09:00
test_ovs_capabilities.py unit test: unbreak test cases for callbacks.subscribe 2018-04-11 07:20:42 +00:00
test_ovs_neutron_agent.py Ensure drop flows on br-int at agent startup for DVR too 2020-07-22 07:52:34 +00:00
test_ovs_tunnel.py Local mac direct flow for non-openflow firewall 2020-11-04 16:15:37 +01:00
test_vlanmanager.py Removed deprecated class LocalVLANMapping 2016-11-07 20:24:06 +00:00