class documentation
class RapiJobPollCb(cli.JobPollCbBase):
Undocumented
Method | __init__ |
Initializes this class. |
Method |
|
Cancels a currently running job. |
Method |
|
Returns the given fields for the selected job IDs. |
Method |
|
Waits for changes on a job. |
Instance Variable | cl |
Undocumented |
overrides
ganeti.cli.JobPollCbBase.__init__
Initializes this class.
Parameters | |
cl | RAPI client instance |
overrides
ganeti.cli.JobPollCbBase.QueryJobs
Returns the given fields for the selected job IDs.
Parameters | |
job | Job IDs |
fields:list of strings | Fields |
def WaitForJobChangeOnce(self, job_id, fields, prev_job_info, prev_log_serial, timeout=constants.DEFAULT_WFJC_TIMEOUT):
¶
Waits for changes on a job.