]> git.proxmox.com Git - mirror_frr.git/commit
lib: adapt plugin to use new Sysrepo version
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 19 Aug 2020 23:33:40 +0000 (20:33 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 20 Aug 2020 14:53:46 +0000 (11:53 -0300)
commit24ed137c2059bf2e1ec16a46f2b9482dd09579a7
treeab3b0fb1b5fc99a676b7cec89cfb743ff851f903
parentbe8d09f1255f10b49501001d4f39c86fa26154ab
lib: adapt plugin to use new Sysrepo version

Sysrepo recently underwent a complete rewrite, where some substantial
architectural changes were made (the most important one being the
extinction of the sysrepod daemon). While most of the existing API
was preserved, quite a few backward-incompatible changes [1] were
introduced (mostly simplifications). This commit adapts our sysrepo
northbound plugin to those API changes in order for it to be compatible
with the latest Sysrepo version.

Additional notes:
* The old Sysrepo version is EOL and not supported anymore.
* The new Sysrepo version requires libyang 1.x.

Closes #6936

[1] https://github.com/sysrepo/sysrepo/blob/devel/CHANGES

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/northbound_sysrepo.c
lib/yang.h