Package ganeti :: Module mcpu :: Class OpExecCbBase
[hide private]
[frames] | no frames]

Class OpExecCbBase

source code

Base class for OpCode execution callbacks.

Instance Methods [hide private]
 
NotifyStart(self)
Called when we are about to execute the LU.
source code
 
Feedback(self, *args)
Sends feedback from the LU code to the end-user.
source code
 
CheckCancel(self)
Check whether job has been cancelled.
source code
 
SubmitManyJobs(self, jobs)
Submits jobs for processing.
source code
Method Details [hide private]

NotifyStart(self)

source code 

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.

SubmitManyJobs(self, jobs)

source code 

Submits jobs for processing.

See jqueue.JobQueue.SubmitManyJobs.