commit | 0af72576840cad5a7fa09e343600174a8c96e2bd | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Jul 22 15:15:59 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Tue Aug 25 12:25:28 2020 +0200 |
tree | e5f4468cd6ab547af40d1cc8756d717c61b1c183 | |
parent | a878960516c0ac37beedb60165be68340cfc0d30 [diff] |
Fix enum key parsing I'm not sure if this got broken during leaf_data rework, or if it was always broken, but enum parsing had to get reworked. The problem was parsing enums with "+char_". This works with set, because set doesn't have any additional arguments. However, that's not the case with key parsing. In key parsing +char_ was eating too much of the input (mainly the closing bracker). At first I tried something like "+char_-']'", but enums are normal strings, so ']' is a valid character. That's why I reworked the parser to just try all the possible enums. Change-Id: I5996286424dd95377b55f90eeba29d9a5eba731c
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.