class documentation
class JobPollCbBase(object):
Known subclasses: ganeti.rapi.client_utils.RapiJobPollCb
, ganeti.cli._LuxiJobPollCb
Base class for GenericPollJob
callbacks.
Method | __init__ |
Initializes this class. |
Method |
|
Cancels a currently running job. |
Method |
|
Returns the selected fields for the selected job IDs. |
Method |
|
Waits for changes on a job. |
overridden in
ganeti.rapi.client_utils.RapiJobPollCb
, ganeti.cli._LuxiJobPollCb
Initializes this class.
overridden in
ganeti.rapi.client_utils.RapiJobPollCb
, ganeti.cli._LuxiJobPollCb
Cancels a currently running job.
Parameters | |
job | The ID of the Job we want to cancel |
overridden in
ganeti.rapi.client_utils.RapiJobPollCb
, ganeti.cli._LuxiJobPollCb
Returns the selected 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):
¶
overridden in
ganeti.rapi.client_utils.RapiJobPollCb
, ganeti.cli._LuxiJobPollCb
Waits for changes on a job.