neutron/neutron/tests/functional
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
..
agent Avoid agents adding ports as trunk by default. 2018-05-11 19:09:38 +02:00
api Spin off context module 2017-03-06 16:25:29 +00:00
cmd More efficiently clean up OVS ports 2018-01-25 15:29:49 +00:00
common Untangle WaitTimeout class from eventlet.TimeoutError 2017-03-15 04:27:00 +00:00
db tests: apply latest release milestone alembic scripts first 2017-08-07 10:09:13 -07:00
pecan_wsgi Merge "Pecan: Add missing emulated bulk create method" into stable/pike 2017-09-14 04:00:09 +00:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
sanity sanity check: Check that ip_nonlocal_bind works with namespaces 2016-11-18 08:36:51 -05:00
scheduler use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
services DVR: Fix allowed_address_pair IP, ARP table update by neutron agent 2018-03-26 17:24:20 -07:00
tests Use get_random_string from neutron-lib 2016-12-18 21:18:05 +02:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Use rootwrap for fullstack test runner 2017-06-08 18:42:47 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py Remove compat checks for psutil 1.x 2017-07-30 09:22:48 +02:00
test_service.py Use SIGUSR1 to notify l3 agent of changing prefix file 2015-11-13 17:53:47 +03:00