tests: Sysrepo event watcher

Add a helper class EventWatcher that catches Sysrepo events, including
Sysrepo notifications. The next patch will implement notifications
in czechlight-system model implementation and this code will be used for
testing that the notifications are invoked.

The EventWatcher class is reused from cla-sysrepo. The current
implementation is copied from commit
1fb9138c10aee6c6f67d30522c14696d3d01b8be.

Change-Id: I3ee0a14a9d1198f2669cb1dd97594c4d864d5a43
3 files changed
tree: 79e90b75e804a18fd176dbec122429d518762146
  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.