commit | bfdcc5913b7baeead1343aff463755d7c2625b98 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Mon Aug 28 14:50:18 2023 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Mon Aug 28 19:23:41 2023 +0200 |
tree | 1f63c894fe7eeb6c5f9bc4167df81c04055ff3e4 | |
parent | 685c60abc4b95748e906fa19fe398b12f48fbead [diff] |
tests: don't crash on missing prefixes I'm adding some tests for setting leafs while `cd`-ed away from the root. After an equivalent of `cd mod:contA`, a simple `set leafInCont "X"` would throw. I think that the only reason why this doesn't crash "in production" is that the parser itself never calls `pathToDataString` or `pathToSchemaString` directly when "just" using the CLI. The tests do that while printing these commands, though. Change-Id: Icc0ccdc28ea0c31ee823316d061b7c195b4df0da
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.75
)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). 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.