This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, and also talk to sysrepo locally.
For building, one needs:
- A C++20 compiler
- Boost (we're testing with
1.75
) - cmake for managing the build
- libyang version 2.0 plus the C++ bindings
- libnetconf2 version 2.1 for connecting to NETCONF servers
- replxx which provides interactive line prompts
- docopt for CLI option parsing
- pkg-config for building
- optionally, Doctest as a C++ unit test framework
- optionally, trompeloeil for mock objects in C++
- optionally, sysrepo version 2.1 plus the C++ bindings for the local sysrepo backend, and for the comprehensive test suite
- optionally, netopeer2 version 2.1 for a test suite
The 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
.
Issue reporting and feature requests are welcome via Taiga.io.
We are using Gerrit for patch submission, code review and Continuous Integration (CI). Development roadmap and planning happens over Taiga.io.
Copyright © CESNET, https://www.cesnet.cz/ . Portions copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Most of the code was written by Václav Kubernát (CESNET, formerly FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.