History | View | Annotate | Download (7 kB)
Add an asynchronous task for distributing SSConf to nodes
The task computes the SSconf data and compares it to the last state thatwas successfully distributed. If it differs, issues the RPC call todistribute it. If any of the RPC calls fails, the state remains...
Function that distributes the configuration to MCs
Also refactor helper functions in WConfd/ConfigWriter into smaller onesand add helpers for RPC calls.
Signed-off-by: Petr Pudlak <pudlak@google.com>Reviewed-by: Klaus Aehlig <aehlig@google.com>
Add a helper to ConfigWriter for creating async. workers
In particular, stateful workers that can fail with an error, in whichcase the error is logged and the state remains unchanged.
Add a module for functions specific to config. management
.. and include ConfigData in WConfd's ConfigState.
Currently it includes functions for asynchronous saving theconfiguration and reading and (over)writing it in the daemon state.
Load the configuration from the file at daemon startup and configure an...