Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti / WConfd @ 6a221b79

Name Size
Client.hs 1.6 kB
ConfigState.hs 2 kB
ConfigWriter.hs 8.2 kB
Core.hs 8.7 kB
DeathDetection.hs 2.5 kB
Language.hs 2.4 kB
Monad.hs 10.6 kB
Server.hs 3.5 kB
Ssconf.hs 3.9 kB
TempRes.hs 10.1 kB

Latest revisions

# Date Author Comment
6a221b79 05/26/2014 03:58 pm Petr Pudlak

Expose MAC reservations to WConfd's RPC interface

.. and also a function for dropping all reservations (currently just
MACs).

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

8628a496 05/26/2014 03:58 pm Petr Pudlak

Add functions for reserving MAC addresses

For this, add an internal Tempres data structure that implements
functionality similar to the one in config.py.

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

f645af36 05/26/2014 03:58 pm Petr Pudlak

Add a function for traversing over a composition of functors

Most often the inner functor is "(,) r" and "traverseOf2" is used to
traverse an effectful computation that also returns an additional
output value.

Signed-off-by: Petr Pudlak <>...

4a3a34d4 05/20/2014 12:53 pm Petr Pudlak

Add a WConfd call for flushing the configuration

After the call successfully returns, the configuration is saved and
fully distributed to the master candidates.

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

30f011c4 05/16/2014 02:21 pm Petr Pudlak

Chain the workers for saving and distributing configuration

The worker that saves the configuration now also calls the workers for
its distribution. It accepts an argument that determines, if the
configuration needs to be fully distributed, and the distribution...

d546d209 05/16/2014 02:21 pm Petr Pudlak

Add a function for bumping the serial number to WConfd

.. and also add a lens for 'csConfigData'.

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

be751ab9 05/16/2014 02:21 pm Petr Pudlak

Add comparison of configurations for distribution to MCs

.. and SSConf. The function determines, if the configuration needs to be
fully distributed before finishing a modification call or not.

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

4bd16f46 05/16/2014 02:21 pm Petr Pudlak

Add parameters to calls to asynchronous workers

Since a worker accumulates several request together, the type of a
parameter must be a monoid so that the requests can be combined into one
value used for running the worker's action.

Signed-off-by: Petr Pudlak <>...

dddcb604 05/12/2014 04:06 pm Petr Pudlak

Export RPC functions for temp. DRBD reservations in WConfd

These functions will replace the methods in config.py.

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

1d82406d 05/12/2014 04:06 pm Petr Pudlak

Add the state of temporary DRBD reservations to WConfd

.. and the corresponding functions for reading/modifying them.

The modification functions are somewhat more complex, because they need
to support that the modification function uses ConfigData and can...

View revisions

Also available in: Atom