neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent
LIU Yulong 7c757ad337 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

Change-Id: Iecf9cffaf02616342f1727ad7db85545d8adbec2
(cherry picked from commit 959d8b6d73)
2020-10-23 07:50:13 +00:00
..
extension_drivers Add QoS minimum egress bandwidth rule into ovs-agent 2019-02-26 11:05:04 +00:00
openflow Local mac direct flow for non-openflow firewall 2020-10-23 07:50:13 +00:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
fake_oflib.py Replace ryu with os_ken 2018-12-13 10:00:17 +00:00
ovs_test_base.py Replace ryu with os_ken 2018-12-13 10:00:17 +00:00
test_ovs_agent_extension_api.py Add QoS minimum egress bandwidth rule into ovs-agent 2019-02-26 11:05:04 +00: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:36:31 +00:00
test_ovs_tunnel.py Local mac direct flow for non-openflow firewall 2020-10-23 07:50:13 +00:00
test_vlanmanager.py Removed deprecated class LocalVLANMapping 2016-11-07 20:24:06 +00:00