CSIT-1076 Improve SSH connection handling 99/12499/7
authorPeter Mikus <pmikus@cisco.com>
Wed, 9 May 2018 11:40:12 +0000 (13:40 +0200)
committerPeter Mikus <pmikus@cisco.com>
Fri, 11 May 2018 12:38:08 +0000 (12:38 +0000)
commitefae5118e100d85938c8a69b974d3f45184f93c5
treec191d73edfcf07ec54d75d137df3270cc7d7f84b
parenta3d14e7cf128c5188a4e064042a64333ae64d191
CSIT-1076 Improve SSH connection handling

Properly detect dropped connection via predicate is_active() to prevent
using dropped connection.

Change-Id: I9105622f28d2f7949675b8cee1dd4384a12f72a9
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/python/ssh.py