diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-04-05 13:07:02 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2018-04-09 07:27:12 +0000 |
commit | 2feeaea9155d83452455375acea0245c055fce33 (patch) | |
tree | 6379e37b464375989ff1325d519e1024a98bc456 /resources/libraries/robot/tcp | |
parent | 0e7d58777440907a34cdac38c70924f15ed9d567 (diff) |
FIX: VAT SSH timeout
Currently when VAT cannot connect to VPP via direct API call, there is
inner timeout of ~100s until it quits and returns RC. In our code we are
setting outer timeout to 10/15s to detect if VAT is not responding. If
VAT does not respond quickly enough due to e.g VPP crash, we are
incorrectly reporting SSHTimout exception.
This fix is suppose to set correct timeout values and also to set some
of the calls like show run|hard|err / clear to detect whether they were
successfull or not.
+ Various small library cleanup.
Change-Id: I787c4baecd7e086705a4076643e255a875ea8438
Signed-off-by: Peter Mikus <pmikus@cisco.com>
(cherry picked from commit 84e2999a1b8847e4ae43cc2b0faf901ac8575bc1)
Diffstat (limited to 'resources/libraries/robot/tcp')
0 files changed, 0 insertions, 0 deletions