commit | 6121285f0fceb5576420de686fe5def2f24621cc | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@cesnet.cz> | Mon Sep 30 14:36:50 2024 +0200 |
committer | Tomáš Pecka <tomas.pecka@cesnet.cz> | Mon Sep 30 14:59:02 2024 +0200 |
tree | 6ca879b78cf4d13b2dbcfa902d4f6fdea8d75a53 | |
parent | 760fe335459c4ddeae8ccaf4675d0ca05d059292 [diff] |
hardware: alarms report the crossed threshold value The exceeded threshold value for sensors is now propagated to sysrepo. Our alarm daemon does not implement history yet so we talked about how the alarm message should be updated during the lifecycle of the alarm. We thought that clearing the alarm should not change the alarm-text so we know what was wrong and what was the last value leading to raising the alarm. However, we decided not to go with that and rather implement the alarm history (status-changes in RFC 8632 [1]). Therefore, the alarm-text reflects the current state of the alarm for now. [1] https://datatracker.ietf.org/doc/rfc8632/ Change-Id: If62c44a54981bb620931bf4b268c3cefb50e8ee4
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.
ietf-access-control-list
, RFC 8519 (with deviations)ietf-hardware
, RFC 8348ietf-system
, RFC 7317 (partial support)ietf-interfaces
, RFC 8343 (generating config for systemd-networkd
, with extensions)ietf-routing
, RFC 8349 (see above)czechlight-system
For building, one needs:
1.78
)pkg-config
libnl-route
for talking to the Linux kernellibsystemd
and systemd
at runtimelibyang-cpp
- C++ bindings for libyangsysrepo-cpp
- C++ bindings for sysrepospdlog
- a logging librarysdbus-c++
- C++ library for D-Busfmt
- C++ string formatting librarynlohmann_json
- C++ JSON librarydocopt
for CLI option parsingnft
- the netfilter tooliproute2
- the ip
tool for testingThe build process uses CMake. A quick-and-dirty build with no fancy options can be as simple as mkdir build && cd build && cmake .. && make && make install
.