neutron/neutron
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
..
agent Exclude fallback tunnel devices from netns cleanup 2018-10-10 15:01:49 +02:00
api Upgrade pylint to a version that works with python3 2018-10-04 18:03:25 +00:00
cmd Fix flake8 H404 errors 2018-10-05 21:48:41 +00:00
common Fix flake8 H404 errors 2018-10-05 21:48:41 +00:00
conf Implement filter validation 2018-07-19 04:13:43 +00:00
core_extensions use autonested_transaction from neutron-lib 2018-07-26 07:41:34 -06:00
db Merge "Fix flake8 H404 errors" 2018-10-09 07:00:33 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Remove population of is_filter keyword 2018-10-02 20:45:19 +00:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam Fix flake8 H404 errors 2018-10-05 21:48:41 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
objects Merge "Fix flake8 H404 errors" 2018-10-09 07:00:33 +00:00
pecan_wsgi Merge "Upgrade pylint to a version that works with python3" 2018-10-05 17:14:15 +00:00
plugins Merge "doc: OpenVSwitch firewall internal design, improvements (+ newline fix)" 2018-10-10 01:37:49 +00:00
privileged Remove a bare raise noticed by the linter 2018-10-03 08:41:26 +00:00
quota Fetch specific columns rather than full ORM entities 2018-08-22 10:14:09 +00:00
scheduler Fetch specific columns rather than full ORM entities 2018-08-22 10:14:09 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Merge "Fix flake8 H404 errors" 2018-10-09 07:00:33 +00:00
tests Exclude fallback tunnel devices from netns cleanup 2018-10-10 15:01:49 +02:00
__init__.py tell pylint to ignore python2 version of gettext 2018-10-03 08:39:35 +00:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Implement filter validation 2018-07-19 04:13:43 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py Add ext_parent policy check 2018-08-01 02:45:42 +08:00
service.py Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Fix best_match() deprecation warning 2018-10-03 19:30:40 +00:00