From: Luc Provoost Date: Fri, 20 Aug 2021 09:33:55 +0000 (+0200) Subject: Fix ssh timeout issue X-Git-Tag: 0.0.2~28 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F72842%2F1;p=samplevnf.git Fix ssh timeout issue 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 --- diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py b/VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py index 2df78cbe..fc6749da 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/prox_ctrl.py @@ -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