neutron/neutron/tests/functional
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
..
agent Cleanup stale OVS flows for physical bridges 2016-04-28 14:22:57 -07:00
api Refactor RESOURCE_ATTRIBUTE_MAP cleanup 2015-04-22 12:02:34 -02:30
cmd Remove unnecessary executable permission 2015-08-01 05:16:32 +00:00
db test_migrations: Avoid returning a filter object for python3 2015-12-18 16:21:17 +00:00
pecan_wsgi Use pecan controllers for routing 2015-09-18 06:00:14 -07:00
plugins Add the rebinding chance in _bind_port_if_needed 2016-02-17 15:52:48 +00:00
sanity Check missed ip6tables utility 2016-01-20 16:13:20 +00:00
scheduler Merge "Fix dhcp autoschedule test assertion logic" 2015-08-06 01:22:52 +00:00
services Do not remove router from dvr_snat agents on dvr port deletion 2016-03-04 05:18:06 -08:00
__init__.py Prepare for full stack CI job 2015-06-22 11:47:54 -04:00
base.py Retain logs for functional test cases 2015-09-03 10:50:38 -04:00
requirements.txt Merge "Handle SIGHUP: neutron-server (multiprocess) and metadata agent" 2015-06-10 20:25:16 +00:00
test_server.py Mock oslo policy HTTPCheck instead of urllib 2015-10-13 17:26:23 +02:00
test_service.py Revert "Revert "Set default of api_workers to number of CPUs"" 2015-06-12 16:43:27 +00:00