commit | 2db124c63b45c2a1717bce841adc8d0852c3f44e | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Thu May 28 21:58:36 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Fri May 29 00:38:57 2020 +0200 |
tree | c0c0a616ea71b02a8188b8e8e6bd294b5accb748 | |
parent | 1bcee3bd7542cf814af4d1051dacb72758ba8b59 [diff] |
Rework ParserContext temporary list context path This context path is used mainly for parsing list suffixes. The implementation is kind of wonky, as list suffixes were implemented with the old style of parsing paths, but it still worked even with the new path parser. However, I want to implement the upcoming `move` command, I need to parse suffixes outside the path parser. This means I need to fill in this list context path before I parse these suffixes. The problem was that this context path was designed so that it is easy to fill in inside the path parser, but right now I want to use it outside of it. Filling it in outside the path parser meant doing manual stuff to the context path and... well, it was difficult. The way it was done before this patch only really made sense with the old style parsing, so one could also see this patch as eliminating remnants of the old code. Also, this patch removes the need for ParserContext::m_curModule, because it was only used in list suffix parsing. This change adds new overloads to the Schema class, obsoleting some other ones. Right now, I want to implement the new feature, and I'm going to be deleted unused/obsolete overloads in another patch. Change-Id: I6264d8b4215fcbe12f79a089f199d53ebe86edbf
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.