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

Class RpcClientJobQueue

source code


Instance Methods [hide private]
 
call_jobqueue_purge(self, node, _def=_CALLS ['jobqueue_purge'])
Wrapper for RPC call 'jobqueue_purge'
source code
 
call_jobqueue_rename(self, node_list, rename, _def=_CALLS ['jobqueue_rename'])
Wrapper for RPC call 'jobqueue_rename'
source code
 
call_jobqueue_set_drain_flag(self, node_list, flag, _def=_CALLS ['jobqueue_set_drain_flag'])
Wrapper for RPC call 'jobqueue_set_drain_flag'
source code
 
call_jobqueue_update(self, node_list, file_name, content, _def=_CALLS ['jobqueue_update'])
Wrapper for RPC call 'jobqueue_update'
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 ['RpcClientJobQueue']
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

call_jobqueue_purge(self, node, _def=_CALLS ['jobqueue_purge'])

source code 

Wrapper for RPC call 'jobqueue_purge'

Purge job queue

Parameters:
  • node (string) - Node name

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

call_jobqueue_rename(self, node_list, rename, _def=_CALLS ['jobqueue_rename'])

source code 

Wrapper for RPC call 'jobqueue_rename'

Rename job queue file

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

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

call_jobqueue_set_drain_flag(self, node_list, flag, _def=_CALLS ['jobqueue_set_drain_flag'])

source code 

Wrapper for RPC call 'jobqueue_set_drain_flag'

Set job queue drain flag

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

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

call_jobqueue_update(self, node_list, file_name, content, _def=_CALLS ['jobqueue_update'])

source code 

Wrapper for RPC call 'jobqueue_update'

Update job queue file

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

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