Package ganeti :: Module _generated_rpc :: Class RpcClientConfig
[hide private]
[frames] | no frames]

Class RpcClientConfig

source code


Instance Methods [hide private]
 
call_upload_file(self, node_list, file_name, _def=_CALLS ['upload_file'])
Wrapper for RPC call 'upload_file'
source code
 
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'
source code
 
call_write_ssconf_files(self, node_list, values, _def=_CALLS ['write_ssconf_files'])
Wrapper for RPC call 'write_ssconf_files'
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _CALLS = rpc_defs.CALLS ['RpcClientConfig']
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

call_upload_file(self, node_list, file_name, _def=_CALLS ['upload_file'])

source code 

Wrapper for RPC call 'upload_file'

Upload files

Parameters:
  • node_list (list of string) - List of node names

Note: This is a multi-node call with a timeout of 15m 0s

call_upload_file_single(self, node_list, file_name, content, mode, uid, gid, atime, mtime, _def=_CALLS ['upload_file_single'])

source code 

Wrapper for RPC call 'upload_file_single'

Upload files

Parameters:
  • node_list (list of string) - List of node names
  • file_name - 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

Note: This is a multi-node call with a timeout of 15m 0s

call_write_ssconf_files(self, node_list, values, _def=_CALLS ['write_ssconf_files'])

source code 

Wrapper for RPC call 'write_ssconf_files'

Write ssconf files

Parameters:
  • node_list (list of string) - List of node names

Note: This is a multi-node call with a timeout of 15m 0s