Package ganeti :: Package cmdlib :: Module test :: Class LUTestAllocator
[hide private]
[frames] | no frames]

Class LUTestAllocator

source code


Run allocator tests.

This LU runs the allocator tests

Instance Methods [hide private]
 
CheckPrereq(self)
Check prerequisites.
source code
 
Exec(self, feedback_fn)
Run the allocator test.
source code

Inherited from base.NoHooksLU: BuildHooksEnv, BuildHooksNodes, PreparePostHookNodes

Inherited from base.LogicalUnit: AssertReleasedLocks, CheckArguments, DeclareLocks, ExpandNames, 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]

Inherited from base.NoHooksLU: HPATH, HTYPE

Inherited from base.LogicalUnit: REQ_BGL

Instance Variables [hide private]

Inherited from base.LogicalUnit: dry_run_result

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

CheckPrereq(self)

source code 

Check prerequisites.

This checks the opcode parameters depending on the director and mode test.

Overrides: base.LogicalUnit.CheckPrereq

Exec(self, feedback_fn)

source code 

Run the allocator test.

Overrides: base.LogicalUnit.Exec