summaryrefslogtreecommitdiff
path: root/mgmtd/mgmt_main.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-10-03 17:53:11 -0400
committerChristian Hopps <chopps@labn.net>2023-12-28 17:53:40 +0000
commitef91d34f01bcabb23a631523e31fceb973b711a3 (patch)
tree0609f28a55b5da0bc83ee0e5da251279ced84750 /mgmtd/mgmt_main.c
parent4e0147a05ebfa0ba1f262b1e191d3cbf1a44003d (diff)
zebra: add zebra to mgmtd oper-state
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt_main.c')
-rw-r--r--mgmtd/mgmt_main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mgmtd/mgmt_main.c b/mgmtd/mgmt_main.c
index b58b93c71d..793161dc32 100644
--- a/mgmtd/mgmt_main.c
+++ b/mgmtd/mgmt_main.c
@@ -207,6 +207,16 @@ static const struct frr_yang_module_info *const mgmt_yang_modules[] = {
* NOTE: Always set .ignore_cbs true for to avoid validating
* backend configuration northbound callbacks during loading.
*/
+ &(struct frr_yang_module_info){ .name = "frr-zebra",
+ .ignore_cbs = true },
+ /*
+ * TO support LYD_LYB parsing we have to include all the modules that
+ * backend clients include.
+ */
+ &(struct frr_yang_module_info){ .name = "frr-affinity-map",
+ .ignore_cbs = true },
+ &(struct frr_yang_module_info){ .name = "frr-zebra-route-map",
+ .ignore_cbs = true },
#ifdef HAVE_STATICD
&frr_staticd_info,
#endif