From 1d26fc3f196127b05b2e473049828c6ab3454cd7 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Thu, 20 Feb 2025 11:17:11 +0100 Subject: [PATCH] mgmtd: Load ietf-srv6-types YANG model Some daemons, such as staticd, which have been converted to mgmtd, require the SRv6 types defined in the ietf-srv6-types YANG model. This commit updates mgmtd to load the ietf-srv6-types YANG model. Signed-off-by: Carmine Scarpitta --- mgmtd/mgmt_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mgmtd/mgmt_main.c b/mgmtd/mgmt_main.c index e3fc6b7f29..77a9ca0277 100644 --- a/mgmtd/mgmt_main.c +++ b/mgmtd/mgmt_main.c @@ -20,6 +20,7 @@ #include "routing_nb.h" #include "affinitymap.h" #include "zebra/zebra_cli.h" +#include "srv6.h" /* mgmt options, we use GNU getopt library. */ static const struct option longopts[] = { @@ -195,6 +196,7 @@ static const struct frr_yang_module_info *const mgmt_yang_modules[] = { &zebra_route_map_info, &ietf_key_chain_cli_info, &ietf_key_chain_deviation_info, + &ietf_srv6_types_info, #ifdef HAVE_RIPD &frr_ripd_cli_info, -- 2.39.5