class documentation

class RpcClientConfig(object):

Known subclasses: ganeti.rpc.node.ConfigRunner, ganeti.rpc.node.RpcRunner

View In Hierarchy

Undocumented

Method call_upload_file Wrapper for RPC call 'upload_file'
Method call_upload_file_single Wrapper for RPC call 'upload_file_single'
Method call_write_ssconf_files Wrapper for RPC call 'write_ssconf_files'
Constant _CALLS Undocumented
def call_upload_file(self, node_list, file_name, _def=_CALLS['upload_file']):

Wrapper for RPC call 'upload_file'

Upload files

Parameters
node_list:list of stringList of node names
file_nameUndocumented
_defUndocumented
Note
This is a multi-node call with a timeout of 15m 0s
def call_upload_file_single(self, node_list, file_name, content, mode, uid, gid, atime, mtime, _def=_CALLS['upload_file_single']):

Wrapper for RPC call 'upload_file_single'

Upload files

Parameters
node_list:list of stringList of node names
file_nameThe name of the file
contentThe data to be uploaded
modeThe mode of the file or None
uidThe owner of the file
gidThe group of the file
atimeThe file's last access time
mtimeThe file's last modification time
_defUndocumented
Note
This is a multi-node call with a timeout of 15m 0s
def call_write_ssconf_files(self, node_list, values, _def=_CALLS['write_ssconf_files']):

Wrapper for RPC call 'write_ssconf_files'

Write ssconf files

Parameters
node_list:list of stringList of node names
valuesUndocumented
_defUndocumented
Note
This is a multi-node call with a timeout of 15m 0s
_CALLS =

Undocumented

Value
rpc_defs.CALLS['RpcClientConfig']