neutron/neutron/tests/functional/agent/linux
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
..
bin Import "oslo_config.cfg" before "eventlet" 2020-10-09 09:54:29 +00:00
openvswitch_firewall use EGRESS_DIRECTION and INGRESS_DIRECTION from neutron-lib 2018-02-23 10:36:36 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py Remove deprecated vsctl ovsdb_interface api 2018-10-11 14:59:34 -04:00
helpers.py Fix flake8 H404 errors 2018-10-05 21:48:41 +00:00
simple_daemon.py Remove translation of help messages from tests 2017-09-25 09:49:38 +00:00
test_async_process.py All functional tests logs results now 2018-11-21 19:58:18 +00:00
test_bridge_lib.py Randomize VNI in FdbInterfaceTestCase 2019-10-11 15:45:46 +00:00
test_dhcp.py Use constant IP_VERSION_4/6 in functional tests 2018-08-27 21:45:56 +00:00
test_interface.py Fix get_ipv6_llas method in the interface driver 2020-08-24 07:11:03 +00:00
test_ip_lib.py Check a namespace existence by checking only its own directory 2021-11-03 14:15:22 +00:00
test_ipset.py Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +00:00
test_iptables.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_keepalived.py Add 'keepalived_use_no_track' config option 2020-08-25 09:56:41 +02:00
test_l3_tc_lib.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_linuxbridge_arp_protect.py use neutron_lib's get_random_mac 2017-03-07 09:13:47 -06:00
test_netlink_lib.py [Functional tests] Change way how conntrack entries are checked 2019-03-02 09:07:07 +00:00
test_ovsdb_monitor.py Add some wait time between stopping and starting again ovsdb monitor 2021-03-05 09:33:51 +00:00
test_process_monitor.py All functional tests logs results now 2018-11-21 19:58:18 +00:00
test_tc_lib.py Fix the wrong value for QoS rate conversion to bytes/s 2020-06-24 17:22:02 +00:00
test_utils.py Trivial: Move platform independent modules to common dir 2018-08-14 09:54:01 +03:00