commit | b331b5547b4bfb647674433398a80b6aa7255083 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Jan 23 15:25:29 2020 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Jan 24 12:04:58 2020 +0100 |
tree | ddb1714e4d76d88110476723bd68a42274ed6d13 | |
parent | 870428652fd7bbf08efb0082bbc37252a3bf2b8e [diff] |
a typedef for returning "tree of data" I'm working on adding support for RPCs, and that function requires passing a tree of input data, and returning another tree of data. Given that getItems()'s return value is quite similar (and something that's widely supported through the code), let's requse this type for RPC I/O as well. I took care to only use this typedef at places where we have already been dealing with tree data. This means that tests for, say, leaf_editing were not changed because it's "something else than a datastore". Coincidentally, the other use of the same structure is for defining list keys, see I2c978762d3a78286b4f7fb97e16118772ddeb7bc. Change-Id: I2a01cc6f8c6624e673eab43bc642c16d2bcfe2d7
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.