class documentation

class OpExecCbBase(object):

Known subclasses: ganeti.jqueue._OpExecCallbacks

View In Hierarchy

Base class for OpCode execution callbacks.

Method CurrentPriority Returns current priority or None.
Method Feedback Sends feedback from the LU code to the end-user.
Method NotifyRetry Called when we are about to reset an LU to retry again.
Method NotifyStart Called when we are about to execute the LU.
Method SubmitManyJobs Submits jobs for processing.
def CurrentPriority(self):

Returns current priority or None.

def Feedback(self, *args):

Sends feedback from the LU code to the end-user.

def NotifyRetry(self):

Called when we are about to reset an LU to retry again.

This function is called after PrepareRetry successfully completed.

def NotifyStart(self):

Called when we are about to execute the LU.

This function is called when we're about to start the lu's Exec() method, that is, after we have acquired all locks.

def SubmitManyJobs(self, jobs):

Submits jobs for processing.

See jqueue.JobQueue.SubmitManyJobs.