aboutsummaryrefslogtreecommitdiffstats
path: root/func/env_setup.py
diff options
context:
space:
mode:
authorMofassir Arif <Mofassir_arif@dellteam.com>2015-12-22 04:17:57 -0800
committerMofassir Arif <Mofassir_arif@dellteam.com>2015-12-22 04:17:57 -0800
commit39342467e5e647ae605f40bed04c5a3b3bc50f5e (patch)
tree9c7b73c5e32a816c83db93bbac6aa3af80e7f9fa /func/env_setup.py
parent4b3e9b6cf97296dd591dc2cf95ead96ee60075f5 (diff)
Restructured QTIP directories and CLI
I have changed the arguments for the CLI and now QTIP takes a file along withthe name of the lab to run on Right now only the config files for the dell lab have been added, These will increase when we make QTIP available for other labs. I have also added the provision of changing the public network from the config file and some leftover files from previous verisons have been remove Change-Id: Ifeb01d80099eab06dc77a7b2e07097ebb17a13a2 Signed-off-by: Mofassir Arif <Mofassir_arif@dellteam.com>
Diffstat (limited to 'func/env_setup.py')
-rw-r--r--func/env_setup.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/func/env_setup.py b/func/env_setup.py
index 8abf9da2..a888046c 100644
--- a/func/env_setup.py
+++ b/func/env_setup.py
@@ -26,6 +26,14 @@ class Env_setup():
def __init__(self):
print '\nParsing class initiated\n'
+ self.roles_ip_list[:]=[]
+ self.ip_pw_list[:] = []
+ self.roles_dict.clear()
+ self.ip_pw_dict.clear()
+ self.ip_pip_list[:] = []
+ self.vm_parameters.clear()
+ self.benchmark_details.clear()
+ self.benchmark = ''
def writeTofile(self, role):
fname2 = open('./data/hosts', 'w')