[kea-dev] Kea YANG NETCONF support & build from source
ISC Kea
kea-dev.nick.citmu at 8alias.com
Mon Jun 27 16:47:36 UTC 2022
Hello everyone and Kea developers :-),
I am new to ISC Kea. I am interested in building and using ISC Kea with
support for YANG and NETCONF.
My first questions: is it still a thing in 2022? Is it still relevant? Is
the support of NETCONF/YANG still on the roadmap of Kea?
Are Kea developers working on this feature? Are there plans to update and
improve docuementation about this feature?
I saw this YANG/NETCONF feature in ISC Kea documentation, as well as in
several blog posts:
* 2016:
https://www.isc.org/blogs/ietf-hackathon-in-berlin-kea-and-yangnetconf/
* 14 Dec 2018: https://www.isc.org/blogs/kea-1-5/
I was NOT able to find any pre-built Kea package with NETCONF/YANG support
on the official ISC repo.
https://cloudsmith.io/~isc/repos/
Then I was inspired by this Kea post which was probably written in 2019 (or
before).
https://kb.isc.org/docs/building-a-kea-testbed-with-netconf
This gives a step by step procedure to achieve using YANG/NETCONF with ISC
Kea.
It was a nice start, but this documentation seems outdated and obsolete for
some steps (example : daemon sysrepod does not seem to exist anymore).
Then, I understood that in order to build ISC Kea from source with
option "--with-libyang
--with-sysrepo", I need the following dependencies (in that order):
libyang
libyang-cpp
sysrepo
sysrepo-cpp
zlib
libssh
libnetconf2
netopeer2
Most of those dependencies are found here: https://github.com/CESNET/.
Currently, I am working on building each of the previous components
(libyang, libyang-cpp, sysrepo, sysrepo-cpp, zlib, libssh, libnetconf2,
netopeer2).
I do that by using a multi-stage build in a containeur with "podman build".
Each stage I build a component and reuse it in the next stage.
My current biggest struggle is to make sure all those dependencies are at
the right version.
I also struggled with the version of CMake. Example : "libyang-cpp" need a
version of CMake that is newer than the one on the Debian apt mirror.
But I was able to install the proper version of CMake.
Then I needed C++ packages (for "libyang-cpp" and "sysrepo-cpp", docktest
or trompeloeil).
I install them with conan C++ package manager.
But even with these precautions, I was still missing some things.
For example, "libyang-cpp" were crashing, probably because I was not using
the devel branch but a precise TAG.
Or later, the Kea build ./configure script was not able to find
"sysrepo-cpp", even though it was build successfuly (I think).
Therefore, I need some guidances about the support of NETCONF in Kea.
Thank you for your time reading this post. I hope you can help me
understand a few thing!
Do you have a Slack or a chat?
--
A Kea (new) user
PS: Do not worry about the strange email adresses, I am simply using an
email alias handler from SimpleLogin: https://simplelogin.io/.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-dev/attachments/20220627/b3aec78a/attachment.htm>
More information about the kea-dev
mailing list