From: Carmine Scarpitta Date: Thu, 13 Feb 2025 10:04:14 +0000 (+0100) Subject: staticd: Extend CLI to unconfigure an SRv6 uA SID X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f2fcdaad3a18c096c5356ff745ab39c70d67adc5;p=matthieu%2Ffrr.git staticd: Extend CLI to unconfigure an SRv6 uA SID This commit extends the STATIC CLI to support the deletion of uA SIDs. ``` router(config)# no sid fcbb:bbbb:1:fe00::/64 locator MAIN behavior uA interface sr0 nexthop 2001::2 ``` Signed-off-by: Carmine Scarpitta --- diff --git a/staticd/static_vty.c b/staticd/static_vty.c index ad4ef87319..39776a4143 100644 --- a/staticd/static_vty.c +++ b/staticd/static_vty.c @@ -1295,7 +1295,7 @@ DEFPY_YANG(srv6_sid, srv6_sid_cmd, } DEFPY_YANG(no_srv6_sid, no_srv6_sid_cmd, - "no sid X:X::X:X/M [locator NAME$locator_name] [behavior ]", + "no sid X:X::X:X/M [locator NAME$locator_name] [behavior ]", NO_STR "Configure SRv6 SID\n" "Specify SRv6 SID\n" @@ -1303,6 +1303,11 @@ DEFPY_YANG(no_srv6_sid, no_srv6_sid_cmd, "Specify Locator name\n" "Specify SRv6 SID behavior\n" "Apply the code to a uN SID\n" + "Behavior uA\n" + "Configure the interface\n" + "Interface name\n" + "Configure the nexthop\n" + "IPv6 address of the nexthop\n" "Apply the code to an uDT6 SID\n" "Configure VRF name\n" "Specify VRF name\n"