Fix ssh timeout issue 42/72842/1
authorLuc Provoost <luc.provoost@intel.com>
Fri, 20 Aug 2021 09:33:55 +0000 (11:33 +0200)
committerLuc Provoost <luc.provoost@intel.com>
Fri, 20 Aug 2021 09:33:55 +0000 (11:33 +0200)
Moving to paramiko for ssh introduced a bug: when starting PROX through
ssh, a default timeout of 15 seconds was started. The timer is now
disable since we need to run PROX as long as the test will take.

Change-Id: I65162fff33beb6d30d2f5ee2b83f9bef7880ce4b
Signed-off-by: Luc Provoost <luc.provoost@intel.com>
VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py

index 2df78cb..fc6749d 100644 (file)
@@ -36,7 +36,7 @@ class prox_ctrl(object):
         self._password = password
         self._proxsock = []
         self._sshclient = SSHClient(ip = ip, user = user, password = password,
-                rsa_private_key = key)
+                rsa_private_key = key, timeout = None)
 
     def ip(self):
         return self._ip