Statistics
| Branch: | Tag: | Revision:

root / test / hs / Test / Ganeti @ 3fd38382

Name Size
  Confd
  HTools
  Hypervisor
  Query
  Storage
Attoparsec.hs 2 kB
BasicTypes.hs 5.1 kB
Common.hs 6.8 kB
Constants.hs 2.9 kB
Daemon.hs 2.5 kB
Errors.hs 1.3 kB
JQueue.hs 11.6 kB
JSON.hs 2.7 kB
Jobs.hs 989 Bytes
Luxi.hs 6 kB
Network.hs 4.5 kB
Objects.hs 21.5 kB
OpCodes.hs 25.7 kB
Rpc.hs 3.8 kB
Runtime.hs 4.5 kB
Ssconf.hs 1.3 kB
THH.hs 2 kB
TestCommon.hs 12.7 kB
TestHTools.hs 4.9 kB
TestHelper.hs 4.8 kB
TestImports.hs.in 149 Bytes
Types.hs 14.6 kB
Utils.hs 13.3 kB

Latest revisions

# Date Author Comment
3fd38382 10/17/2013 11:09 am Hrvoje Ribicic

Add aliases of existing instance fields

For legacy reasons, some instance fields are aliased. The aliases have
the same definition but appear under different names. Support for such
fields has been added to Query/Common.hs
As aliases can cause somewhat harder to find bugs, a new test was...

c14ba680 10/16/2013 08:56 pm Hrvoje Ribicic

Enable 'AllInstancesInfo' RPC call in Haskell

The AllInstancesInfo call appears to have been implemented but never
used. The commit makes it usable by modifying the parameter type and
serialization.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Jose A. Lopes <>

5ce621ab 10/11/2013 02:13 pm Helga Velroyen

Correct properties of the cluster's file storage dir

This patch does:
- Rename the haskell opcode parameter
'pGlobalFileStorageDir' and 'pGlobalSharedfileStorageDir'
to 'pClusterFileStorageDir' and
'pClusterSharedfileStorageDir', respectively, because...

346c3037 10/04/2013 05:11 pm Klaus Aehlig

Provide means of submitting jobs to a drained queue

During an upgrade, the job queue needs to be drained in order to avoid
new jobs coming to the cluster. Nevertheless, the upgrade process
needs to carry out some maintenance, like redistributing the new...

d067f40b 10/02/2013 03:50 pm Jose A. Lopes

Merge 'EvacNode' and 'NodeEvacMode'

Merge 'EvacMode' and 'NodeEvacMode' which are associated with the
duplicated constants 'IALLOCATOR_NEVAC_*' and 'NODE_EVAC_*'. This
merge moves the type 'EvacMode' to 'Ganeti.Types' in order to avoid a
circular dependency between 'Ganeti.HsConstants' and...

5c40076b 09/30/2013 07:12 pm Klaus Aehlig

Disable hlint camelcase on test module

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Jose Lopes <>

33ce4d2d 09/30/2013 03:20 pm Spyros Trigazis

Add test for mond-data mock file

Test if the input file imported with the --mond-data option is
parsed properly.

Signed-off-by: Spyros Trigazis <>
Signed-off-by: Michele Tartara <>
Reviewed-by: Michele Tartara <>

f89ec0e0 09/25/2013 03:24 pm Jose A. Lopes

Disable hlint camelcase on test module

Haskell test modules contain functions which have names containing
underscore. Add hlint annotation to disable this check.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

285d04a1 09/25/2013 01:50 pm Jose A. Lopes

HUnit test for 'buildVersion'

Add 'HUnit' test for 'buildVersion'.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Thomas Thrainer <>

85c48fbb 09/19/2013 11:52 am Jose A. Lopes

Hs2Py constants: add constants from 'Ganeti.Types'

Add to Hs2Py constant generation all constants that are defined by the
Haskell defined declared in 'Ganeti.Types'. This patch also fixes a
type inconsistency between Haskell and Python, namely, the constant...

View revisions

Also available in: Atom