hardware: support component/state container in ietf-hardware

Our PSU can be plugged or unplugged when the system is running. When
this happens whole PSU subtree is not returned to sysrepo from
ietf-hardware.

We decided to change that and use state container with oper-state leaf
in ietf-hardware[1] that reports the operational status of a component.
In this commit, we set every oper-state leaf to enabled but in the next
commit we implement setting oper-state of our PSU to enabled/disabled
depending on whether it is/isn't currently present.

[1] https://www.rfc-editor.org/rfc/rfc8348

Change-Id: I27d8e3d2bf66592fdcfdaaca992a4b5b5f10cb73
6 files changed
tree: 1f42deb560055acf19784af98f832b637c628723
  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.