From b44c54889cca02abf5b71ff67722f928efefc7a6 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Wed, 26 Feb 2025 10:17:56 +0100 Subject: [PATCH] staticd: Convert `static-sids` command to DEFPY This commit converts the `static-sids` command from `DEFUN` to `DEFPY` to simplify the parsing of the command string definition. Signed-off-by: Carmine Scarpitta (cherry picked from commit e7640f388538cba10bf954460315c7c9fac22d04) --- staticd/static_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staticd/static_vty.c b/staticd/static_vty.c index f93e81e8dc..a6bf53e523 100644 --- a/staticd/static_vty.c +++ b/staticd/static_vty.c @@ -1174,7 +1174,7 @@ DEFUN_YANG_NOSH (no_static_srv6, no_static_srv6_cmd, return nb_cli_apply_changes(vty, "%s", xpath); } -DEFUN_NOSH (static_srv6_sids, static_srv6_sids_cmd, +DEFPY_NOSH (static_srv6_sids, static_srv6_sids_cmd, "static-sids", "Segment Routing SRv6 SIDs\n") { -- 2.39.5