]> git.puffer.fish Git - mirror/frr.git/commit
yang: fix circular chain of leafrefs 7346/head
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 20 Oct 2020 02:46:19 +0000 (23:46 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 20 Oct 2020 02:46:19 +0000 (23:46 -0300)
commitd6160c0acf9de9f4ca2c9fdb2d6f88a7405bf8c2
treeb13fc305df2a3453e8c48b2bca143afc35f64c1f
parentc85b63238ae18baaabd833cdbfba79bba227a0e0
yang: fix circular chain of leafrefs

Fix the following libyang error when trying to load the "frr-nexthop"
module explicitly (e.g. using the 'gen_northbound_callbacks' tool):

libyang: A circular chain of leafrefs detected. (/frr-nexthop:frr-nexthop-group/nexthop-groups/name)
libyang: Invalid value "frr-nexthop-grouping" of "uses". (/frr-nexthop:frr-nexthop-group/frr-nexthop-grouping)
libyang: Copying data from grouping failed. (/frr-nexthop:frr-nexthop-group/frr-nexthop-grouping)
libyang: Module "frr-nexthop" parsing failed.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
yang/frr-nexthop.yang