Statistics
| Branch: | Tag: | Revision:

root @ 3f6af65c

Name Size
  Ganeti
.gitattributes 21 Bytes
.gitignore 158 Bytes
COPYING 17.6 kB
Makefile 1.4 kB
NEWS 3.8 kB
README 2 kB
haddock-prologue 353 Bytes
hbal.1 17.4 kB
hbal.hs 11.7 kB
hn1.1 9.1 kB
hn1.hs 7.4 kB
hscan.1 2.9 kB
hscan.hs 6.4 kB
hscolour.css 195 Bytes

Latest revisions

# Date Author Comment
3f6af65c 05/19/2009 01:19 am Iustin Pop

Update the IAlloc module

We know have a working parseData function that returns the node and
instance data. This uncovered bad support for non-drbd instances ☹

9ba5c28f 05/18/2009 12:03 pm Iustin Pop

Move the JSON utilities to Utils.hs

This patch moves the generic/reusable JSON functions to Utils.hs, so
that they're shared between RAPI/IAlloc.

43643696 05/18/2009 09:46 am Iustin Pop

Add a copy of Rapi.HS as IAlloc.hs

This will be used in two ways:
- format the response to Ganeti (easy, implemented)
- parse the input data and build the node/instance lists (hard :)

425e3906 05/18/2009 09:18 am Iustin Pop

Remove the apidoc dir on clean

d09b6ed3 04/26/2009 05:15 pm Iustin Pop

hbal: add a --quiet option

This option is the opposite of the --verbose option, and it allows
decreasing the verbosity level from the default of one to zero (which
currently doesn't show the warning messages for missing disk/memory).

ba6c6006 04/25/2009 06:40 pm Iustin Pop

hbal: Simplify the oneline formatting

This patch moves the oneline format into a separate function for easier
usage.

dcbcdb58 04/25/2009 06:40 pm Iustin Pop

hbal: Early exit when we don't have any instances

For clusters with no instances, there is no point in computing either
the score or in running the algorithm. In this case, we exit prematurely
and when running in one-line mode we show dummy information.

b0517d61 04/25/2009 06:40 pm Iustin Pop

hbal: Add a new min-score option

This new parameter causes the algorithm to finish (or even not start at
all) if we reach/have a score better than it.

b161386d 04/25/2009 06:39 pm Iustin Pop

hbal: Change hardcoded tests to monadic composition

In some case we manually do “if isNothing … then Nothing else …”, which
can be very easily replaced with a monadic construct in the Maybe monad.

f438b9b3 04/21/2009 10:05 am Iustin Pop

Fix the makefile dist rule

It was missing a dependency on the Version.hs file, so right after “make
clean”, a “make dist” used to fail.

View all revisions | View revisions

Also available in: Atom