summaryrefslogtreecommitdiffstats
path: root/mgmtd/mgmt_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'mgmtd/mgmt_main.c')
-rw-r--r--mgmtd/mgmt_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mgmtd/mgmt_main.c b/mgmtd/mgmt_main.c
index 1880d9441..7d909446c 100644
--- a/mgmtd/mgmt_main.c
+++ b/mgmtd/mgmt_main.c
@@ -159,6 +159,12 @@ const struct frr_yang_module_info ietf_netconf_with_defaults_info = {
* clients into mgmtd. The modules are used by libyang in order to support
* parsing binary data returns from the backend.
*/
+const struct frr_yang_module_info frr_backend_client_info = {
+ .name = "frr-backend",
+ .ignore_cfg_cbs = true,
+ .nodes = { { .xpath = NULL } },
+};
+
const struct frr_yang_module_info zebra_route_map_info = {
.name = "frr-zebra-route-map",
.ignore_cfg_cbs = true,
@@ -183,6 +189,7 @@ static const struct frr_yang_module_info *const mgmt_yang_modules[] = {
/*
* YANG module info used by backend clients get added here.
*/
+ &frr_backend_client_info,
&frr_zebra_cli_info,
&zebra_route_map_info,