summaryrefslogtreecommitdiff
path: root/zebra/zebra_nb_config.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2020-03-16 12:09:26 -0700
committerChirag Shah <chirag@cumulusnetworks.com>2020-05-12 14:31:37 -0700
commit56a88b9e1c47eb568bcd2749eb5d5007b60434fa (patch)
tree9a2a31a820ff0f9d431ab4931adf04344f592e4a /zebra/zebra_nb_config.c
parent9d86e091bb2bf1a1385408631c90a4bf3694468f (diff)
zebra: add zebra container to rib model
Add zebra container in rib tree. When displaying RIB under vrf, it displays zebra module name. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_nb_config.c')
-rw-r--r--zebra/zebra_nb_config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_nb_config.c b/zebra/zebra_nb_config.c
index e7780e5338..a6aa72cf48 100644
--- a/zebra/zebra_nb_config.c
+++ b/zebra/zebra_nb_config.c
@@ -1217,9 +1217,9 @@ int lib_interface_zebra_bandwidth_destroy(struct nb_cb_destroy_args *args)
}
/*
- * XPath: /frr-vrf:lib/vrf/frr-zebra:ribs/rib
+ * XPath: /frr-vrf:lib/vrf/frr-zebra:zebra/ribs/rib
*/
-int lib_vrf_ribs_rib_create(struct nb_cb_create_args *args)
+int lib_vrf_zebra_ribs_rib_create(struct nb_cb_create_args *args)
{
struct vrf *vrf;
afi_t afi = AFI_IP;
@@ -1261,7 +1261,7 @@ int lib_vrf_ribs_rib_create(struct nb_cb_create_args *args)
return NB_OK;
}
-int lib_vrf_ribs_rib_destroy(struct nb_cb_destroy_args *args)
+int lib_vrf_zebra_ribs_rib_destroy(struct nb_cb_destroy_args *args)
{
if (args->event != NB_EV_APPLY)
return NB_OK;