Script move_instance :: Class MoveJobPollReportCb
[hide private]
[frames] | no frames]

Class MoveJobPollReportCb


Instance Methods [hide private]
 
__init__(self, abort_check_fn, remote_import_fn)
Initializes this class.
 
ReportLogMessage(self, job_id, serial, timestamp, log_type, log_msg)
Handles a log message.
 
ReportNotChanged(self, job_id, status)
Called if a job hasn't changed in a while.

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, abort_check_fn, remote_import_fn)
(Constructor)

 

Initializes this class.

Parameters:
  • abort_check_fn (callable) - Function to check whether move is aborted
  • remote_import_fn (callable or None) - Callback for reporting received remote import information
Overrides: object.__init__

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

 

Handles a log message.

Overrides: ganeti.cli.JobPollReportCbBase.ReportLogMessage

ReportNotChanged(self, job_id, status)

 

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

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