neutron/neutron/agent
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
..
common Avoid agents adding ports as trunk by default. 2018-06-21 17:06:48 +00:00
dhcp Merge "Kill the metadata proxy process unconditionally" 2017-02-03 04:46:04 +00:00
l2 Clear QoS rules from ports without a qos policy. 2017-05-16 16:09:23 -04:00
l3 Avoid agents adding ports as trunk by default. 2018-06-21 17:06:48 +00:00
linux Avoid agents adding ports as trunk by default. 2018-06-21 17:06:48 +00:00
metadata Don't add duplicate metadata rules after router update 2017-06-15 16:00:34 -04:00
ovsdb More efficiently clean up OVS ports 2018-01-29 08:15:55 -06:00
windows Add IPLink class to Windows ip_lib implementation 2017-01-17 17:39:38 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
agent_extension.py Generalize agent extension mechanism 2016-07-19 13:45:22 +00:00
agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
dhcp_agent.py Refactoring agent metadata config 2016-11-21 19:44:49 +00:00
firewall.py Use ICMPV6_TYPE_* constants from neutron-lib 2016-05-28 07:53:35 -07:00
l3_agent.py Init privsep on l3 agent start 2017-01-30 16:00:56 +04:00
metadata_agent.py Refactoring agent metadata config 2016-11-21 19:44:49 +00:00
rpc.py Remove fallback functions in agent/rpc 2016-12-06 15:51:16 +01:00
securitygroups_rpc.py Delete conntrack when remote ipset member removed 2016-11-29 16:19:03 +00:00