neutron/neutron/tests/functional/agent/l2
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
..
extensions Add support for ingress bandwidth limit rules in ovs agent 2017-06-14 11:11:43 +00:00
__init__.py OVS agent QoS extension functional test for bandwidth limit rules 2015-08-08 15:39:11 +02:00
base.py Avoid agents adding ports as trunk by default. 2018-05-11 19:09:38 +02:00