Revision b989b9d9 lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
1044 | 1044 |
return self._SingleNodeCall(node, "export_remove", [export]) |
1045 | 1045 |
|
1046 | 1046 |
@classmethod |
1047 |
def call_node_leave_cluster(cls, node): |
|
1047 |
def call_node_leave_cluster(cls, node, modify_ssh_setup):
|
|
1048 | 1048 |
"""Requests a node to clean the cluster information it has. |
1049 | 1049 |
|
1050 | 1050 |
This will remove the configuration information from the ganeti data |
... | ... | |
1053 | 1053 |
This is a single-node call. |
1054 | 1054 |
|
1055 | 1055 |
""" |
1056 |
return cls._StaticSingleNodeCall(node, "node_leave_cluster", []) |
|
1056 |
return cls._StaticSingleNodeCall(node, "node_leave_cluster", |
|
1057 |
[modify_ssh_setup]) |
|
1057 | 1058 |
|
1058 | 1059 |
def call_node_volumes(self, node_list): |
1059 | 1060 |
"""Gets all volumes on node(s). |
Also available in: Unified diff