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

Class JobPollReportCbBase

source code


Base class for GenericPollJob reporting callbacks.

Instance Methods [hide private]
 
__init__(self)
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 for 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)
(Constructor)

source code 

Initializes this class.

Overrides: object.__init__

ReportNotChanged(self, job_id, status)

source code 

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

Parameters:
  • job_id (number) - Job ID
  • status (string or None) - Job status if available