neutron/neutron/tests/unit
Brian Haley 5ee6e5bb31 Do not fail deleting namespace if it does not exist
Note: this is a squash of two changes since they are
dependent on each other, and are currently blocking
the gate queue.

Sometimes cleanup methods are failing in the check and
gate queues trying to delete non-existing namespaces.
Since they could have been deleted asynchronously, don't
raise if the failure is "No such file or directory" since
the system is in the intended state.

Cleaned-up the DHCP agent to longer check for existence
first, and the tests to longer mock-out the namespace
exists check.

Fix test_legacy_router_lifecycle failures

Multi-path routes returned via the pyroute2 library have
their outgoing interfaces in the 'multipath' dictionary
element, not in the route dictionary.  In that case return
all the multipath routes correctly.

Change-Id: I5415cb3a88ff2640a19598a1fcb2278388815343
Closes-bug: #1795482
Closes-bug: #1795548
2020-09-22 08:49:33 +00:00
..
agent Do not fail deleting namespace if it does not exist 2020-09-22 08:49:33 +00:00
api [Security] fix allowed-address-pair 0.0.0.0/0 issue 2020-07-31 13:31:18 +02:00
cmd More efficiently clean up OVS ports 2018-01-22 14:07:42 -06:00
common Packets getting lost during SNAT with too many connections 2019-06-04 23:23:43 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Merge "Make _ensure_default_security_group method atomic" into stable/queens 2020-07-17 20:59:15 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Use dict .get() to avoid a KeyError in the segment plugin 2020-09-04 15:14:40 +02:00
hacking Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
ipam Update the processing of assigned addresses when assigning addresses 2020-06-19 10:10:41 +00:00
notifiers Add config option ``http_retries`` 2020-07-09 10:18:46 +00:00
objects Filter by owner SGs when retrieving the SG rules 2020-04-17 11:05:53 +00:00
plugins Merge "Pass context in l3 flavor notifications" into stable/queens 2020-09-04 11:41:35 +00:00
privileged Switch create/delete interfaces to pyroute2 2020-04-27 21:41:02 +02:00
quota CountableResource: try count/get functions for all plugins 2017-09-08 10:50:12 -07:00
scheduler Fix sort issue in test_dhcp_agent_scheduler.test_filter_bindings 2019-08-12 08:17:01 +00:00
services Run revision bump operations en masse 2019-11-22 09:32:27 -05:00
tests Increase timeouts for OVSDB in functional tests 2019-09-13 10:57:41 +00:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
dummy_plugin.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
test_manager.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py
test_policy.py Fix handling of network:shared field in policy module 2019-05-10 17:21:57 +00:00
test_service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py [Unit tests] Skip TestWSGIServer with IPv6 if no IPv6 enabled 2019-10-07 23:05:05 +00:00
testlib_api.py API compare-and-swap updates based on revision_number 2017-06-29 22:50:12 +00:00