Statistics
| Branch: | Tag: | Revision:

root @ 4bc33d60

Name Size
  Ganeti
  doc
  man
.gitattributes 21 Bytes
.gitignore 215 Bytes
AUTHORS 31 Bytes
COPYING 17.6 kB
Makefile 3.3 kB
NEWS 16.8 kB
README 4.3 kB
haddock-prologue 360 Bytes
hail.hs 3.7 kB
hbal.hs 15.2 kB
hscan.hs 4.7 kB
hspace.hs 11.9 kB
live-test.sh 4.8 kB
test.hs 2.6 kB

Latest revisions

# Date Author Comment
4bc33d60 01/07/2011 05:39 pm Iustin Pop

Instance relocation: stay within the current group

This patch adds a new top-level relocation function that restricts the
relocation to the instance's group, and switches hail to it.

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

cb0c77ff 12/30/2010 03:56 pm Iustin Pop

Container: remove fromAssocList

Container.fromAssocList is just a re-export of IntMap.fromList; it
makes sense to remove it and simply export the original name, as it
needs just a bit of renaming in the rest of the code.

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

a3eee4ad 12/30/2010 03:56 pm Iustin Pop

Parallelize the balancing computations

This small patch changes the balancing computation to work in
parallel, if possible.

While the normal linking is against the single-threaded runtime, if
the code is linked against the multi-threaded one, the balancing will...

d5ccec02 12/30/2010 03:46 pm Iustin Pop

Allocation routines: return list of resource stats

Currently, the allocation routines (iterateAlloc and tieredAlloc)
return only the final state of the cluster and the list of allocated
instances. For better visibility in how the cluster resources change,...

f52dadb2 12/30/2010 03:43 pm Iustin Pop

Fix updating of available (V)CPUs in CStats

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

fd3fe74d 12/30/2010 03:43 pm Iustin Pop

RAPI: implement backwards compat with Ganeti 2.3

This is a cheap way to get back compatibility with Ganeti 2.3 (and
lower) in the RAPI backend. It is however not very safe (the /2/groups
resource could fail due to other reasons), so it is added only
temporarily....

a083e855 12/30/2010 03:42 pm Iustin Pop

Document Utils.tryFromObj

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

6bc39970 12/30/2010 03:41 pm Iustin Pop

Add 'Read' instances for most objects

This allows a cluster structure to be easily serialized via "read";
together with the already existing instances of Show, this gives a
poor man's serialization/deserialization implementation.

The patch also exports the compDetailedCV function from Cluster.hs, so...

6eaa7bb8 12/30/2010 11:51 am Iustin Pop

hspace: abstract the listing of the allocation map

Just another cleanup of duplicate code.

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

33e44f0c 12/30/2010 11:49 am Iustin Pop

Add maybePrintInsts for the instance listing

This again abstracts a bit the instance listing. Due to the fact that
I don't want to import Cluster.hs in CLI.hs, we pass the already
generated output. It also moves the instance display to stderr.

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

View all revisions | View revisions

Also available in: Atom