neutron/neutron/tests/common
Miguel Angel Ajo 559bf87fd0 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-06-21 17:06:48 +00:00
..
agents [Fullstack] Change how DSCP marking packets are tested 2018-02-02 18:18:29 +01:00
exclusive_resources ovsdb: don't erase existing ovsdb managers 2016-11-23 07:21:08 +00:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +00:00
config_fixtures.py Use ConfigParser instead of SafeConfigParser 2016-09-11 18:22:16 +08:00
conn_testers.py Move conntrack zones to IPTablesFirewall 2017-04-10 17:24:16 +00:00
helpers.py functional: Stop compiling OVS from source 2017-03-10 20:10:48 +00:00
l3_test_common.py DVR: Look at all SNAT ports for a subnet match 2017-02-13 21:39:59 +00:00
machine_fixtures.py Merge "fullstack: test for IPv6 north-south traffic" 2016-11-09 12:02:45 +00:00
net_helpers.py Avoid agents adding ports as trunk by default. 2018-06-21 17:06:48 +00:00