Statistics
| Branch: | Tag: | Revision:

root / test / ganeti.constants_unittest.py @ d76167a5

History | View | Annotate | Download (3.6 kB)

# Date Author Comment
28a34a39 09/16/2009 03:55 pm Guido Trotter

Add unittests for confd constants

Checking that the fourcc code is indeed a fourcc code, and that request
codes and reply statuses are distinct.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

74f37195 08/06/2009 07:13 pm Michael Hanselmann

Add constants for local disk status

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

476ce612 08/05/2009 07:40 pm Guido Trotter

TestParameterNames: also check nic parameters

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

67fc3042 05/21/2009 04:05 pm Iustin Pop

Export more instance information in hooks

Currently we miss in hooks the instance's hypervisor, hypervisor
parameters and backend parameters. This forces hooks to query back into
ganeti, which is dangerous due to possible luxi sockets exhaustion.

This patch adds these three as INSTANCE_HYPERVISOR, INSTANCE_HV_*,...

1b45f4e5 06/23/2008 02:11 pm Michael Hanselmann

Add functions to calculate version number to constants.py

In cfgupgrade, we need to extract parts of and build new version numbers.

Reviewed-by: iustinp

eeb1d86a 05/07/2008 02:12 pm Michael Hanselmann

Add unittest for constants

Reviewed-by: iustinp