Create an instance.
|
|
_CheckDiskTemplateValid(self)
Checks validity of disk template. |
source code
|
|
|
|
_CheckDiskArguments(self)
Checks validity of disk-related arguments. |
source code
|
|
|
|
_CheckVLANArguments(self)
Check validity of VLANs if given |
source code
|
|
|
|
|
|
|
|
|
|
_RunAllocator(self)
Run the allocator based on input opcode. |
source code
|
|
|
dict
|
|
|
tuple; (list, list)
|
|
|
|
|
|
|
|
|
|
_RevertToDefaults(self,
cluster)
Revert the instance parameters to the default values. |
source code
|
|
|
|
_CalculateFileStorageDir(self)
Calculate final instance file storage dir. |
source code
|
|
|
|
|
|
|
Exec(self,
feedback_fn)
Create and add the instance to the cluster. |
source code
|
|
|
Inherited from base.LogicalUnit:
DeclareLocks,
HooksCallBack,
PreparePostHookNodes,
__init__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|