Revision 16abfbc2 daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
38 | 38 |
from ganeti import objects |
39 | 39 |
from ganeti import errors |
40 | 40 |
from ganeti import ssconf |
41 |
from ganeti import utils |
|
41 | 42 |
|
42 | 43 |
from twisted.spread import pb |
43 | 44 |
from twisted.internet import reactor |
... | ... | |
347 | 348 |
# node -------------------------- |
348 | 349 |
|
349 | 350 |
@staticmethod |
351 |
def perspective_node_tcp_ping(params): |
|
352 |
"""Do a TcpPing on the remote node. |
|
353 |
|
|
354 |
""" |
|
355 |
return utils.TcpPing(params[0], params[1], params[2], |
|
356 |
timeout=params[3], live_port_needed=params[4]) |
|
357 |
|
|
358 |
@staticmethod |
|
350 | 359 |
def perspective_node_info(params): |
351 | 360 |
"""Query node information. |
352 | 361 |
|
Also available in: Unified diff