On Mon, Feb 20, 2012 at 15:21, Iustin Pop <[email protected]> wrote:
> This adds the spindleCount, hiSpindles and instSpindles attributes.
>
> The spindleCount is equivalent to spindle_count on the ganeti side (a
> node parameter). hiSpindles is the maximum instance-used spindles, and
> instSpindles will be used to track spindles as used by instances (in
> later patches).
>
> The patch also reads spindleCount from the live backends. The text and
> simu backends currently set it to 1, hard-coded.
> ---
>  htools/Ganeti/HTools/IAlloc.hs |    9 ++++++---
>  htools/Ganeti/HTools/Luxi.hs   |   11 ++++++-----
>  htools/Ganeti/HTools/Node.hs   |   22 +++++++++++++++++++---
>  htools/Ganeti/HTools/QC.hs     |    2 +-
>  htools/Ganeti/HTools/Rapi.hs   |    8 +++++---
>  htools/Ganeti/HTools/Simu.hs   |    4 ++--
>  htools/Ganeti/HTools/Text.hs   |    4 ++--
>  7 files changed, 41 insertions(+), 19 deletions(-)

LGTM.

René

Reply via email to