Trees | Indices | Help |
|
---|
|
IAllocator framework.
An IAllocator instance has three sets of attributes:
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|
|||
_ALLO_KEYS = ["name", "mem_size", "disks", "disk_template", "o
|
|||
_RELO_KEYS = ["name", "relocate_from",]
|
|||
_EVAC_KEYS = ["evac_nodes",]
|
|
|||
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. |
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. |
|
_ALLO_KEYS
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Dec 20 13:26:41 2010 | http://epydoc.sourceforge.net |