[PATCH] TaskAPI: use netns argument in hostAPI config() method
Jan Tluka
jtluka at redhat.com
Wed Jun 24 17:34:21 UTC 2015
The hostAPI's method config() has the netns argument but it was not
passed further.
Fixes #125.
Signed-off-by: Jan Tluka <jtluka at 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
More information about the LNST-developers
mailing list