utils: push values to sysrepo

Add a helper for setting Sysrepo values into a specified datastore. The
values are passed as a std::map (mapping XPath to a value) which
might simplify our life in future data manipulation.

There are two instances of the helper. The first one just pushes the data
into the current datastore of the session. The second one wraps around
the first one and it changes the session's datastore to the specified
one and restores the previous datastore after the changes are applied.

Change-Id: Ic0c374737047ef5944dbc4d8af34a6e364946c05
3 files changed
tree: b9ceb863fc39093aa59c1b71a431da15bf09e289
  1. .clang-format
  2. .gitmodules
  3. .zuul.CzechLight-internal.yaml
  4. .zuul.public.yaml
  5. CMakeLists.txt
  6. Doxyfile.in
  7. LICENSE
  8. LICENSE.md
  9. README.md
  10. ci/
  11. cmake/
  12. docs/
  13. src/
  14. tests/
  15. yang/
README.md

Health tracking for embedded devices running Linux

This software tracks health of an embedded device which runs Linux with systemd.

Velia tracks health of systemd units. In case some of them are failing, the system is considered unhealthy. You can disable monitoring of some units by using --systemd-ignore-unit CLI flags. For example, to disable monitoring unit sshd.service you should start velia with --systemd-ignore-unit=sshd.service. In order to disable multiple units use the flag multiple times.

By default, the health of state is shown by flashing certain LEDs. This is however customizable by using your own callbacks.