Don't attemp ipv6 ssh in case of ipv4 cluster
authorCostas Drogos <costas.drogos@gmail.com>
Thu, 3 Oct 2013 09:37:14 +0000 (12:37 +0300)
committerMichele Tartara <mtartara@google.com>
Mon, 7 Oct 2013 16:25:36 +0000 (18:25 +0200)
commitb63680019600df2a6b1115470d1ba2985fcd8884
tree7ef9699b4abff94b5bcb80972a06700010e91053
parent4a68b28b5ab4c20e67e77b55253defecf768f26e
Don't attemp ipv6 ssh in case of ipv4 cluster

In case of a cluster with primary-ip-version=4, there is no need
for cluster to try ipv6 ssh connections which may timeout.
So append '-4' on ssh if cluster is ipv4-only

Signed-off-by: Costas Drogos <costas.drogos@gmail.com>
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
lib/ssh.py