neutron/neutron/privileged/agent
Slawek Kaplonski abe24c2705 Fix privileged create_netns function
In the patch [1] create_netns function from the Neutron's
privileged ip_lib module was changed in the way that it was
implemented in the same way like original pyroute2's create_netns
function.
Unfortunately during backporing that patch to stable/ussuri and
stable/train branches, we probably made mistake and instead of
calling pyroute2's private function _netns() we still called
public function netns() (which we tried to "reimplement" really).

So this patch updates it and changes to use private _netns() function
from pyroute2, in the same way like it is done in the branches newer
than stable/ussuri.

[1] https://review.opendev.org/c/openstack/neutron/+/778735

Related-Bug: #1917487
Change-Id: Id25ca8a67b52393a1c24c9d659189adc9c16a011
2022-01-10 11:56:58 +01:00
..
linux Fix privileged create_netns function 2022-01-10 11:56:58 +01:00
__init__.py Adopt privsep and read routing table with pyroute2 2016-12-21 17:52:58 +02:00