Statistics
| Branch: | Tag: | Revision:

root / htools / Ganeti / HTools @ 56c094b4

Name Size
CLI.hs 16.1 kB
Cluster.hs 45.4 kB
Container.hs 2.4 kB
ExtLoader.hs 5 kB
Group.hs 2.3 kB
IAlloc.hs 7.7 kB
Instance.hs 6.1 kB
Loader.hs 9 kB
Luxi.hs 8 kB
Node.hs 19.6 kB
PeerMap.hs 2.8 kB
QC.hs 32.4 kB
Rapi.hs 6.9 kB
Simu.hs 3.3 kB
Text.hs 7.1 kB
Types.hs 8 kB
Utils.hs 7.4 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
df5227dc 05/24/2011 06:22 pm Iustin Pop

IAllocator.hs: replace a few strings with constants

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

e82271f8 05/24/2011 06:22 pm Iustin Pop

Replace instance states hardcoded with constants

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

2e5eb96a 05/24/2011 06:22 pm Iustin Pop

Convert group policies to constants

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

6a062ff9 04/18/2011 12:58 pm Iustin Pop

htools: make some error messages more explicit

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

9cbc1edb 04/14/2011 11:35 am Iustin Pop

Add some tests for the auto_balance attribute

It tests node add/remove secondary, rather than cluster-level N+1
checks, but it's better than nothing.

Signed-off-by: Iustin Pop <>
Reviewed-by: Adeodato Simo <>

929b60d8 04/14/2011 11:35 am Iustin Pop

Node operations: take into account auto_balance

This patch changes the add to secondary/remove from secondary code to
not deduct/add the instance's memory if the instance is not
auto_balanced.

Signed-off-by: Iustin Pop <>
Reviewed-by: Adeodato Simo <>

bc782180 04/14/2011 11:35 am Iustin Pop

Read/write auto_balance via Text

This also means another change in the text format; we really should
move to json…

The unittests are also update for the new 9-column layout and
additionally a bit of improvement is done.

Signed-off-by: Iustin Pop <>...

a041ebb5 04/14/2011 11:34 am Iustin Pop

Read auto_balance via Rapi

Signed-off-by: Iustin Pop <>
Reviewed-by: Adeodato Simo <>

6880526c 04/14/2011 11:34 am Iustin Pop

Read auto_balance via Luxi

Signed-off-by: Iustin Pop <>
Reviewed-by: Adeodato Simo <>

93439b1c 04/14/2011 11:33 am Iustin Pop

Show the auto_balance flag in the instance listing

Signed-off-by: Iustin Pop <>
Reviewed-by: Adeodato Simo <>

View revisions

Also available in: Atom