Package ganeti :: Module cli :: Class JobPollCbBase
[hide private]
[frames] | no frames]

Class JobPollCbBase

source code


Base class for GenericPollJob callbacks.

Instance Methods [hide private]
 
__init__(self)
Initializes this class.
source code
 
WaitForJobChangeOnce(self, job_id, fields, prev_job_info, prev_log_serial)
Waits for changes on a job.
source code
 
QueryJobs(self, job_ids, fields)
Returns the selected fields for the selected job IDs.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initializes this class.

Overrides: object.__init__

QueryJobs(self, job_ids, fields)

source code 

Returns the selected fields for the selected job IDs.

Parameters:
  • job_ids (list of numbers) - Job IDs
  • fields (list of strings) - Fields