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
6 files changed
tree: ddb1714e4d76d88110476723bd68a42274ed6d13
  1. .clang-format
  2. .gitmodules
  3. .zuul.yaml
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. LICENSE.md
  8. README.md
  9. ci/
  10. cmake/
  11. docs/
  12. src/
  13. submodules/
  14. tests/
README.md

Console interface to NETCONF servers

This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, and also talk to sysrepo locally.

Installation

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.

Bug Reporting

Issue reporting and feature requests are welcome via Taiga.io.

Development

We are using Gerrit for patch submission, code review and Continuous Integration (CI). Development roadmap and planning happens over Taiga.io.

Credits

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.