commit | 1c5a6fdc0e76d9f20c5e8cc5f32786ff918e2d52 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Tue Oct 22 21:12:50 2024 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Tue Oct 22 22:01:09 2024 +0200 |
tree | 23d3ce5f49b4132f60012b3311b1499ed56757c0 | |
parent | cf26559138520afa83dec8d81254ac69ea19a1c4 [diff] |
i2c: reduce the number of retries By default, the kernel will keep trying to send the I2C transaction three times before giving up. Each of these attempts currently takes more than 200ms. Even with these timeouts reduced (via the linked DT change), that's still 50ms × 3 retries × 3 devices, that almost half a second before we go ahead and react to devices which were unplugged. Not great. Change-Id: Iaf8acfec9b4d2b0968bd6017a83d160e22320e97 See-also: https://gerrit.cesnet.cz/c/CzechLight/br2-external/+/7879
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
.