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

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, 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
Overrides: object.__init__