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

Class FeedbackFnJobPollReportCb

source code


Instance Methods [hide private]
 
__init__(self, feedback_fn)
Initializes this class.
source code
 
ReportLogMessage(self, job_id, serial, timestamp, log_type, log_msg)
Handles a log message.
source code
 
ReportNotChanged(self, job_id, status)
Called if a job hasn't changed in a while.
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, feedback_fn)
(Constructor)

source code 

Initializes this class.

Overrides: object.__init__

ReportLogMessage(self, job_id, serial, timestamp, log_type, log_msg)

source code 

Handles a log message.

Overrides: JobPollReportCbBase.ReportLogMessage

ReportNotChanged(self, job_id, status)

source code 

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

Parameters:
  • job_id - Job ID
  • status - Job status if available
Overrides: JobPollReportCbBase.ReportNotChanged