Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 9ee75f25

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Monitoring
  Query
  Storage
BasicTypes.hs 7.8 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 11.6 kB
ConfigReader.hs 11.6 kB
ConstantUtils.hs 2.5 kB
Constants.hs 990 Bytes
Daemon.hs 14.8 kB
Errors.hs 6.2 kB
Hash.hs 1.8 kB
HsConstants.hs 7.8 kB
JQueue.hs 10.7 kB
JSON.hs 9.9 kB
Jobs.hs 3.3 kB
Logging.hs 4.6 kB
Luxi.hs 15.8 kB
Network.hs 3.5 kB
Objects.hs 25.2 kB
OpCodes.hs 27 kB
OpParams.hs 44.9 kB
Parsers.hs 1.7 kB
Path.hs 3.4 kB
PyConstants.hs.in 945 Bytes
PyValueInstances.hs 2 kB
Rpc.hs 16.2 kB
Runtime.hs 6.9 kB
Ssconf.hs 5 kB
THH.hs 46.2 kB
Types.hs 22.3 kB
Utils.hs 16.5 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
9ee75f25 09/19/2013 11:51 am Jose A. Lopes

Add missing exports in 'Ganeti.Types'

Add missing exports in 'Ganeti.Types' which are necessary for
'Ganeti.HsConstants'. These exports concern the '*ToRaw' functions
which convert a Haskell type into JSON. These functions are needed by
the constants which we want to generate from Haskell to Python based...

7236533e 09/18/2013 02:33 pm Jose A. Lopes

Hs2Py constants: add xen related constants

Add xen related constants, such as, 'xenBootloader' and 'xenCmdXm' to
the Haskell to Python constant generation.

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

df726590 09/18/2013 02:33 pm Jose A. Lopes

Hs2Py constants: add 'devConsole' and syslog related

Add 'devConsole' and syslog related constants to the Haskell to Python
constant generation.

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

e82d1e98 09/18/2013 02:33 pm Jose A. Lopes

Add Template Haskell 'declareLADT'

Add 'declareLADT' in Template Haskell module to declare Haskell
datatypes using 'String's directly as values for the JSON
serialization, as opposed to 'Name's which is what the current
'declareADT' allows. To achieve this, 'genFromRaw' must be...

43a9e860 09/18/2013 11:55 am Jose A. Lopes

Haskell to Python constants: add exit code constants

Add exit code constants to Haskell to Python constant generation
infrastructure. The module 'Ganeti.ConstantUtils' must be imported
qualified in order to avoid a clash between
'Ganeti.ConstantUtils.exitFailure' and...

856eb53c 09/18/2013 11:55 am Jose A. Lopes

Haskell to Python constants: add 'daemonsLogbase'

Move constant 'DAEMONS_LOGBASE' from Python to Haskell to be
automatically generated.

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

1c31b263 09/18/2013 11:55 am Jose A. Lopes

Flip dependency between Haskell types and constants

Before this patch, Haskell types, such as, 'GanetiDaemon' and
'GanetiGroup', and related functions were taking their values from
Haskell constants. However, given that the role of Haskell to Python
constants is to leverage Haskell and its typesystem, it makes sense to...

f81d41cc 09/18/2013 11:54 am Jose A. Lopes

Replace import in 'Ganeti.Path'

Given that Haskell has its own generated 'AutoConf' module, it makes
sense that other Haskell modules import 'configure' variables directly
from 'AutoConf' instead of importing the Python to Haskell generated
constants.

Signed-off-by: Jose A. Lopes <>...

34be621a 09/16/2013 12:50 pm Jose A. Lopes

Fix monitoring daemon extra log filepaths

Haskell constants 'daemonsExtraLogfilesGanetiMondAccess' and
'daemonsExtraLogfilesGanetiMondError' cannot be constants because
their Python counterparts are calculated through
'pathutils.GetLogFilename', which indirectly depends on the...

798582cf 09/13/2013 11:46 am Spyros Trigazis

Make CPUload Data Collector aware of clock ticks

Modify CPUload data collector to get the number of clock ticks
per second from Posix.Unistd. Since CPUload collector converts
clock ticks (jiffies) to seconds and the clock ticks to seconds
ratio varies between linux distributions, it must be read from...

View revisions

Also available in: Atom