neutron/neutron/tests/unit/agent/l3
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
..
extensions Clean port forwarding cache when router is DOWN 2021-03-10 14:37:01 +00:00
__init__.py Move extra routes processing to router classes 2015-02-05 10:25:45 -05:00
test_agent.py Check a namespace existence by checking only its own directory 2021-11-03 14:15:22 +00:00
test_dvr_fip_ns.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_dvr_local_router.py Merge "Populate self.floating_ips_dict using "ip rule" information" into stable/train 2021-10-08 10:41:14 +00:00
test_dvr_snat_ns.py Switch ip link command to pyroute2 2018-03-24 22:42:00 +00:00
test_fip_rule_priority_allocator.py Merge "Removed unnecessary setUp calls in tests" 2017-08-29 23:57:56 +00:00
test_ha_router.py Remove update_initial_state() method from the HA router 2021-02-27 18:20:15 +00:00
test_item_allocator.py DVR: Check for item_allocator key before releasing 2018-04-04 11:47:41 -07:00
test_l3_agent_extension_api.py Add router_factory to l3-agent and L3 extension API 2019-04-26 10:22:50 +09:00
test_legacy_router.py Remove deprecated send_arp_for_ha option 2017-04-18 13:38:35 -04:00
test_link_local_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
test_namespace_manager.py Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
test_router_info.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00