Merge "Specify C shared library in Pyroute2 namespace context"
This commit is contained in:
commit
77e9a52e52
@ -98,7 +98,7 @@ PyMySQL==0.7.6
|
||||
pyOpenSSL==17.1.0
|
||||
pyparsing==2.1.0
|
||||
pyperclip==1.5.27
|
||||
pyroute2==0.5.7
|
||||
pyroute2==0.5.13
|
||||
python-dateutil==2.5.3
|
||||
python-designateclient==2.7.0
|
||||
python-editor==1.0.3
|
||||
|
@ -190,7 +190,7 @@ def get_iproute(namespace):
|
||||
# `NetNS` -- RTNL API to another network namespace
|
||||
if namespace:
|
||||
# do not try and create the namespace
|
||||
return pyroute2.NetNS(namespace, flags=0)
|
||||
return pyroute2.NetNS(namespace, flags=0, libc=priv_linux.get_cdll())
|
||||
else:
|
||||
return pyroute2.IPRoute()
|
||||
|
||||
|
@ -47,7 +47,7 @@ os-ken >= 0.3.0 # Apache-2.0
|
||||
ovs>=2.8.0 # Apache-2.0
|
||||
ovsdbapp>=1.3.0 # Apache-2.0
|
||||
psutil>=3.2.2 # BSD
|
||||
pyroute2>=0.5.7;sys_platform!='win32' # Apache-2.0 (+ dual licensed GPL2)
|
||||
pyroute2>=0.5.13;sys_platform!='win32' # Apache-2.0 (+ dual licensed GPL2)
|
||||
pyOpenSSL>=17.1.0 # Apache-2.0
|
||||
|
||||
python-novaclient>=9.1.0 # Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user