commit | 9cd349fc02bac516507bd8c3004136a6901d475c | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@cesnet.cz> | Tue Apr 20 21:45:42 2021 +0200 |
committer | Tomáš Pecka <tomas.pecka@cesnet.cz> | Tue Apr 27 10:36:33 2021 +0200 |
tree | 10a78c611da9c52132771856c5e0f48744f33c42 | |
parent | 7226bcfad100fb48ca2a0552642e875c0a046c7c [diff] |
health: compute status LED brightness from maximum brightness We used hardcoded value 255 for maximum brightness but LEDs on Clearfog devices have 256 maximum brightness. This led to situations like that /czechlight-system:leds reports only 99% brightness for status LEDs (and that is not pretty -- why only 99?). To deal with this we read maximum brightness in LED Sysfs driver constructor and use that when setting the actual color of the status LED. Change-Id: I6c2b6b2d31a0744da3ad089b341473d6e2613ff1
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.