mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 19:35:13 +00:00
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 <cscarpit@cisco.com>
This commit is contained in:
parent
598eaf37f8
commit
e7640f3885
@ -1190,7 +1190,7 @@ DEFUN_YANG_NOSH (no_static_srv6, no_static_srv6_cmd,
|
|||||||
return nb_cli_apply_changes(vty, "%s", xpath);
|
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",
|
"static-sids",
|
||||||
"Segment Routing SRv6 SIDs\n")
|
"Segment Routing SRv6 SIDs\n")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user