]> git.puffer.fish Git - mirror/frr.git/commit
lib, yang: disable libyang custom user types temporarily 4271/head
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 6 May 2019 18:57:02 +0000 (15:57 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 7 May 2019 01:13:32 +0000 (22:13 -0300)
commitfd6aeabaeded22f8031af4136240c81dd8639af7
tree736ae8dfbb5420fd185f4964dd85df608e95efc5
parent158c16db543abc853dacdb69ef15b87b3c8a832e
lib, yang: disable libyang custom user types temporarily

libyang 1.0 introduced a few changes in the user types API, and
these changes made FRR incompatible with libyang 1.x. In order to
ease our migration from libyang 0.x to libyang 1.x, let's disable
our libyang custom user types temporarily so that FRR can work
with both libyang 0.x and libyang 1.x. This should be especially
helpful to the CI systems during the transition. Once the migration
to libyang 1.x is complete, this commit will be reverted.

Disabling our libyang custom user types should have only
minimal performance implications when processing configuration
transactions. The user types infrastructure should be more important
in the future to perform canonization of YANG data values when
necessary.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Makefile.am
configure.ac
lib/yang.c
lib/yang_wrappers.c
yang/libyang_plugins/subdir.am