Commit ee8fd7b7 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Remove “node_tcp_ping” RPC

It is not used anywhere.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent dce20078
...@@ -843,18 +843,6 @@ class RpcRunner(object): ...@@ -843,18 +843,6 @@ class RpcRunner(object):
""" """
return self._MultiNodeCall(node_list, "instance_list", [hypervisor_list]) return self._MultiNodeCall(node_list, "instance_list", [hypervisor_list])
def call_node_tcp_ping(self, node, source, target, port, timeout,
"""Do a TcpPing on the remote node
This is a single-node call.
return self._SingleNodeCall(node, "node_tcp_ping",
[source, target, port, timeout,
@_RpcTimeout(_TMO_FAST) @_RpcTimeout(_TMO_FAST)
def call_node_has_ip_address(self, node, address): def call_node_has_ip_address(self, node, address):
"""Checks if a node has the given IP address. """Checks if a node has the given IP address.
...@@ -654,14 +654,6 @@ class NodeHttpServer(http.server.HttpServer): ...@@ -654,14 +654,6 @@ class NodeHttpServer(http.server.HttpServer):
# node -------------------------- # node --------------------------
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 @staticmethod
def perspective_node_has_ip_address(params): def perspective_node_has_ip_address(params):
"""Checks if a node has the given ip address. """Checks if a node has the given ip address.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment