neutron/neutron/tests/functional/agent
Miguel Angel Ajo adb0ac4e54 Avoid agents adding ports as trunk by default.
Agent OVS interface code adds ports without a vlan tag,
if neutron-openvswitch-agent fails to set the tag, or takes
too long, the port will be a trunk port, receiving
traffic from the external network or any other port
sending traffic on br-int.

Also, those kinds of ports are triggering a code path
on the ovs-vswitchd revalidator thread which can eventually
hog the CPU of the host (that's a bug under investigation [1])

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1558336

Conflicts:
    neutron/tests/functional/agent/test_ovs_lib.py

    needed the addition of the following import:
from neutron.plugins.ml2.drivers.openvswitch.agent.common import (
    constants as agent_const)

Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com>
Change-Id: I024bbbdf7059835b2f23c264b48478c71633a43c
Closes-Bug: 1767422
(cherry picked from commit 88f5e11d8b)
(cherry picked from commit 2b1d413ee9)
2018-05-11 19:09:38 +02:00
..
l2 Avoid agents adding ports as trunk by default. 2018-05-11 19:09:38 +02:00
l3 Avoid agents adding ports as trunk by default. 2018-05-11 19:09:38 +02:00
linux Fix callers of get_devices_with_ip() to pass addresses 2018-01-08 09:46:29 +00:00
windows Fix pep8 errors 2018-04-17 10:39:04 -04:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_dhcp_agent.py DHCP Agent: Separate local from non-local subnets 2017-06-19 16:11:48 +00:00
test_firewall.py ovsfw: fix allowed_address_pairs MAC issue 2017-08-01 01:47:46 +00:00
test_l2_lb_agent.py LB Trunk: Stop matching MAC of subport to port model 2017-03-01 14:10:00 +00:00
test_l2_ovs_agent.py Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
test_ovs_flows.py of_interface: allow install_instructions to accept string actions 2017-06-30 15:55:33 +09:00
test_ovs_lib.py Avoid agents adding ports as trunk by default. 2018-05-11 19:09:38 +02:00