Statistics
| Branch: | Tag: | Revision:

root / Ganeti / HTools @ 95446d7a

Name Size
CLI.hs 13.8 kB
Cluster.hs 33.2 kB
Container.hs 3 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 17.1 kB
PeerMap.hs 2.8 kB
QC.hs 24.5 kB
Rapi.hs 4.9 kB
Simu.hs 2.2 kB
Text.hs 3.7 kB
Types.hs 5.9 kB
Utils.hs 6.4 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
95446d7a 06/21/2010 12:12 pm Iustin Pop

Fix another haddock special-char issue

db079755 06/21/2010 05:59 am Iustin Pop

Remove JOB_STATUS_GONE and add unittests

… for the serialization/deserialization of the job and opcode status.

Job status 'gone' was not actually used. It can be reintroduced if
needed.

4a007641 06/03/2010 12:08 am Iustin Pop

Fix some lint errors in the unit tests

683b1ca7 06/02/2010 11:55 pm Iustin Pop

Change the Luxi operations structure

Currently, we define the LuxiOp type as a simple enumeration, and leave
the arguments structure to the users of the Ganeti.Luxi module. This is
suboptimal for a couple of reasons: first, we decouple the operation
type from operation arguments, and that means we don't use the type...

9c0a748f 06/01/2010 11:51 pm Iustin Pop

Fix a warning in Loader tests

Incomplete pattern match…

c088674b 06/01/2010 08:54 pm Iustin Pop

Add a few Loader tests

These are not comprehensive, but at least we have a start.

9e35522c 05/28/2010 12:13 pm Iustin Pop

Reduce the warnings during the unittests

Since the unittests are not 'clean' from the p.o.v. of type
declarations, and cannot be made clean in all respects (e.g. orphan
instances), we silence some warnings for the test target, to have a
cleaner output.

88f25dd0 05/28/2010 12:25 am Iustin Pop

Introduce OpCode unittests

f36a8028 05/28/2010 12:00 am Iustin Pop

Introduce suport for optional keys in JObjects

Some keys are optional in the Ganeti opcodes (e.g. ‘node’ in the
OpReplaceDisks), and as such we need to transform them in a Maybe value,
instead of failing.

The patch reworks a bit fromObj and adds maybeFromObj which parses such...

c96d44df 05/27/2010 11:37 pm Iustin Pop

Replace fromJResult with annotateJResult

This patch removes all old uses of fromJResult with the annotated
version, and removes the non-annotated version. All JSON parsing points
should now have annotated errors.

View revisions

Also available in: Atom