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.
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: ganeti.cli.JobPollReportCbBase.__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