neutron/neutron/tests/unit/plugins/ml2/drivers
Hynek Mlnarik 8d29f38356 Cleanup stale OVS flows for physical bridges
Perform deletion of the stale flows in physical bridges consistently with
br-int and br-tun, respecting drop_flows_on_start configuration option.
Added tests for auxiliary bridge and functional tests for the physical
bridge using VLAN/flat external network. Fixes part of the bug 1514056;
together with [1] and [2], the bug should be considered fixed.

The commit also fixes inconsistency between netmask of allocated IP
addresses assigned in _create_test_port_dict and ip_len in _plug_ports
of base.py.

Further, this commit sets agent UUID to physical bridges similarly to
tun and int bridges. This is necessary for stale flows cleanup to work
correctly. In upstream, it is treated using OVSBridgeCookieMixin.

[1] https://review.openstack.org/#/c/297211/
[2] https://review.openstack.org/#/c/297818/

Conflicts:
	neutron/tests/functional/agent/l2/base.py
	neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_tunnel.py

Co-Authored-By: Jian Wen <wenjianhn@gmail.com>
Co-Authored-By: Clayton O'Neill <clayton@oneill.net>
Partial-Bug: 1514056
Change-Id: I9801b76829021c9a0e6358982e1136637634a521
(cherry picked from commit cacde308ee)
2016-04-28 14:22:57 -07:00
..
freescale Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
l2pop ML2: update port's status to DOWN if its binding info has changed 2016-04-12 16:17:23 +00:00
linuxbridge Merge "add arp_responder flag to linuxbridge agent" into stable/liberty 2016-04-01 15:50:35 +00:00
mech_sriov SR-IOV: Fix macvtap assigned vf check when kernel < 3.13 2016-01-20 15:59:16 +00:00
mlnx Move in-tree vendor AGENT_TYPE_* constants 2015-08-24 20:16:05 +00:00
opendaylight Support delegation of bind_port to networking-odl backend driver. 2015-08-10 14:07:59 +00:00
openvswitch Cleanup stale OVS flows for physical bridges 2016-04-28 14:22:57 -07:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
base_type_tunnel.py Fix hostname roaming for ml2 tunnel endpoints. 2015-09-21 12:50:00 +02:00
ext_test.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
mech_fake_agent.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
mechanism_logger.py Add unit tests for ML2 DVR port binding and fix PortContext inconsistencies 2015-05-11 17:03:31 -04:00
mechanism_test.py Add the rebinding chance in _bind_port_if_needed 2016-02-17 15:52:48 +00:00
test_helpers.py Use oslo.log library instead of system logging module 2015-08-10 15:52:26 +03:00
test_type_flat.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_type_geneve.py Add Geneve type driver support to ML2 2015-08-27 20:04:35 +03:00
test_type_gre.py Abstract sync_allocations 2015-06-25 09:12:54 +00:00
test_type_local.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_type_vlan.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_type_vxlan.py Remove extra indent in testcases 2015-06-02 17:35:44 -07:00