neutron/neutron/agent/linux
Daniel Alvarez 2cf477df17 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>
(cherry picked from commit 8e60531d11)
2021-06-10 09:33:21 +00:00
..
openvswitch_firewall [ovs fw] Restrict IPv6 NA and DHCP(v6) IP and MAC source addresses 2021-05-24 13:24:02 +02:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
async_process.py Add kill_timeout to AsyncProcess 2019-01-04 10:46:44 +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 Don't configure dnsmasq entries for "network" ports 2021-03-08 09:01:44 +00:00
dibbler.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
ethtool.py Workaround for TCP checksum issue with ovs-dpdk and veth pair 2021-03-02 16:03:23 -03:00
external_process.py Check dnsmasq process is active when spawned 2020-04-07 20:10:15 +00:00
interface.py Workaround for TCP checksum issue with ovs-dpdk and veth pair 2021-03-02 16:03:23 -03:00
ip_conntrack.py [OVS FW] Clean conntrack entries with mark == CT_MARK_INVALID 2021-02-23 13:45:51 +00:00
ip_lib.py Exclude fallback tunnel devices from netns cleanup 2021-06-10 09:33:21 +00:00
ip_link_support.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ip_monitor.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ipset_manager.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2020-11-17 14:34:08 +00:00
iptables_comments.py Iptables firewall driver adds forward rules for trusted ports 2018-03-25 09:56:10 +00:00
iptables_firewall.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2020-11-17 14:34:08 +00:00
iptables_manager.py Packets getting lost during SNAT with too many connections 2019-06-04 23:23:43 +00:00
keepalived.py Do not link up HA router gateway in backup node 2020-04-23 21:45:06 +00:00
l3_tc_lib.py Support iproute2 4.15 in l3_tc_lib 2020-04-14 07:40:51 +00:00
ovsdb_monitor.py ovsdb monitor: do not die on ovsdb-client stderr output 2018-09-17 08:18:11 +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
polling.py Support ovsdb-client monitor with remote connection 2017-01-17 06:00:58 -08:00
ra.py Dropping radvd process privileges 2018-06-26 17:48:10 +00:00
tc_lib.py Fix ingress bw limit for OVS DPDK ports 2018-01-15 13:19:14 +00:00
utils.py Check if process' cmdline is "space separarated" 2019-03-27 09:44:07 +00:00
xenapi_root_helper.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00