Package ganeti :: Package cmdlib :: Module instance :: Class LUInstanceMultiAlloc
[hide private]
[frames] | no frames]

Class LUInstanceMultiAlloc

source code


Allocates multiple instances at the same time.

Instance Methods [hide private]
 
CheckArguments(self)
Check arguments.
source code
 
ExpandNames(self)
Calculate the locks.
source code
 
CheckPrereq(self)
Check prerequisite.
source code
 
_ConstructPartialResult(self)
Contructs the partial result.
source code
 
Exec(self, feedback_fn)
Executes the opcode.
source code

Inherited from base.NoHooksLU: BuildHooksEnv, BuildHooksNodes, PreparePostHookNodes

Inherited from base.LogicalUnit: AssertReleasedLocks, DeclareLocks, HooksCallBack, PrepareRetry, WConfdClient, __init__, owned_locks, release_request

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  REQ_BGL = False

Inherited from base.NoHooksLU: HPATH, HTYPE

Instance Variables [hide private]

Inherited from base.LogicalUnit: dry_run_result

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

CheckArguments(self)

source code 

Check arguments.

Overrides: base.LogicalUnit.CheckArguments

ExpandNames(self)

source code 

Calculate the locks.

Overrides: base.LogicalUnit.ExpandNames

CheckPrereq(self)

source code 

Check prerequisite.

Overrides: base.LogicalUnit.CheckPrereq

Exec(self, feedback_fn)

source code 

Executes the opcode.

Overrides: base.LogicalUnit.Exec