From: Ondrej Lichtner <olichtne(a)redhat.com>
This name and beggining of description fits better to what the method
actually does.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Controller/Machine.py | 4 ++--
lnst/Controller/NetTestController.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lnst/Controller/Machine.py b/lnst/Controller/Machine.py
index 839ec16..4112bd0 100644
--- a/lnst/Controller/Machine.py
+++ b/lnst/Controller/Machine.py
@@ -203,8 +203,8 @@ class Machine(object):
return self._rpc_call(method_name, *args)
return self._rpc_call_to_netns(netns, method_name, *args)
- def configure(self, recipe_name):
- """ Prepare the machine
+ def init_connection(self, recipe_name):
+ """ Initialize the slave connection
Calling this method will initialize the rpc connection to the
machine and initialize all the interfaces. Note, that it will
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py
index 8fdd43e..e1b2054 100644
--- a/lnst/Controller/NetTestController.py
+++ b/lnst/Controller/NetTestController.py
@@ -258,7 +258,7 @@ class NetTestController:
machine.set_network_bridges(self._network_bridges)
recipe_name = os.path.basename(self._recipe_path)
- machine.configure(recipe_name)
+ machine.init_connection(recipe_name)
sync_table = {'module': {}, 'tools': {}}
if resource_sync:
--
2.7.2