aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/topo_installation.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-02-02 08:34:47 +0000
committerPeter Mikus <pmikus@cisco.com>2017-02-03 14:39:07 +0000
commit6baa0bc9921bc13b1adff113c20a4db766c3feba (patch)
tree798bd9d95a37601940103eb8c6a7451bb64afaad /resources/tools/topo_installation.py
parent292e156ce0e11bb70226602a0978fbed5352172d (diff)
Fix: Timeout during VPP installation
Increase timeout during installation of VPP packages to 60s. Change-Id: I9384564a45951bbfb648c99f25d8de70b79ab783 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/topo_installation.py')
-rwxr-xr-xresources/tools/topo_installation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/topo_installation.py b/resources/tools/topo_installation.py
index 3e3fda864e..5dbaaaa2f8 100755
--- a/resources/tools/topo_installation.py
+++ b/resources/tools/topo_installation.py
@@ -35,9 +35,9 @@ def ssh_no_error(ssh, cmd, sudo=False):
"""
if sudo:
- ret, stdo, stde = ssh.exec_command_sudo(cmd)
+ ret, stdo, stde = ssh.exec_command_sudo(cmd, timeout=60)
else:
- ret, stdo, stde = ssh.exec_command(cmd)
+ ret, stdo, stde = ssh.exec_command(cmd, timeout=60)
if ret != 0:
print 'Command execution failed: "{}"'.format(cmd)