neutron/neutron/privileged
Brian Haley 87f7b9a46c Catch non-existent entry failures better in ip_lib
The privileged/agent/linux/ip_lib.py code was not always
catching "entry does not exist" type errors when deleting
entries, and most of the callers were not catching it either,
which could lead to random failures.

Add code in the IP route, rule and bridge fdb code to catch
these errors and not raise on them, other exceptions will
still be raised.

Also fixed delete_neigh_entry() to not raise when the
given namespace does not exist to make it like all the
other calls in the file.

Added or modified functional tests for above cases.

Change-Id: I083649ab1b9a9057ee276a7f3ba069eb667db870
Closes-bug: #2030804
(cherry picked from commit 16875b5f92)
2023-11-15 22:07:19 +00:00
..
agent Catch non-existent entry failures better in ip_lib 2023-11-15 22:07:19 +00:00
__init__.py Add a privsep context only for link commands 2021-07-16 15:10:03 +00:00