History | View | Annotate | Download (3.3 kB)
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 ifneeded.
Add opcode status constants/type
This mirrors, again, the Ganeti constats, and are added for future use.
Rename the job status constants
The rename is done such that we match Ganeti's own constants.
Fix small typo
This was found, of all things, via lintian during the Debian packaging…
Fix two haddoc/happy docstring issues
Add a simple module for dealing with Ganeti jobs
This holds for now just the job status definitions and its serialisationto/from JSON.
Signed-off-by: Iustin Pop <iustin@google.com>Reviewed-by: Michael Hanselmann <hansmi@google.com>