Statistics
| Branch: | Tag: | Revision:

root / Ganeti / HTools @ adc5c176

Name Size
CLI.hs 14.3 kB
Cluster.hs 33.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 5.6 kB
Node.hs 18.5 kB
PeerMap.hs 2.8 kB
QC.hs 25.9 kB
Rapi.hs 4.9 kB
Simu.hs 2.2 kB
Text.hs 5.4 kB
Types.hs 5.9 kB
Utils.hs 6.6 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
adc5c176 09/02/2010 03:43 pm Iustin Pop

Add some more debugging functions

These are just variations of the standard debug, but are provided for
simpler code, since lazyness is something causing non-computation of
debug statements.

74e89a14 09/02/2010 03:43 pm Iustin Pop

Fix ReplaceSecondary moves for offline nodes

The addition of a new secondary on a node is doing two memory tests:
- in strict mode, reject if we get into N+1 failure
- reject if the new instance memory is greater than the free memory (not
available memory) on the node...

94d08202 08/30/2010 12:12 pm Iustin Pop

Change iterateAlloc to return the instance list

The Cluster.iterateAlloc and tieredAlloc functions are changed to also
return the updated instance list, since it is needed to have a “full”
cluster view.

4a273e97 08/30/2010 12:12 pm Iustin Pop

Abstract the cluster serialization from hscan.hs

This is currently hardcoded in an internal function in hscan.hs, and we
move it to Text.hs for later use.

02da9d07 08/25/2010 07:40 pm Iustin Pop

Add a new option --save-cluster

This option will in the future be used to serialize the cluster state in
hbal and hspace after the rebalance/allocation steps.

50811e2c 08/25/2010 07:04 pm Iustin Pop

Add unittest for Node text serialization

This checks that the Node text serialization and deserialization
operations are idempotent when combined other.

a070c426 08/25/2010 06:53 pm Iustin Pop

Switch unittest to custom hostnames

Currently, the hostnames are almost fully arbitrary chars, which breaks
the assumption that nodes/instances will be normal DNS hostnames.

This patch adds some custom generators for these hostnames, that will
allow better testing of text loader serialization/deserialization.

3bf75b7d 08/24/2010 07:30 pm Iustin Pop

Move text serialization functions to Text.hs

Currently these are in hscan, and cannot be reused easily.

0ca66853 07/27/2010 09:44 pm Iustin Pop

hail: fix error message for failed multi-evac

Currently we show the instance index, but this makes no sense outside
the current running program. Instead, we show the instance name.

b8262965 07/22/2010 04:57 pm Iustin Pop

Fix another haddock issue

View revisions

Also available in: Atom