commit | 7935e811914f664a6535c873ed682202d8ac166e | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Tue Sep 17 17:02:01 2024 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Mon Sep 23 22:10:48 2024 +0200 |
tree | fad6e6be2e718363fc0e50286cd6140cf02ce150 | |
parent | 73cb5072bac5472dc9926df36422da9ef5b40d5a [diff] |
C++: use std::string instead of std::string_view ...in a lot of places which are related to libyang-cpp and sysrepo-cpp, but also in some code that's velia-specific. Change-Id: I9fc567480cb34131c790c74f75b7238cc00e0e84 Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/7626
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
.