commit | 1bcee3bd7542cf814af4d1051dacb72758ba8b59 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Thu May 28 22:19:59 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Thu May 28 23:42:01 2020 +0200 |
tree | 21115b9f33c25995dea731c33aa933e37525e8bf | |
parent | f3e377babfa2e2eaa81784e95e55e8460d611065 [diff] |
Don't save curModule in module parser The `module` parser was previously used for path parsing. It is currently only used for parsing module prefixes of identityref leaf data values. However, that is actually a mistake. Before the leaf_data parser rework, there was a another module parser, that DIDN'T SAVE the curModule (which is the point of this patch), but I accidently deleted the wrong one and used this one, that saved the current module. This led to a bug, where the identityref sets the current module, and then the list called "inventory", in the new test, gets parsed as "other:inventory". Also, I'm gonna get rid of curModule, so one less usage of the variable makes it easier. Change-Id: I828750092c7fba71c1646e3aa6c190d9e07c58af
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.