commit | 6e9f97a5f5c2bfa1976f34109f84e5e413c13436 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Dec 20 14:18:52 2023 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Dec 20 14:35:55 2023 +0100 |
tree | f3e667e6c978caf18b7262c3cdca03893f8df077 | |
parent | b9191698e167bae12fbbc7cafd78d7a04533ad95 [diff] |
YANG schema: refactor schema search dirs support I got very confused, because the code in netconf-cli calls these methods "addFoo", whereas the libayng-cpp calls them "setFoo", even though all of them simply extend the "foo" with the provided argument. So, let's refactor these. Start by making the interface a bit more type safe with `std::filesystem::path`, and then change the interface of the `yang-cli` program so that the `-s` option can be now specified several times. Change-Id: Iad40696b0e133c60e0c0a1512da851650f6ac8a0
This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, work as a standalone YANG data editor, or talk to sysrepo locally.
For building, one needs:
1.78
)At times the devel
branch of libyang
, sysrepo
, libnetconf2
and Netopeer2
might be required due to fresh bugfixes and behavior changes.
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 over GitHub.
We are using Gerrit for patch submission, code review and Continuous Integration (CI). A quick introduction is recommended for first-time Gerrit users. Choose CESNET - Sign in with GitHub for login. 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.