Statistics
| Branch: | Tag: | Revision:

root / Ganeti / HTools @ 7b6e99b3

Name Size
CLI.hs 15.2 kB
Cluster.hs 40.6 kB
Container.hs 2.5 kB
ExtLoader.hs 4.6 kB
Group.hs 2.3 kB
IAlloc.hs 7.1 kB
Instance.hs 6.1 kB
Loader.hs 9 kB
Luxi.hs 7.1 kB
Node.hs 19 kB
PeerMap.hs 2.8 kB
QC.hs 29.7 kB
Rapi.hs 6.2 kB
Simu.hs 3.4 kB
Text.hs 6.9 kB
Types.hs 7.8 kB
Utils.hs 6.9 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
7b6e99b3 12/30/2010 11:38 am Iustin Pop

Add a new type ClusterData

This will be used to hold all the disparate uses of the cluster data:
we have either tuples with these four elements, or functions taking
these four arguments, etc.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

6c7448bb 12/30/2010 11:38 am Iustin Pop

Simulation backend: read the allocation policy too

This patch moves the allocation policy from hardcoded to be read from
the given specification, and extends the error message for invalid
specifications.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

9983063b 12/30/2010 11:36 am Iustin Pop

Simulation backend: allow multiple node groups

This patch changes the behaviour of the --simulation option to be an
incremental option, where each new use defines a new node group. This
allows simulation of more complex clusters.

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

50211c86 12/23/2010 05:17 pm Iustin Pop

Merge branch 'stable-0.2'

  • devel-0.2:
    Update NEWS file for 0.2.8 release
    hbal: return meaningful exit code for job failures
    Change the balancing function
4715711d 12/23/2010 02:25 pm Iustin Pop

Change the balancing function

Currently the balancing function is a modified version of the standard
deviation (stddev divided by list length), due to historical reasons.

While this works fine for small clusters, for big clusters it makes
the balancing effect too "weak", and in some cases it refuses to...

949397c8 12/23/2010 11:16 am Iustin Pop

Move some tiered spec functionality to Cluster.hs

This splits out a bit of code from hspace.hs and moves it into its own
function in Cluster.hs.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

2ddabf4f 12/20/2010 02:23 pm Iustin Pop

Rapi: read the allocation policy from the cluster

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

c4c37257 12/20/2010 02:23 pm Iustin Pop

Luxi: read the allocation policy from the cluster

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

f4c7d37a 12/20/2010 02:23 pm Iustin Pop

Text: read/write the allocation policy

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

73206d0a 12/20/2010 02:23 pm Iustin Pop

IAllocator: respect the alloc_policy for groups

This patch changes the allocate mode to respect the alloc_policy for
groups. It does this by changing the sort key from simply the solution
score, to a tuple with two elements: the alloc policy (which is now an...

View revisions

Also available in: Atom