{"id":29356926,"url":"https://github.com/cesnet/velia","last_synced_at":"2026-03-09T20:06:08.604Z","repository":{"id":139729406,"uuid":"268493641","full_name":"CESNET/velia","owner":"CESNET","description":"YANG System management for embedded devices running Linux","archived":false,"fork":false,"pushed_at":"2026-02-25T12:34:16.000Z","size":5374,"stargazers_count":11,"open_issues_count":6,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-02-25T16:36:21.659Z","etag":null,"topics":["czechlight","embedded-devices","linux","systemd","tracks-health","yang"],"latest_commit_sha":null,"homepage":"https://gerrit.cesnet.cz/q/project:CzechLight/velia","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CESNET.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-01T10:40:27.000Z","updated_at":"2026-02-25T12:34:19.000Z","dependencies_parsed_at":"2023-05-06T15:31:16.594Z","dependency_job_id":"37872b57-4d42-4c7c-8ad9-abfe3a474622","html_url":"https://github.com/CESNET/velia","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/CESNET/velia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fvelia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fvelia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fvelia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fvelia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CESNET","download_url":"https://codeload.github.com/CESNET/velia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fvelia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30310049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["czechlight","embedded-devices","linux","systemd","tracks-health","yang"],"created_at":"2025-07-09T05:41:00.335Z","updated_at":"2026-03-09T20:06:08.586Z","avatar_url":"https://github.com/CESNET.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YANG System management for embedded devices running Linux\n\nTogether with [sysrepo](https://www.sysrepo.org/), this software provides \"general system management\" for embedded network devices.\nThe target platform is anything that runs Linux with [systemd](https://systemd.io/).\nThe software runs in production on [CzechLight SDN DWDM devices](https://czechlight.cesnet.cz/en/open-line-system/sdn-roadm).\n\n## Features\n\n- *system management*\n    - basic system info via the [`ietf-system` (RFC 7317)](https://tools.ietf.org/html/rfc7317) YANG model\n    - user accounts and authentication using passwords and SSH keys, [`/czechlight-system:authentication`](./yang/czechlight-system@2022-07-08.yang))\n    - firmware updates via [RAUC](https://rauc.io/), in the [`/czechlight-system:firmware`](./yang/czechlight-system@2022-07-08.yang) YANG model\n    - access to hardware's LEDs via the [`/czechlight-system:leds`](./yang/czechlight-system@2022-07-08.yang) YANG model\n    - remote logging via [`systemd-journal-upload`](https://www.freedesktop.org/software/systemd/man/latest/systemd-journal-upload.service.html)\n- *health reporting* of both hardware and software\n    - tracks restarts and failures of all enabled [`systemd.unit(5)`](https://www.freedesktop.org/software/systemd/man/systemd.unit.html)\n    - hardware health (temperature, fan RPM, voltages, missing components)\n    - available via the [`ietf-alarms` (RFC 8632)](https://datatracker.ietf.org/doc/html/rfc8632) and [`ietf-hardware` (RFC 8348)](https://tools.ietf.org/html/rfc8348) YANG models\n    - status LED\n- *network management*\n    - configuration with [`systemd-networkd`](https://www.freedesktop.org/software/systemd/man/systemd.network.html)\n        - focus on Ethernet interfaces and basic setup of bridges\n        - IPv4 and IPv6 configuration, with DHCP and autoconfiguration\n    - real-time status and statistics via [`netlink(7)`](https://man7.org/linux/man-pages/man7/netlink.7.html)\n    - support for most common features from [`ietf-interfaces` (RFC 8343)](https://tools.ietf.org/html/rfc8343), [`ietf-ip` (RFC 8344)](https://datatracker.ietf.org/doc/html/rfc8344) and [`ietf-routing` (RFC 8349)](https://tools.ietf.org/html/rfc8349) with some [extensions](./yang/czechlight-network@2025-06-06.yang)\n    - firewall ([`ietf-access-control-list` (RFC 8519)](https://tools.ietf.org/html/rfc8519) with [deviations](./yang/czechlight-firewall@2021-01-25.yang))\n\n## Installation\n\nFor building, one needs:\n\n- C++20 compiler (e.g., GCC 10.x+, clang 10+)\n- CMake 3.19+\n- [Boost](https://www.boost.org/) (we're testing with `1.78`)\n- [`pkg-config`](https://www.freedesktop.org/wiki/Software/pkg-config/)\n- [`libnl-route`](http://www.infradead.org/~tgr/libnl/) for talking to the Linux kernel\n- [`libsystemd`](https://www.freedesktop.org/software/systemd/man/libsystemd.html) and [`systemd`](https://www.freedesktop.org/wiki/Software/systemd/) and [`systemd-networkd`](https://www.freedesktop.org/software/systemd/man/systemd.network.html) at runtime\n- [`libyang-cpp`](https://github.com/CESNET/libyang-cpp) - C++ bindings for *libyang*\n- [`sysrepo-cpp`](https://github.com/sysrepo/sysrepo-cpp) - C++ bindings for *sysrepo*\n- [`spdlog`](https://github.com/gabime/spdlog) - a logging library\n- [`sdbus-c++`](https://github.com/Kistler-Group/sdbus-cpp) - C++ library for D-Bus\n- [`fmt`](https://fmt.dev/) - C++ string formatting library\n- [`nlohmann_json`](https://json.nlohmann.me/) - C++ JSON library\n- [`docopt`](https://github.com/docopt/docopt.cpp) for CLI option parsing\n- [`nft`](https://www.netfilter.org/projects/nftables/index.html) - the netfilter tool\n- [`sysrepo-ietf-alarms`](https://github.com/CESNET/sysrepo-ietf-alarms) - the sysrepo alarm manager\n- optionally, [Doctest](https://github.com/doctest/doctest/) as a C++ unit test framework\n- optionally, [trompeloeil](https://github.com/rollbear/trompeloeil) for mock objects in C++\n- optionally, [`iproute2`](https://wiki.linuxfoundation.org/networking/iproute2) - the `ip` tool for testing\n- optionally, [`jq`](https://jqlang.github.io/jq/) to run [some CLI utilities](./cli) and for testing them\n\nThe build process uses [CMake](https://cmake.org/runningcmake/).\nA quick-and-dirty build with no fancy options can be as simple as `mkdir build \u0026\u0026 cd build \u0026\u0026 cmake .. \u0026\u0026 make \u0026\u0026 make install`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fvelia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesnet%2Fvelia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fvelia/lists"}