Statistics
| Branch: | Tag: | Revision:

root / Ganeti / HTools @ 2ca68e2b

Name Size
CLI.hs 16.1 kB
Cluster.hs 42.7 kB
Container.hs 2.4 kB
ExtLoader.hs 5.1 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.2 kB
PeerMap.hs 2.8 kB
QC.hs 29.8 kB
Rapi.hs 6.6 kB
Simu.hs 3.3 kB
Text.hs 6.8 kB
Types.hs 7.9 kB
Utils.hs 7 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
2ca68e2b 01/07/2011 05:39 pm Iustin Pop

Evacuation: extract the inner fold function

This makes the code more readable, which will help with the
multi-group evacuation.

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

c9224fa4 01/07/2011 05:39 pm Iustin Pop

Rapi: fully evaluate the body in getUrl

Currently, the Rapi.getUrl function returns the body without
evaluating it, and the other functions (loadData, parseData) do the
same. In effect, the top-level structure returned from loadData can be
a thunk which depends on the curl operation, thus keeping the curl...

4d8e5008 01/07/2011 05:39 pm Iustin Pop

Rapi: move the curl options list to a separate var

A small cleanup, this just moves the options to a separate list to
avoid instantiation at every call.

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

55da339e 01/07/2011 05:39 pm Iustin Pop

Node: add and export a 'used disk' function

This is similar to iMem.

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

425af248 01/07/2011 05:39 pm Iustin Pop

Node: Export the instance memory function

This exports the iMem function as a standalone function, instead of
being hardcoded in showField.

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

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 <>

View revisions

Also available in: Atom