commit | b98b4f9bca9d8ef9572e9ab2a03b583559f866ea | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Oct 17 17:39:24 2024 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Oct 18 15:41:35 2024 +0200 |
tree | 9ea99dbb8f2ca0ccc175c569ca45f7f78a43dacf | |
parent | 42c4d7ebc98d85423f593574c8bfef248960ad7b [diff] |
performance: trace how much time is spent in sysrepo interactions I did not want to mess with passing a custom logger, so we now have a default one (the "main" one, obviously). I'm very much tempted to get rid of all the custom logging, TBH, but that's for some other time. The explicit flush is there to avoid lost performance data on (some) exceptions. Change-Id: I7d0a4d79e4777f77544ad0f39af8ce58de2c31a6
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 testingjq
to run some CLI utilities and for testing themThe 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
.