Statistics
| Branch: | Tag: | Revision:

root / Ganeti / HTools @ a423b510

Name Size
CLI.hs 15.2 kB
Cluster.hs 34.7 kB
Container.hs 2.8 kB
ExtLoader.hs 4.6 kB
IAlloc.hs 6.4 kB
Instance.hs 6.1 kB
Loader.hs 8.3 kB
Luxi.hs 6.1 kB
Node.hs 19 kB
PeerMap.hs 2.8 kB
QC.hs 27 kB
Rapi.hs 5.4 kB
Simu.hs 2.4 kB
Text.hs 5.8 kB
Types.hs 5.9 kB
Utils.hs 7 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
a423b510 12/01/2010 03:00 pm Iustin Pop

Add new command-line option for group selection

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

32b8d9c0 12/01/2010 03:00 pm Iustin Pop

Add two functions for checking cluster consistency

For now, we don't support instances allocated across two groups, and we
will reject such clusters. The isClusterConsistent function will return
a list of inconsistent instances, potentially allowing operation without...

d8bcd0a8 12/01/2010 03:00 pm Iustin Pop

Add function for nodes to (nodgroup, nodes) split

Unittests included. The function will be needed for consistency checks
in the algorithms.

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

c4d98278 12/01/2010 03:00 pm Iustin Pop

Add a type alias for UUIDs

This is to pottentially allow easier changes later.

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

b7b29191 11/24/2010 03:55 pm Iustin Pop

RAPI: read the group UUID from the server

This depends on future support from Ganeti (2.4+).

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

31463db5 11/24/2010 03:55 pm Iustin Pop

IAlloc: read group uuid from the input message

This makes the code incompatible with JSON files from Ganeti pre-2.4.

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

b3707354 11/24/2010 03:55 pm Iustin Pop

Text: read/save the node group UUID

Compatibility with old text files is kept by using the default UUID if
the file (or even some records) don't have a UUID.

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

f5ed8632 11/24/2010 03:55 pm Iustin Pop

Luxi: read the node uuid from the cluster

This makes the code incompatible with Ganeti pre-2.4.

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

a68004b7 11/24/2010 03:55 pm Iustin Pop

Node: add the node group's UUID

This is not used anywhere yet, and the backend are all just adding the
default UUID, not the real one.

The patch also allows displaying the group UUID in the node list.

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

9b9da389 11/24/2010 03:54 pm Iustin Pop

Utils: add a default UUID

This will be used as a placeholder for the cases when we need a UUID
(any UUID), but we don't have one handy.

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

View revisions

Also available in: Atom