neutron/neutron/tests
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
..
api Merge "Remove test_external_network_visibility" into stable/liberty 2016-04-01 01:03:21 +00:00
common Add the rebinding chance in _bind_port_if_needed 2016-02-17 15:52:48 +00:00
contrib Adds base in-tree functional testing of the dhcp agent (OVS) 2016-04-01 16:45:58 +02:00
etc Postpone heavy policy check for ports to later 2016-02-09 13:47:53 +01:00
fullstack Skip fullstack L3 HA test 2016-03-24 10:49:09 +00:00
functional Cleanup stale OVS flows for physical bridges 2016-04-28 14:22:57 -07:00
retargetable Remove lingering traces of q_ 2015-07-07 17:04:44 -04:00
tempest Use tempest-lib's token_client 2015-09-16 10:08:50 +00:00
unit Cleanup stale OVS flows for physical bridges 2016-04-28 14:22:57 -07:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
base.py Switched from fixtures to mock to mock out starting RPC consumers 2016-04-08 10:50:05 +02:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py test_db_base_plugin_v2: Skip a few tests on some platforms 2015-11-02 17:29:16 +01:00