class documentation

class JobPollReportCbBase(object):

Known subclasses: ganeti.cli.FeedbackFnJobPollReportCb, ganeti.cli.StdioJobPollReportCb

View In Hierarchy

Base class for GenericPollJob reporting callbacks.

Method __init__ Initializes this class.
Method ReportLogMessage Handles a log message.
Method ReportNotChanged Called for if a job hasn't changed in a while.
def __init__(self):
def ReportLogMessage(self, job_id, serial, timestamp, log_type, log_msg):
def ReportNotChanged(self, job_id, status):

Called for if a job hasn't changed in a while.

Parameters
job_id:numberJob ID
status:string or NoneJob status if available