neutron/neutron/tests/functional/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 Fix multicast traffic with IGMP snooping enabled 2021-03-08 15:59:57 +00:00
l2 Add "igmp_snooping_enable" config option for OVS agent 2020-06-12 15:02:39 +00:00
l3 Merge "[Functional] Wait for the initial state of ha router before test" into stable/train 2021-10-11 11:33:55 +00:00
linux Check a namespace existence by checking only its own directory 2021-11-03 14:15:22 +00:00
ovsdb Switch test cases to sudo dependent 2019-07-19 21:48:09 -05:00
windows All functional tests logs results now 2018-11-21 19:58:18 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_dhcp_agent.py Add kill hooks for external processes 2019-06-03 14:39:51 +02:00
test_firewall.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2021-01-20 17:02:06 +01:00
test_l2_lb_agent.py LB Trunk: Stop matching MAC of subport to port model 2017-03-01 14:10:00 +00:00
test_l2_ovs_agent.py Merge "Stop OVS agent before starting it again" 2019-05-30 09:03:49 +00:00
test_ovs_flows.py Make DVR router support FLAT network for ovs-agent 2020-08-26 09:41:47 +00:00
test_ovs_lib.py Fix multicast traffic with IGMP snooping enabled 2021-03-08 15:59:57 +00:00