Statistics
| Branch: | Tag: | Revision:

root / Ganeti / Jobs.hs @ 4bc33d60

History | View | Annotate | Download (3.3 kB)

# Date Author Comment
6bc39970 12/30/2010 03:41 pm Iustin Pop

Add 'Read' instances for most objects

This allows a cluster structure to be easily serialized via "read";
together with the already existing instances of Show, this gives a
poor man's serialization/deserialization implementation.

The patch also exports the compDetailedCV function from Cluster.hs, so...

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.

41065165 06/21/2010 05:46 am Iustin Pop

Add opcode status constants/type

This mirrors, again, the Ganeti constats, and are added for future use.

7e98f782 06/21/2010 05:46 am Iustin Pop

Rename the job status constants

The rename is done such that we match Ganeti's own constants.

0ccaab44 12/28/2009 12:09 pm Iustin Pop

Fix small typo

This was found, of all things, via lintian during the Debian packaging…

c4ef235b 10/16/2009 05:24 pm Iustin Pop

Fix two haddoc/happy docstring issues

13b6cb3f 10/14/2009 11:53 am Iustin Pop

Add a simple module for dealing with Ganeti jobs

This holds for now just the job status definitions and its serialisation
to/from JSON.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>