This patchset fixes namespace in LNST that is currently broken. The
fundamental problem was in use of libc calls with improper parameter
types.
Thanks to Ondrej for the additional patch in [1].
v2:
Include additional fix for the test module synchronization in network namespaces.
v3:
I unified use of the bytestrings in the libc calls. I added a code
comment on making the namespace directory shared between the namespaces.
Jan Tluka (5):
Controller.NetNamespace: rename _nsname to _name
lnst.NetTestSlave: fix namespace creation/deletion
Controller.Host: pass NetNamespace to add_netns()
Controller.Machine: update add_namespace and del_namespace arguments
Controller.Machine: fix test module synchronization for network
namespaces
lnst/Controller/Host.py | 2 +-
lnst/Controller/Machine.py | 24 ++++++++------
lnst/Controller/NetNamespace.py | 2 +-
lnst/Slave/NetTestSlave.py | 55 ++++++++++++++++++++++++++-------
4 files changed, 59 insertions(+), 24 deletions(-)
--
2.26.3
Show replies by date