neutron/neutron/agent
Rodolfo Alonso Hernandez 9cdd331036 Check a namespace existence by checking only its own directory
To check the existance of a namespace, instead of listing the
namespaces directory (by default "/var/run/netns"), this patch
directly checks the existence of the namespace directory, using
"os.path.exists".

This check is faster than listing the whole directory and avoids
timeout problems as reported in the related bug.

Conflicts:
      neutron/privileged/agent/linux/utils.py

Closes-Bug: #1947974
Change-Id: I558d50d28378beb3710d98a2113ff9549c82ae17
(cherry picked from commit 8127221479)
(cherry picked from commit 6a9c05a924)
2021-11-03 14:15:22 +00:00
..
common Make default hypervisor hostname compatible with libvirt 2021-06-21 14:20:34 +02:00
dhcp [DHCP] Fix cleanup_deleted_ports method 2021-06-11 09:05:28 +00:00
l2 Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
l3 [DVR] Check if SNAT iptables manager is initialized 2021-10-08 15:35:51 +00:00
linux Check a namespace existence by checking only its own directory 2021-11-03 14:15:22 +00:00
metadata Stop metadata proxy gracefully 2021-04-21 11:03:49 +02:00
ovsdb Make NeutronOvsdbIdl singleton 2020-10-21 08:37:32 +00:00
windows windows: fix terminating processes 2020-10-09 09:40:45 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
agent_extensions_manager.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
dhcp_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
firewall.py [ovs fw] Restrict IPv6 NA and DHCP(v6) IP and MAC source addresses 2021-05-19 11:35:21 +02:00
l3_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
metadata_agent.py Provide the rpc_response_max_timeout parameter to metadata-agent 2021-05-01 16:09:28 +00:00
resource_cache.py Ignore first local port update notification 2019-07-04 12:06:11 +00:00
rpc.py Initialize modifiable list of resources in CacheBackedPluginApi. 2019-07-26 11:51:39 +00:00
securitygroups_rpc.py Add accepted egress direct flow 2020-01-28 08:33:01 +00:00