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
Method Details [hide private]

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