From: Ondrej Lichtner <olichtne(a)redhat.com>
Adding a second dynamic module (Devices being the first one) that can
accept classes sent from the Controller. Eventually I'm guessing this
will be a refactored later so we're not limited to just Devices and
RecipesCommon but for now I'd like to keep it limited to just these two.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Slave/NetTestSlave.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lnst/Slave/NetTestSlave.py b/lnst/Slave/NetTestSlave.py
index efacd58..03c94f3 100644
--- a/lnst/Slave/NetTestSlave.py
+++ b/lnst/Slave/NetTestSlave.py
@@ -63,6 +63,11 @@ Tests.__path__ = ["lnst.Tests"]
sys.modules["lnst.Tests"] = Tests
+RecipeCommon = types.ModuleType("RecipeCommon")
+RecipeCommon.__path__ = ["lnst.RecipeCommon"]
+
+sys.modules["lnst.RecipeCommon"] = RecipeCommon
+
class SlaveMethods:
'''
Exported xmlrpc methods
--
2.17.0