This problem is also affecting to any other method executed in a namespace context. In order to avoid this problem, the method setting the namespace in Pyroute2 should also needs use ctypes.PyDLL shared library, instead of ctypes.CDLL.
If this patch is merged, then we'll need to bump Pyroute2 version and call "NetNS" context with ctypes.PyDLL (similar to I36ef9bf59e9c93f50464457a5d9a968738844079).
Hello:
This problem is also affecting to any other method executed in a namespace context. In order to avoid this problem, the method setting the namespace in Pyroute2 should also needs use ctypes.PyDLL shared library, instead of ctypes.CDLL.
Related bug in Pyroute2: https:/ /github. com/svinota/ pyroute2/ issues/ 702 /github. com/ralonsoh/ pyroute2/ commit/ 0b8a9d21f2280b9 cec700d0cdee322 88f9514220
Related patch: https:/
If this patch is merged, then we'll need to bump Pyroute2 version and call "NetNS" context with ctypes.PyDLL (similar to I36ef9bf59e9c93 f50464457a5d9a9 68738844079) .
Regards.