IAllocator framework.
|
__init__(self,
cfg,
rpc_runner,
req)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
same as the result of the node info RPC call
|
|
|
|
|
|
|
_BuildInputData(self,
req)
Build input data structures. |
source code
|
|
|
Run(self,
name,
validate=True,
call_fn=None)
Run an instance allocator and return the results. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
_ComputeNodeGroupData(cluster,
ginfo)
Compute node groups data. |
source code
|
|
dict
|
|
integer
|
|
4-tuple of integers
|
|
4-tuple of integers
|
|
tuple (int, int, int)
|
|
|
_ComputeInstanceData(cfg,
cluster_info,
i_list)
Compute global instance data. |
source code
|
|