commit 2105e49e2915981433141bdacdb5def470e706ac
Author: Radek Pazdera <rpazdera(a)redhat.com>
Date: Thu Apr 18 19:51:46 2013 +0200
NetTestParse: Renaming to RecipeParse
Signed-off-by: Radek Pazdera <rpazdera(a)redhat.com>
lnst/Controller/NetTestController.py | 4 ++--
.../Controller/{NetTestParse.py => RecipeParse.py} | 6 +++---
lnst/Controller/SlaveMachineParse.py | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py
index 94ed7f5..def5258 100644
--- a/lnst/Controller/NetTestController.py
+++ b/lnst/Controller/NetTestController.py
@@ -28,7 +28,7 @@ from lnst.Common.Utils import wait_for, md5sum, dir_md5sum,
create_tar_archive
from lnst.Common.Utils import check_process_running
from lnst.Common.NetTestCommand import NetTestCommandContext, NetTestCommand
from lnst.Common.NetTestCommand import str_command, CommandException
-from lnst.Controller.NetTestParse import NetTestParse
+from lnst.Controller.RecipeParse import RecipeParse
from lnst.Controller.SlavePool import SlavePool
from lnst.Common.ConnectionHandler import send_data, recv_data
from lnst.Common.ConnectionHandler import ConnectionHandler
@@ -64,7 +64,7 @@ class NetTestController:
self._mac_pool = MacPool(mac_pool_range[0],
mac_pool_range[1])
- ntparse = NetTestParse(recipe_path)
+ ntparse = RecipeParse(recipe_path)
ntparse.set_target(self._recipe)
ntparse.register_event_handler("provisioning_requirements_ready",
diff --git a/lnst/Controller/NetTestParse.py b/lnst/Controller/RecipeParse.py
similarity index 99%
rename from lnst/Controller/NetTestParse.py
rename to lnst/Controller/RecipeParse.py
index dab542a..2981099 100644
--- a/lnst/Controller/NetTestParse.py
+++ b/lnst/Controller/RecipeParse.py
@@ -1,5 +1,5 @@
"""
-This module defines NetTestParse class useful to parse xml recipes
+This module defines RecipeParse class useful to parse xml recipes
Copyright 2011 Red Hat, Inc.
Licensed under the GNU General Public License, version 2 as
@@ -20,9 +20,9 @@ from lnst.Common.NetUtils import normalize_hwaddr
from lnst.Common.Utils import bool_it
from lnst.Common.RecipePath import RecipePath
-class NetTestParse(LnstParser):
+class RecipeParse(LnstParser):
def __init__(self, recipe_filepath):
- super(NetTestParse, self).__init__()
+ super(RecipeParse, self).__init__()
self._filepath = recipe_filepath
self._rp = RecipePath(None, self._filepath)
diff --git a/lnst/Controller/SlaveMachineParse.py b/lnst/Controller/SlaveMachineParse.py
index d1de806..8c0a090 100644
--- a/lnst/Controller/SlaveMachineParse.py
+++ b/lnst/Controller/SlaveMachineParse.py
@@ -18,7 +18,7 @@ from lnst.Common.XmlProcessing import LnstParser
from lnst.Common.XmlProcessing import XmlDomTreeInit
from lnst.Common.XmlProcessing import XmlProcessingError
from lnst.Common.NetUtils import normalize_hwaddr
-from lnst.Controller.NetTestParse import ParamsParse
+from lnst.Controller.RecipeParse import ParamsParse
class SlaveMachineParse(LnstParser):
_machine_id = None
Show replies by date