commit | 39b39faa1cb08f766724d5ba2d54d7ab85703402 | [log] [tgz] |
---|---|---|
author | aleskucera@cesnet.cz <aleskucera@cesnet.cz> | Fri Nov 10 16:03:30 2023 +0100 |
committer | aleskucera@cesnet.cz <aleskucera@cesnet.cz> | Fri Nov 24 17:53:13 2023 +0100 |
tree | bef28072f0feed05079b9f0b20817bf7c2727e8d | |
parent | 361fdcc91b266b0b4285a04f552b561929aaf56a [diff] |
Add a real path computation Many commands need a path as an argument. This path can be absolute or relative. The key is to understand where the command will operate. For example, when using `cd`, we need to know where we'll end up after running the command. And with `set`, we want to know what will be modified. This change creates a general function called realPath() that takes the current working directory (cwd) and the given path as arguments, and then gives back the final path. Doing this makes the code easier to read and more compact because we'll use it several times in the next changes. Change-Id: Id940062525b64eed1de438407ff8ae2cfbcdde6d
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.78
)At times the devel
branch of libyang
, sysrepo
, libnetconf2
and Netopeer2
might be required due to fresh bugfixes and behavior changes.
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.