neutron/neutron/tests/functional/agent
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
..
l2 Cleanup stale OVS flows for physical bridges 2016-04-28 14:22:57 -07:00
l3 Avoid DuplicateOptError in functional tests 2016-03-12 21:27:46 +00:00
linux Merge "L3 agent: match format used by iptables" into stable/liberty 2016-04-21 08:53:24 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_dhcp_agent.py Delete metadata_proxy for network if it is not needed 2016-04-01 16:45:58 +02:00
test_l2_lb_agent.py get_device_by_ip: don't fail if device was deleted 2015-12-01 18:00:45 +02:00
test_l2_ovs_agent.py Cleanup stale OVS flows for physical bridges 2016-04-28 14:22:57 -07:00
test_l3_agent.py Delete fipnamespace when external net removed on DVR 2016-04-21 12:27:28 -06:00
test_ovs_flows.py Add IPv6 Address Resolution protection 2015-09-15 12:24:10 +00:00
test_ovs_lib.py Handle empty bridge case in OVSBridge.get_ports_attributes 2015-10-16 12:07:36 +00:00