neutron/neutron/tests/unit/plugins/ml2
LIU Yulong 959d8b6d73 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
2020-09-30 00:49:36 +00:00
..
drivers Local mac direct flow for non-openflow firewall 2020-09-30 00:49:36 +00:00
extensions Sync the dns-assignment with the actual designate dns-domain 2020-06-04 20:45:55 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py Improve terminology in the Neutron tree 2020-08-19 16:47:53 -04:00
base.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_agent_scheduler.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_db.py Auto-delete dhcp ports on segment delete 2020-07-08 15:15:08 +02:00
test_driver_context.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ext_portsecurity.py PSExtDriverTestCase: initialize variable in case of exception 2019-10-30 17:44:45 -04:00
test_extension_driver_api.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_managers.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ovo_rpc.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_plugin.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_port_binding.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_rpc.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_security_group.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_tracked_resources.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00