[autotest] Move _create_ssh_tunnel from CrosHost to AbstractSSHHost
_create_ssh_tunnel is also useful for subclass of AbstractSSHHost like
ChameleonHost. Move _create_ssh_tunnel from CrosHost to AbstractSSHHost.
BUG=chromium:521443
TEST=run audio_AudioBasicHeadphone test on a network that does not block
chameleon port and make sure CrosHost tunning still works.
Change-Id: I0c7c38777ea052f7abb4cf0393bc7630d91aa778
Reviewed-on: https://chromium-review.googlesource.com/295021
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
2 files changed