Package ganeti :: Package masterd :: Module iallocator :: Class IAReqInstanceAllocateSecondary
[hide private]
[frames] | no frames]

Class IAReqInstanceAllocateSecondary

source code


Request to find a secondary node for plain to DRBD conversion.

Nested Classes [hide private]

Inherited from IARequestBase: __metaclass__

Instance Methods [hide private]
 
REQ_RESULT(val)
Checks if the given value is a string.
source code
 
GetRequest(self, cfg)
Gets the request data dict.
source code

Inherited from IARequestBase: GetExtraParams, Validate, ValidateResult, __init__

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

Class Methods [hide private]

Inherited from outils.ValidatedSlots: GetAllSlots

Class Variables [hide private]
  MODE = constants.IALLOCATOR_MODE_ALLOCATE_SECONDARY
  REQ_PARAMS = [_INST_NAME,]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

REQ_RESULT(val)

source code 

Checks if the given value is a string.

Decorators:
  • @WithDesc("String")
Overrides: REQ_RESULT

GetRequest(self, cfg)

source code 

Gets the request data dict.

Parameters:
  • cfg - The configuration instance
Overrides: IARequestBase.GetRequest
(inherited documentation)