neutron/neutron/tests/common
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
..
agents Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
exclusive_resources use synchronized lock decorator from neutron-lib 2017-10-04 13:57:42 -06:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +00:00
config_fixtures.py fullstack: Migration from iptables_hybrid to openvswitch 2018-04-26 16:44:24 +00:00
conn_testers.py Drop of_interface option 2019-05-24 10:33:48 +02:00
helpers.py Remove 'gateway_external_network_id' config option 2019-07-26 13:19:14 +02:00
l3_test_common.py Give some HA router case specific resources 2019-04-06 09:08:06 +08:00
machine_fixtures.py Merge "fullstack: test for IPv6 north-south traffic" 2016-11-09 12:02:45 +00:00
net_helpers.py Check a namespace existence by checking only its own directory 2021-11-03 14:15:22 +00:00