system: switch czechlight-system to pull ops data

Czechlight-system YANG model's operational data are currently pushed
into Sysrepo. However, we want to implement also an overview of current
firmware slot status (see next commit). We can't attach to any D-Bus
signal that would inform us about changes, because the RAUC slot status
data are provided by the GetSlotStatus function [1] and the data might be
changed externally (e.g. by marking the slot good or bad) any time.

It would be hard to follow the changes and propagate them, so let's just
switch everything here to pulling ops data. The next commit will add the
actual slot status retrieval.

Also note, that we have two separate subscriptions here. One for the RPC
and one for the operational data. This is due to Sysrepo limitation
described here [2].

[1] https://rauc.readthedocs.io/en/v1.4/reference.html#gdbus-method-de-pengutronix-rauc-installer-getslotstatus
[2] https://netopeer.liberouter.org/doc/sysrepo/master/html/subs.html

Change-Id: Ie7c84381f20d4ba0a41b0a3b1c1cea9585f99749
2 files changed
tree: b4cb60241524753425d51906d442e7ad814425ed
  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

YANG System management for embedded devices running Linux

Together with sysrepo, this software provides "general system management" of embedded devices. The target platform is anything that runs Linux with systemd. This runs in production on CzechLight SDN DWDM devices.

Health tracking

This component tracks the overal health state of the system, including various sensors, or the state of systemd units. As an operator-friendly LED at the front panel of the appliance shows the aggregated health state.

System management

Firmware can be updated via RAUC, and various aspects of the system's configuration can be adjusted. This includes a firewall, basic network settings, and authentication management.

Supported YANG models

For a full list, consult the yang/ directory in this repository.