class documentation
class RpcClientConfig(object):
Known subclasses: ganeti.rpc.node.ConfigRunner
, ganeti.rpc.node.RpcRunner
Undocumented
Method | call |
Wrapper for RPC call 'upload_file' |
Method | call |
Wrapper for RPC call 'upload_file_single' |
Method | call |
Wrapper for RPC call 'write_ssconf_files' |
Constant | _CALLS |
Undocumented |
Wrapper for RPC call 'upload_file'
Upload files
Parameters | |
node | List of node names |
file | Undocumented |
_def | Undocumented |
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 of node names |
file | The name of the file |
content | The data to be uploaded |
mode | The mode of the file or None |
uid | The owner of the file |
gid | The group of the file |
atime | The file's last access time |
mtime | The file's last modification time |
_def | Undocumented |
Note | |
This is a multi-node call with a timeout of 15m 0s |