summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_nb_state.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2020-04-06 23:20:43 +0200
committerSantosh P K <sapk@vmware.com>2020-04-16 17:58:09 +0200
commit7225e61cca4aea7f75d1625be46f161916d74f3d (patch)
tree808e7b4705817851d5127f3aae31ecfce2006b6a /zebra/zebra_nb_state.c
parentyang: add weight in nexthop operational model (diff)
downloadfrr-7225e61cca4aea7f75d1625be46f161916d74f3d.tar.xz
frr-7225e61cca4aea7f75d1625be46f161916d74f3d.zip
zebra: add weight to nb conversion
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_nb_state.c')
-rw-r--r--zebra/zebra_nb_state.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/zebra/zebra_nb_state.c b/zebra/zebra_nb_state.c
index 788998106..9036bdf0f 100644
--- a/zebra/zebra_nb_state.c
+++ b/zebra/zebra_nb_state.c
@@ -623,3 +623,15 @@ lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_fib_get_el
/* TODO: implement me. */
return NULL;
}
+
+/*
+ * XPath:
+ * /frr-vrf:lib/vrf/frr-zebra:ribs/rib/route/route-entry/nexthop-group/frr-nexthops/nexthop/weight
+ */
+struct yang_data *
+lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_weight_get_elem(
+ const char *xpath, const void *list_entry)
+{
+ /* TODO: implement me. */
+ return NULL;
+}