exports TaskAPI methods to lnst module
New TaskAPI will be used in this format:
import lnst
m1 = lnst.add_host()
m1.add_interface(label="tnet")
while lnst.match():
mod = lnst.get_module(...)
lnst.wait(1)
...
Thus we need to export methods available via TaskAPI to this __init__.py file
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
---
lnst/__init__.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lnst/__init__.py b/lnst/__init__.py
index e69de29..924a8ff 100644
--- a/lnst/__init__.py
+++ b/lnst/__init__.py
@@ -0,0 +1 @@
+from lnst.Controller.Task import match, add_host, wait, get_alias, get_module,
breakpoint
--
2.4.11