Statistics
| Branch: | Tag: | Revision:

root @ 7ea201c9

Name Size
  autotools
  daemons
  devel
  doc
  lib
  man
  qa
  src
  test
  tools
.ghci 21 Bytes
.gitignore 2.6 kB
COPYING 17.6 kB
INSTALL 10.3 kB
Makefile.am 75.8 kB
NEWS 130.7 kB
README 191 Bytes
UPGRADE 12.4 kB
autogen.sh 283 Bytes
configure.ac 25 kB
epydoc.conf.in 444 Bytes
pylintrc 2.9 kB
pylintrc-test 2.9 kB

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

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

Let the SSConf RPC server side handle lists

Since on Haskell side we represent SSConf as list of lines, let the
Python side understand it as well.

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

1f87d93d 03/07/2014 05:22 pm Petr Pudlak

Add a test for (de)serialization of Ssconf

.. to verify that readJSON . showJSON = Ok.

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

View all revisions | View revisions

Also available in: Atom