Revision 14fe92c7
b/lib/rpc_defs.py | ||
---|---|---|
584 | 584 |
"RpcClientDnsOnly": _Prepare([ |
585 | 585 |
("version", MULTI, ACCEPT_OFFLINE_NODE, constants.RPC_TMO_URGENT, [], None, |
586 | 586 |
None, "Query node version"), |
587 |
("node_verify_light", MULTI, None, constants.RPC_TMO_NORMAL, [ |
|
588 |
("checkdict", None, None), |
|
589 |
("cluster_name", None, None), |
|
590 |
], None, None, "Request verification of given parameters"), |
|
587 | 591 |
]), |
588 | 592 |
"RpcClientConfig": _Prepare([ |
589 | 593 |
("upload_file", MULTI, None, constants.RPC_TMO_NORMAL, [ |
b/lib/server/noded.py | ||
---|---|---|
706 | 706 |
""" |
707 | 707 |
return backend.VerifyNode(params[0], params[1]) |
708 | 708 |
|
709 |
@classmethod |
|
710 |
def perspective_node_verify_light(cls, params): |
|
711 |
"""Run a light verify sequence on this node. |
|
712 |
|
|
713 |
""" |
|
714 |
# So far it's the same as the normal node_verify |
|
715 |
return cls.perspective_node_verify(params) |
|
716 |
|
|
709 | 717 |
@staticmethod |
710 | 718 |
def perspective_node_start_master_daemons(params): |
711 | 719 |
"""Start the master daemons on this node. |
Also available in: Unified diff