aboutsummaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorNauman_Ahad <Nauman_Ahad@dell.com>2016-01-05 21:01:17 +0500
committerNauman_Ahad <Nauman_Ahad@dell.com>2016-01-05 21:01:17 +0500
commit57922dcb8e6497f02fdee9306494e932e25dcace (patch)
tree03243a0673de88e39cc682d4d64e54be2ad1c898 /func
parent8812f4746015c669dc8dcab23069f5244ff8acb6 (diff)
QTIP Index calculation along with a script to run qtip from docker
Calculation of Result Indices for 1. Compute suite 2. Storage suite 3. Network suite A script to run qtip from inside the docker container (for Jenkins Jobs) Resolved bugs with ssl_trasform.py, sys info collection on ubuntu and system information collection script Change-Id: Ic5abb3dbd0012cd2257b588b1b3067a6677b1f5d Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
Diffstat (limited to 'func')
-rw-r--r--func/env_setup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/func/env_setup.py b/func/env_setup.py
index a888046c..c0e1b539 100644
--- a/func/env_setup.py
+++ b/func/env_setup.py
@@ -57,15 +57,15 @@ class Env_setup():
ssh_c = 'ssh-keyscan {0} >> ~/.ssh/known_hosts'.format(k)
- #os.system(ssh_c)
- ssh_cmd = 'expect ./data/ssh_exch.exp {0} {1}'.format(ipvar, pwvar)
+ os.system(ssh_c)
+ ssh_cmd = './data/qtip_creds.sh {0}'.format(ipvar)
print ssh_cmd
res = os.system(ssh_cmd)
for infinity in range(100):
try :
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
- ssh.connect(k , username = 'root', password = v)
+ ssh.connect(k , key_filename= './data/QtipKey')
stdin, stdout, stderr = ssh.exec_command('ls')
print('SSH successful')
break
@@ -79,7 +79,7 @@ class Env_setup():
time.sleep(3)
os.system(ssh_c)
- for infinity in range(100):
+ for infinity in range(10):
try :
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())