From 240b7826f6bc4dbcf9de7bbe94f08b9ce9ddffc5 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Sat, 9 May 2020 14:24:20 -0300 Subject: build, yang: bump libyang minimum required version to 1.0.184 It's time to say good bye to libyang 0.16.105. The recently released libyang 1.0.184 includes numerous bug fixes and performance improvements that we need. Despite the major version bump from 0.x to 1.x, the libyang API is the same except for a single backward-incompatible change in the user types interface (which we're currently not using). Hence no code changes were necessary to adapt FRR to libyang 1.x. This commit also reintroduces some leafrefs that needed to be removed from our YANG modules due to a bug that was present on libyang 0.16.105. Signed-off-by: Renato Westphal --- yang/frr-route-map.yang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yang/frr-route-map.yang') diff --git a/yang/frr-route-map.yang b/yang/frr-route-map.yang index b895cd12a..c9d35938c 100644 --- a/yang/frr-route-map.yang +++ b/yang/frr-route-map.yang @@ -249,7 +249,7 @@ module frr-route-map { case interface { when "./condition = 'interface'"; leaf interface { - type string; + type frr-interface:interface-ref; } } -- cgit v1.2.3