diff options
author | Miroslav Miklus <mmiklus@cisco.com> | 2016-09-29 17:03:17 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2016-10-04 05:53:06 +0000 |
commit | 5dc98f39c227fb09ce59caa38d28f0dba8558e4b (patch) | |
tree | 104fd1e792a84d7fe059a27e2c310f119d18d87d /resources/libraries/python/ssh.py | |
parent | 7a518f56201e7fb3a1e096d40248866330656fab (diff) |
Interactive terminal fixes
- remember if execution timed out and do not try to send "quit" on close
- increase timeout of vat command execution from 10s to 60s
Change-Id: I2b96a6dce1220eff45002276d1fe8a771fca2205
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/libraries/python/ssh.py')
-rw-r--r-- | resources/libraries/python/ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/ssh.py b/resources/libraries/python/ssh.py index 298c93ee8e..b470e86ccc 100644 --- a/resources/libraries/python/ssh.py +++ b/resources/libraries/python/ssh.py @@ -213,7 +213,7 @@ class SSH(object): @staticmethod def interactive_terminal_exec_command(chan, cmd, prompt, - time_out=10): + time_out=30): """Execute command on interactive terminal. interactive_terminal_open() method has to be called first! |