commit | ce108db0f44d07d8b141706976cf2b095066dcce | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Mon Jan 25 10:05:40 2021 +0100 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Mon Jan 25 10:14:00 2021 +0100 |
tree | fa1973686e3a9e7c8d84296b2654891c4e79b38e | |
parent | fa36c82f930381f4d45ebf5cb57ae59aa3181043 [diff] |
Fix completion bug The reason why completion didn't work is that the parser didn't reject "/ietf-system:system-" properly. It was able to parse the ietf-system:system part but didn't care about the dash. In the end the parser still failed, but completions did get created as if we were already inside ietf-system:system (which were not because of the dash). The fix is this: after a path fragment there can only be two things, a slash or a "pathEnd" (which is a space or EOI). So, when I parse ietf-system:system I check if that's the case. Otherwise, the parsing failed, because we didn't parse the whole path fragment (because of the dash in this case). Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/208 Change-Id: I180308658af41e0ae119fcb17c75be9cce6aa764
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.