To get its NETCONF capabilities, Kea requires the v3 versions of libyang and
Sysrepo. The specific versions that have been thoroughly tested with Kea are:
-* libyang v3.12.2 (da7272e19d9e27d1bfdd68108fa9dce25fbdf5e8)
-* sysrepo v3.6.11 (b2d60c137aa5179af2af0ce1243d4147c4e5f974)
+* libyang v3.13.3 (7783869951e1494d6f4366892baebb32132c360d)
+* sysrepo v3.7.10 (3bdc1ab2988adbe935fd0f26f31f820d087c0804)
* libyang-cpp v3 (f3cd4e05462a16e81d6bfd0c4a5b385cf88a8549)
* sysrepo-cpp v3 (fe4edfa3998fdf312099ee1fb08a06983b6907f6)
$ git clone https://github.com/CESNET/libyang-cpp.git
$ cd libyang-cpp
- $ git checkout ae7d649ea75da081725c119dd553b2ef3121a6f8
+ $ git checkout v3
$ mkdir build
$ cd build
$ cmake -DBUILD_TESTING=OFF ..
$ git clone https://github.com/sysrepo/sysrepo-cpp.git
$ cd sysrepo-cpp
- $ git checkout 02634174ffc60568301c3d9b9b7cf710cff6a586
+ $ git checkout v3
$ mkdir build
$ cd build
$ cmake -DBUILD_TESTING=OFF ..
-// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2025 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
#include <map>
+// #include <sysrepo-cpp/Changes.hpp> // Will be required on newer sysrepo-cpp
#include <sysrepo-cpp/Session.hpp>
+// #include <sysrepo-cpp/Subscription.hpp> // Will be required on newer sysrepo-cpp
namespace isc {
namespace netconf {
void cleanUp() {
Session session(sysrepo::Connection{}.sessionStart());
session.switchDatastore(sysrepo::Datastore::Candidate);
- // remove the 'if' statement when a fix is provided in sysrepo branch.
- if (session.getData("/keatest-module:container/list")) {
- session.deleteItem("/keatest-module:container/list");
- }
+ session.deleteItem("/keatest-module:container");
session.deleteItem("/keatest-module:kernel-modules");
session.deleteItem("/keatest-module:list");
session.deleteItem("/keatest-module:main");