commit | 848207cc228f8ed1540ecb1122d02f0286970f94 | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@cesnet.cz> | Tue Sep 24 15:22:41 2024 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Sep 25 18:12:07 2024 +0200 |
tree | a62527d7a1e00b74a86cd0866f3006f41fa96bfb | |
parent | d6f648fe39330e50483d3d83349dbed6aa282679 [diff] |
utility to show active alarms in terminal Looking for alarms in sysrepo's JSON output is... difficult. The JSON is verbose and the alarm list also contains cleared alarms. The new utility prints alarms to terminal in a formatted way and also provides very basic filtering of active/cleared alarms and a basic timestamp filter. Change-Id: Ia37a991d5b44a1656d9e5f933c24ec80dddda876
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
.