Statistics
| Branch: | Tag: | Revision:

root / src @ 731152ce

Name Size
  Ganeti
AutoConf.hs.in 4.5 kB
OLD-NEWS 19 kB
README 4.5 kB
ganeti-kvmd.hs 1.2 kB
ganeti-metad.hs 1.3 kB
ganeti-mond.hs 1.2 kB
ganeti-wconfd.hs 1.1 kB
haddock-prologue 251 Bytes
hconfd.hs 1.2 kB
hluxid.hs 1.2 kB
hs2py.hs 1.5 kB
htools.hs 824 Bytes
lint-hints.hs 1 kB
mon-collector.hs 1 kB
rpc-test.hs 8.6 kB

Latest revisions

# Date Author Comment
731152ce 03/07/2014 05:22 pm Petr Pudlak

Add a module for constructing Ssconf from the configuration

This migrates the functionality from Python
ConfigWriter._UnlockedGetSsconfValues to Haskell.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

ce52f060 03/07/2014 05:22 pm Petr Pudlak

Add a data type for representing the complete SSConf

.. as a map from SSKeys to lists of strings.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

3d148957 03/07/2014 05:22 pm Petr Pudlak

Improve Haskell functions for managing the UidPool

Add a formatting function that is needed by Ssconf.
Also expose 'ipFamilyToRaw', which is needed as well.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

6b76931c 03/07/2014 05:22 pm Petr Pudlak

Add missing keys to Ganeti.Ssconf

These keys were probably introduced only in Python later and weren't
added to the Haskell code.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

41ea331e 03/07/2014 05:22 pm Petr Pudlak

Let WConfd distribute the configuration to MCs

.. and remove the distribution from lib/config.py

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

94c7e022 03/07/2014 05:22 pm Petr Pudlak

Function that distributes the configuration to MCs

Also refactor helper functions in WConfd/ConfigWriter into smaller ones
and add helpers for RPC calls.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

a1f35d0a 03/07/2014 05:22 pm Petr Pudlak

Add a function for listing online nodes to Haskell

.. and also simplify 'getMasterCandidates'.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

b6eee126 03/07/2014 05:22 pm Petr Pudlak

Add the RPC call for uploading a file to Haskell

.. and also add a function that prepares the call from a given file.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

2f254850 03/07/2014 05:22 pm Petr Pudlak

Functions for conversions between POSIX time and ClockTime

This will be needed by the RPC calls to convert Haskell native
representation to the one used in RPC.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

129bde01 03/07/2014 05:22 pm Petr Pudlak

Add reverse mappings to RuntimeEnts from UIDs to names

.. and GIDs to names. Also create a proper data type for it.

The reverse mapping to names is needed for properly translating local
IDs to names for RPC calls.

Use 'ResultT' for 'getEnts' and handle all exceptions, not just when a...

View revisions

Also available in: Atom