The hostAPI's method config() has the netns argument but it was not
passed further.
Fixes #125.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst/Controller/Task.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lnst/Controller/Task.py b/lnst/Controller/Task.py
index ccbd299..073aacb 100644
--- a/lnst/Controller/Task.py
+++ b/lnst/Controller/Task.py
@@ -176,6 +176,7 @@ class HostAPI(object):
cmd = {"host": str(self._id), "type": "config"}
cmd["options"] = [{"name": option, "value":
value}]
cmd["persistent"] = persistent
+ cmd["netns"] = netns
return self._ctl._run_command(cmd)
--
1.9.3