neutron/neutron/privileged
Rodolfo Alonso Hernandez ecef65b9b5 Do not use exceptions in get_link_id() to control the code flow
Instead of using exceptions as control flow, check the Pyroute2 command
result and only raise the Neutron exception if needed. This will also
reduce the traceback log in case of raising NetworkInterfaceNotFound.

Although in Python the use of exception for this is common, this is
usually considered an antipattern.

Change-Id: I0e8bb3b0f6a46f2bac75e38c6ac6cdd094247f89
Closes-Bug: #1849449
2019-10-25 16:28:37 +00:00
..
agent Do not use exceptions in get_link_id() to control the code flow 2019-10-25 16:28:37 +00:00
__init__.py Kill all processes running in a namespace before deletion 2019-08-21 09:03:54 +00:00