Statistics
| Branch: | Tag: | Revision:

root @ 33e44f0c

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.2 kB
haddock-prologue 360 Bytes
hail.hs 3.7 kB
hbal.hs 15.2 kB
hscan.hs 4.7 kB
hspace.hs 11.8 kB
live-test.sh 4.8 kB
test.hs 2.6 kB

Latest revisions

# Date Author Comment
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 <>...

417f6b50 12/30/2010 11:49 am Iustin Pop

Add maybePrintNodes for abstracting the node list

Since this bit of code (including the “when (isJust …)” is used in
multiple places, let's abstract it in a function that is used
consistently. One (bad?) side-effect is that all node lists are done
to stderr, including the ones from hbal where it was previously done...

4188449c 12/30/2010 11:48 am Iustin Pop

Add maybeSaveData for cluster state saving

This functionality was replicated in multiple places (hbal & hspace),
so we abstract it for better clarity.

Additionally, in hbal we now save the state both before and after
balancing.

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

86ea20e8 12/30/2010 11:45 am Iustin Pop

Simplify the codeflow in hscan.hs

We change processData to just load the data, and return a simpler
type.

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

c0e31451 12/30/2010 11:45 am Iustin Pop

Convert Text.serializeCluster to ClusterData

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

f4f6eb0b 12/30/2010 11:44 am Iustin Pop

Convert the rest of the pipeline to ClusterData

This patch converts the backends and mergeData to the new ClusterData
type.

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

017a0c3d 12/30/2010 11:44 am Iustin Pop

Move part of the loader pipeline to ClusterData

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

34c00528 12/30/2010 11:40 am Iustin Pop

Convert Loader.RqType to ClusterData

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

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

45cb5963 12/30/2010 11:38 am Iustin Pop

Ajust hspace manpage for the new simulation syntax

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

View all revisions | View revisions

Also available in: Atom