Package ganeti :: Package cmdlib :: Module base :: Class ResultWithJobs
[hide private]
[frames] | no frames]

Class ResultWithJobs

source code

Data container for LU results with jobs.

Instances of this class returned from LogicalUnit.Exec will be recognized by mcpu._ProcessResult. The latter will then submit the jobs contained in the jobs attribute and include the job IDs in the opcode result.

Instance Methods [hide private]
 
__init__(self, jobs, **kwargs)
Initializes this class.
source code
Method Details [hide private]

__init__(self, jobs, **kwargs)
(Constructor)

source code 

Initializes this class.

Additional return values can be specified as keyword arguments.

Parameters:
  • jobs (list of lists of opcode.OpCode) - A list of lists of opcode objects