TcpPing: Better error handling, logging
authorMichael Hanselmann <hansmi@google.com>
Thu, 21 Feb 2013 17:44:35 +0000 (18:44 +0100)
committerMichael Hanselmann <hansmi@google.com>
Mon, 25 Feb 2013 15:53:59 +0000 (16:53 +0100)
commit25ba209e24bc4a84cdee2a9d90195a1718120c20
tree8d1387fde842851a7bfd35dd1c49b84791d4268d
parent965e0e6a88e09f96d4c9b6030ab8753366c84a78
TcpPing: Better error handling, logging

Log every attempt to reach a port on another node. Don't silently return
False if a target not recognized as an IP address is given (e.g. a
hostname).

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
lib/netutils.py