neutron/neutron/agent/linux
Daniel Alvarez 8e60531d11 Exclude fallback tunnel devices from netns cleanup
When a namespace gets created, if the fb_tunnels_only_for_init_net
sysctl configuration is set to 0, the fallback tunnels will be
automatically created if the corresponding tunnel is present
in the initial network namespace. Source [0].

This is being observed in some systems where namespaces are not
getting cleaned up due to the presence of such devices as
ip_lib.namespace_is_empty() is returning False.

This patch is adding such devices as per the kernel documentation
to the list of excluded devices by default.

[0] https://www.kernel.org/doc/Documentation/sysctl/net.txt

Closes-Bug: #1797084
Change-Id: I94415a0da5367e2d98d792a5eb4ba3919b838326
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
2018-10-10 15:01:49 +02:00
..
openvswitch_firewall ovs fw: apply the NORMAL action on egress traffic in a single table 2018-09-04 16:40:31 +07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
bridge_lib.py LinuxBridge: Use ifindex for logical 'timestamp' 2016-09-14 17:02:46 +00:00
daemon.py Remove argument "watch_log = " 2017-10-13 09:42:48 +08:00
dhcp.py Fix flake8 H404 errors 2018-10-05 21:48:41 +00:00
dibbler.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
external_process.py Refactoring agent linux&ovsdb config 2017-08-25 10:41:39 -04:00
interface.py Delete ovs port if namespace is corrupted 2018-09-04 14:46:03 -04:00
ip_conntrack.py Remove race and simplify conntrack state management 2018-03-14 17:26:37 -04:00
ip_lib.py Exclude fallback tunnel devices from netns cleanup 2018-10-10 15:01:49 +02:00
ip_link_support.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ip_monitor.py Trivial: Move platform independent modules to common dir 2018-08-14 09:54:01 +03:00
ipset_manager.py use synchronized lock decorator from neutron-lib 2017-10-04 13:57:42 -06:00
iptables_comments.py Iptables firewall driver adds forward rules for trusted ports 2018-03-06 10:13:44 +01:00
iptables_firewall.py Use system protocol assigments for iptables protocol map 2018-08-08 17:01:26 -04:00
iptables_manager.py fix spell error 2018-08-29 09:20:36 +08:00
keepalived.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
l3_tc_lib.py Make L3 IP tc filter rate limit more accurate 2018-06-20 02:21:28 +00:00
pd.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
pd_driver.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
ra.py Dropping radvd process privileges 2018-06-21 15:35:51 +02:00
tc_lib.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
utils.py Fix flake8 H404 errors 2018-10-05 21:48:41 +00:00
xenapi_root_helper.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00