diff options
author | Chirag Shah <chirag@cumulusnetworks.com> | 2020-05-29 06:44:37 +0200 |
---|---|---|
committer | Chirag Shah <chirag@cumulusnetworks.com> | 2020-06-11 01:25:18 +0200 |
commit | 9670b0b399ed479a81c6b201778f266853562ffb (patch) | |
tree | 45c0e0a7a0534c26b6551b626a164b11ed2be9ed /yang/frr-zebra.yang | |
parent | Merge pull request #6471 from volta-networks/fix_zebra_register_rnh_pseudowire (diff) | |
download | frr-9670b0b399ed479a81c6b201778f266853562ffb.tar.xz frr-9670b0b399ed479a81c6b201778f266853562ffb.zip |
yang: redefine nexthop operational model
Separate out nexthop config and operational models.
nexthop-group config model has list of nexthop-groups
where else operational nexthop group is single entity
underneath list of nexthops.
The common code is fectored into grouping to use among
config and operational model.
nexthop operational model caters to RIB operational model.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'yang/frr-zebra.yang')
-rw-r--r-- | yang/frr-zebra.yang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang index 4aeba1412..159dd8f79 100644 --- a/yang/frr-zebra.yang +++ b/yang/frr-zebra.yang @@ -316,7 +316,7 @@ module frr-zebra { "Uptime for the route."; } - uses frr-nh:frr-nexthop-grouping; + uses frr-nh:frr-nexthop-group-operational; } // End of route-common @@ -2074,7 +2074,7 @@ module frr-zebra { } } - augment "/frr-vrf:lib/frr-vrf:vrf/frr-zebra:zebra/ribs/rib/route/route-entry/nexthop-group/frr-nexthops/nexthop" { + augment "/frr-vrf:lib/frr-vrf:vrf/frr-zebra:zebra/ribs/rib/route/route-entry/nexthop-group/nexthop" { uses frr-nh:frr-nexthop-operational; } |