Revision ee8fd7b7 lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
844 | 844 |
return self._MultiNodeCall(node_list, "instance_list", [hypervisor_list]) |
845 | 845 |
|
846 | 846 |
@_RpcTimeout(_TMO_FAST) |
847 |
def call_node_tcp_ping(self, node, source, target, port, timeout, |
|
848 |
live_port_needed): |
|
849 |
"""Do a TcpPing on the remote node |
|
850 |
|
|
851 |
This is a single-node call. |
|
852 |
|
|
853 |
""" |
|
854 |
return self._SingleNodeCall(node, "node_tcp_ping", |
|
855 |
[source, target, port, timeout, |
|
856 |
live_port_needed]) |
|
857 |
|
|
858 |
@_RpcTimeout(_TMO_FAST) |
|
859 | 847 |
def call_node_has_ip_address(self, node, address): |
860 | 848 |
"""Checks if a node has the given IP address. |
861 | 849 |
|
Also available in: Unified diff