class documentation
class RpcClientBootstrap(object):
Known subclasses: ganeti.rpc.node.BootstrapRunner
, ganeti.rpc.node.RpcRunner
Undocumented
Method | call |
Wrapper for RPC call 'master_node_name' |
Method | call |
Wrapper for RPC call 'node_activate_master_ip' |
Method | call |
Wrapper for RPC call 'node_change_master_netmask' |
Method | call |
Wrapper for RPC call 'node_deactivate_master_ip' |
Method | call |
Wrapper for RPC call 'node_leave_cluster' |
Method | call |
Wrapper for RPC call 'node_start_master_daemons' |
Method | call |
Wrapper for RPC call 'node_stop_master' |
Constant | _CALLS |
Undocumented |
Wrapper for RPC call 'master_node_name'
Returns the master node name
Parameters | |
node | List of node names |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 1m 0s |
def call_node_activate_master_ip(self, node, master_params, use_external_mip_script, _def=_CALLS[ 'node_activate_master_ip']):
¶
Wrapper for RPC call 'node_activate_master_ip'
Activates master IP on a node
Parameters | |
node:string | Node name |
master | Network parameters of the master |
use | Whether to use the user-provided master IP address setup script |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
def call_node_change_master_netmask(self, node, old_netmask, netmask, master_ip, master_netdev, _def=_CALLS[ 'node_change_master_netmask']):
¶
Wrapper for RPC call 'node_change_master_netmask'
Change master IP netmask
Parameters | |
node:string | Node name |
old | The old value of the netmask |
netmask | The new value of the netmask |
master | The master IP |
master | The master network device |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
def call_node_deactivate_master_ip(self, node, master_params, use_external_mip_script, _def=_CALLS[ 'node_deactivate_master_ip']):
¶
Wrapper for RPC call 'node_deactivate_master_ip'
Deactivates master IP on a node
Parameters | |
node:string | Node name |
master | Network parameters of the master |
use | Whether to use the user-provided master IP address setup script |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |
Wrapper for RPC call 'node_leave_cluster'
Requests a node to clean the cluster information it has
Parameters | |
node:string | Node name |
modify | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 15m 0s |
def call_node_start_master_daemons(self, node, no_voting, _def=_CALLS[ 'node_start_master_daemons']):
¶
Wrapper for RPC call 'node_start_master_daemons'
Starts master daemons on a node
Parameters | |
node:string | Node name |
no | Undocumented |
_def | Undocumented |
Note | |
This is a single-node call with a timeout of 5m 0s |