hardware: add thresholds watchers

This patch series will start publishing alarms on hardware sensors. The
sensor values should have some thresholds that trigger the alarms.
However, simply comparing the sensor value to threshold is probably not
enough because we don't want keep creating and deleting alarms when the
value is dancing around the threshold. There should be some code that
triggers the alarm based on the history of the values.

Fortunately, such code already exists in our cla-sysrepo project. This
commit copies that from cla-sysrepo (commit
890d75d99a3ecaa6b8fc9d9a269ad70f57f69e49) into velia-hardware.

Change-Id: I563006b093b190a16c87558c92956ef4a49382b2
4 files changed
tree: d6f08510cae8cd638ba440de5edc61921ee8981f
  1. .clang-format
  2. .gitmodules
  3. .zuul.yaml
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. LICENSE.md
  8. README.md
  9. ci/
  10. cmake/
  11. docs/
  12. src/
  13. tests/
  14. yang/
README.md

YANG System management for embedded devices running Linux

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.

Health tracking

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.

System management

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.

Supported YANG models

For a full list, consult the yang/ directory in this repository.