This is used for comparing versions with Controller.
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
---
lnst/Slave/NetTestSlave.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lnst/Slave/NetTestSlave.py b/lnst/Slave/NetTestSlave.py
index 9104e31..c2fb911 100644
--- a/lnst/Slave/NetTestSlave.py
+++ b/lnst/Slave/NetTestSlave.py
@@ -30,7 +30,7 @@ from lnst.Common.ResourceCache import ResourceCache
from lnst.Common.NetTestCommand import NetTestCommandContext
from lnst.Common.NetTestCommand import NetTestCommand
from lnst.Common.NetTestCommand import DEFAULT_TIMEOUT
-from lnst.Common.Utils import check_process_running
+from lnst.Common.Utils import check_process_running, LNST_VERSION
from lnst.Common.ConnectionHandler import send_data
from lnst.Common.ConnectionHandler import ConnectionHandler
from lnst.Common.Config import lnst_config
@@ -95,6 +95,7 @@ class SlaveMethods:
r_release, _ = exec_cmd("cat /etc/redhat-release", False, False,
False)
slave_desc["kernel_release"] = k_release.strip()
slave_desc["redhat_release"] = r_release.strip()
+ slave_desc["lnst_version"] = LNST_VERSION
return ("hello", slave_desc)
--
2.4.3