sysrepo: make us recognizable as a CLI client

sysrepo is built as a platform for collaborative management of YANG
datastores. One part of this approach is that clients can do "anything",
that the NACM is opt-in, etc, and that there's a need for a mechanism
for clients to identify themselves. This mechanism is already used by
the NETCONF server, Netopeer2, for passing some NETCONF-specific
information such as NETCONF session IDs, etc.

Another use case is the sysrepo-ietf-alarms daemon which exports an RPC
that can be used by applications that use sysrepo to submit new alarms.
When talking at the localhost or sysrepo level, it's a public API
because other sysrepo clients (such as velia) can use it for
creating/updating alarms. At the same time, it should not be accessible
through NETCONF or RESTCONF or even the local CLI.

Let's identify ourselves with some unique string. Since the only other
well-known user at this time is the NETCONF server, Netopeer2, which
uses `netopeer2`, let's use the app name here as well.

Change-Id: I48716b88aea3961360d5c98b4d0444478e6e07d5
Cc: https://github.com/sysrepo/sysrepo/pull/3172
1 file changed
tree: f36e74fd3c0dd301c2058b38701f385d686b5812
  1. .clang-format
  2. .gitmodules
  3. .zuul.yaml
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. README.md
  8. ci/
  9. cmake/
  10. docs/
  11. src/
  12. tests/
README.md

Console interface to NETCONF servers

License Gerrit Zuul CI taiga.io

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.

Installation

For building, one needs:

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.

Bug Reporting

Issue reporting and feature requests are welcome via Taiga.io.

Development

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.

Credits

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.