summaryrefslogtreecommitdiffstats
path: root/yang/frr-nexthop.yang
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-10-20 04:46:19 +0200
committerRenato Westphal <renato@opensourcerouting.org>2020-10-20 04:46:19 +0200
commitd6160c0acf9de9f4ca2c9fdb2d6f88a7405bf8c2 (patch)
treeb13fc305df2a3453e8c48b2bca143afc35f64c1f /yang/frr-nexthop.yang
parentMerge pull request #7333 from mjstapp/fix_multi_connected (diff)
downloadfrr-d6160c0acf9de9f4ca2c9fdb2d6f88a7405bf8c2.tar.xz
frr-d6160c0acf9de9f4ca2c9fdb2d6f88a7405bf8c2.zip
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>
Diffstat (limited to '')
-rw-r--r--yang/frr-nexthop.yang2
1 files changed, 1 insertions, 1 deletions
diff --git a/yang/frr-nexthop.yang b/yang/frr-nexthop.yang
index 52155dcd1..619514de7 100644
--- a/yang/frr-nexthop.yang
+++ b/yang/frr-nexthop.yang
@@ -275,7 +275,7 @@ module frr-nexthop {
description
"List of nexthop groups, each contains group of nexthops";
leaf name {
- type nexthop-group-ref;
+ type string;
description
"The nexthop-group name.";
}