Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 7ea201c9

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Locking
  Logging
  Monitoring
  Objects
  Query
  Storage
  THH
  Utils
  WConfd
BasicTypes.hs 14.3 kB
Codec.hs 1.6 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 15.3 kB
ConfigReader.hs 10.8 kB
ConstantUtils.hs 5.3 kB
Constants.hs 123.4 kB
Daemon.hs 16.2 kB
Errors.hs 6.5 kB
Hash.hs 1.8 kB
JQScheduler.hs 13.5 kB
JQueue.hs 23.2 kB
JSON.hs 13.2 kB
Jobs.hs 3.3 kB
Kvmd.hs 11.5 kB
Lens.hs 1.7 kB
Logging.hs 6.1 kB
Luxi.hs 11.8 kB
Metad.hs 3.2 kB
Network.hs 3.5 kB
Objects.hs 26.5 kB
OpCodes.hs 27.4 kB
OpParams.hs 48.5 kB
Parsers.hs 1.7 kB
Path.hs 4.2 kB
PyValue.hs 2.9 kB
Rpc.hs 26.1 kB
Runtime.hs 7.5 kB
Ssconf.hs 5.9 kB
THH.hs 50.9 kB
Types.hs 29.3 kB
UDSServer.hs 12.9 kB
Utils.hs 25.2 kB
VCluster.hs 1.6 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
7ea201c9 03/07/2014 05:22 pm Petr Pudlak

Add an asynchronous task for distributing SSConf to nodes

The task computes the SSconf data and compares it to the last state that
was successfully distributed. If it differs, issues the RPC call to
distribute it. If any of the RPC calls fails, the state remains...

9a8952e0 03/07/2014 05:22 pm Petr Pudlak

Add Haskell RPC call for distributing SSConf to nodes

The data is sent as a dictionary mapping file names to lists of lines.

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

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 <>

View revisions

Also available in: Atom