diff --git a/lib/rpc.py b/lib/rpc.py index 3a1cd9b1346b1f5bd9a0a6b824e29e7526aff0c2..7d75a58d5010c20c6a05645e14b17de518e2e1cb 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -843,18 +843,6 @@ class RpcRunner(object): """ return self._MultiNodeCall(node_list, "instance_list", [hypervisor_list]) - @_RpcTimeout(_TMO_FAST) - def call_node_tcp_ping(self, node, source, target, port, timeout, - live_port_needed): - """Do a TcpPing on the remote node - - This is a single-node call. - - """ - return self._SingleNodeCall(node, "node_tcp_ping", - [source, target, port, timeout, - live_port_needed]) - @_RpcTimeout(_TMO_FAST) def call_node_has_ip_address(self, node, address): """Checks if a node has the given IP address. diff --git a/lib/server/noded.py b/lib/server/noded.py index 4cdd870eed4984f0599a5437fe76398ae71e6f16..c67da12545ff67d2471a177da6e165e642930620 100644 --- a/lib/server/noded.py +++ b/lib/server/noded.py @@ -654,14 +654,6 @@ class NodeHttpServer(http.server.HttpServer): # node -------------------------- - @staticmethod - def perspective_node_tcp_ping(params): - """Do a TcpPing on the remote node. - - """ - return netutils.TcpPing(params[1], params[2], timeout=params[3], - live_port_needed=params[4], source=params[0]) - @staticmethod def perspective_node_has_ip_address(params): """Checks if a node has the given ip address.