commit | 74487dffb1ed7bccf4475882f95e3af2a09d45cd | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Thu Jun 04 01:29:28 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Thu Jun 25 10:32:54 2020 +0200 |
tree | 93f54e64230350c037a461309de3bd13aeece040 | |
parent | 36986c5c402c6d100b327825395720ec9e92291b [diff] |
Add yang-cli The original idea for this was that I would libyang C++ bindings for this. Unfortunately, there have been problems with them as explained here: https://github.com/CESNET/libyang/issues/1106. The easiest solution to this was to just use the C api of libyang. After creating some safe wrappers around pointers, it wasn't too difficult. Change-Id: I0421cb64df66c640956501e56ffc4122eef0b9b7
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:
Use an exact commit of any dependencies as specified in submodules/dependencies/*
.
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.