commit | af8f063abfeb73c56b2f64b29145da66bfe0e76e | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@cesnet.cz> | Wed Jan 27 16:45:55 2021 +0100 |
committer | Tomáš Pecka <tomas.pecka@cesnet.cz> | Sun Feb 07 19:57:40 2021 +0100 |
tree | b4cb60241524753425d51906d442e7ad814425ed | |
parent | ad32af2bba8126f8aeabfb21c6097c9fe7a85b04 [diff] |
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
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.
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.
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.
For a full list, consult the yang/
directory in this repository.