commit 030c99e3f1bde8542c6cc83a054ef46dcd8be67d
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Thu Feb 20 13:21:51 2014 +0100
VirtUtils: move to lnst/Controller
VirtUtils are only used by the controller and there is no use case in
which we would want to use it on slaves. Therefore it makes more sense
to move it to the lnst/Controller directory.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
lnst/Controller/Machine.py | 2 +-
lnst/Controller/NetTestController.py | 2 +-
lnst/{Common => Controller}/VirtUtils.py | 0
3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lnst/Controller/Machine.py b/lnst/Controller/Machine.py
index 25749e0..d73aedd 100644
--- a/lnst/Controller/Machine.py
+++ b/lnst/Controller/Machine.py
@@ -31,7 +31,7 @@ from lnst.Common.ConnectionHandler import ConnectionHandler
# conditional support for libvirt
if check_process_running("libvirtd"):
- from lnst.Common.VirtUtils import VirtNetCtl, VirtDomainCtl
+ from lnst.Controller.VirtUtils import VirtNetCtl, VirtDomainCtl
DEFAULT_TIMEOUT = 60
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py
index 39bc83a..c5e3fec 100644
--- a/lnst/Controller/NetTestController.py
+++ b/lnst/Controller/NetTestController.py
@@ -38,7 +38,7 @@ import lnst.Controller.Task as Task
# conditional support for libvirt
if check_process_running("libvirtd"):
- from lnst.Common.VirtUtils import VirtNetCtl, VirtDomainCtl
+ from lnst.Controller.VirtUtils import VirtNetCtl, VirtDomainCtl
class NetTestError(Exception):
pass
diff --git a/lnst/Common/VirtUtils.py b/lnst/Controller/VirtUtils.py
similarity index 100%
rename from lnst/Common/VirtUtils.py
rename to lnst/Controller/VirtUtils.py
Show replies by date