Trees | Indices | Help |
|
---|
|
IAllocator framework.
An IAllocator instance has three sets of attributes:
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
dict |
|
||
|
|||
|
|||
|
|
|||
_STRING_LIST = ht.TListOf(ht.TString)
|
|||
_JOB_LIST = ht.TListOf(ht.TListOf(ht.TStrictDict(True, False,
|
|||
_NEVAC_MOVED = ht.TListOf(ht.TAnd(ht.TIsLength(3), ht.TItems([
|
|||
_NEVAC_FAILED = ht.TListOf(ht.TAnd(ht.TIsLength(2), ht.TItems(
|
|||
_NEVAC_RESULT = ht.TAnd(ht.TIsLength(3), ht.TItems([_NEVAC_MOV
|
|||
_MODE_DATA = {constants.IALLOCATOR_MODE_ALLOC:(_AddNewInstance
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Compute the generic allocator input data. This is the data that is independent of the actual operation. |
Compute global node data.
|
Compute global node data.
|
Add new instance data to allocator structure. This in combination with _AllocatorGetClusterData will create the correct structure needed as input for the allocator. The checks for the completeness of the opcode must have already been done. |
Add relocate instance data to allocator structure. This in combination with _IAllocatorGetClusterData will create the correct structure needed as input for the allocator. The checks for the completeness of the opcode must have already been done. |
Process the allocator results. This will process and if successful save the result in self.out_data and the other parameters. |
Returns a list of unique group names for a list of nodes.
|
|
_JOB_LIST
|
_NEVAC_MOVED
|
_NEVAC_FAILED
|
_NEVAC_RESULT
|
_MODE_DATA
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 16:51:21 2012 | http://epydoc.sourceforge.net |