/libnetconf2-cpp

C++ bindings for the libnetconf2 library

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

C++ bindings for libnetconf2

License Gerrit Zuul CI

Object-oriented bindings of the libnetconf2 library written in C++20. Memory is managed with RAII.

Dependencies

  • libyang-cpp >= 1.1.0 - C++ bindings for libyang
  • libnetconf2 >= 2.1.40, < 3. Last version compatible is 2.1.40
  • C++20 compiler (e.g., GCC 10.x+, clang 10+)
  • CMake >= 3.19

optional for tests

optional for docs

  • doxygen

Building

libnetconf2-cpp uses CMake for building. One way of building libyang-cpp looks like this:

cmake . -B build
cmake --build build
cmake --install build

Usage

Check the test suite in tests/ for usage examples.

Contributing

The development is being done on Gerrit here. Instructions on how to submit patches can be found here.