diff options
| author | Carmine Scarpitta <cscarpit@cisco.com> | 2025-02-13 11:04:14 +0100 |
|---|---|---|
| committer | Carmine Scarpitta <cscarpit@cisco.com> | 2025-02-26 07:19:52 +0100 |
| commit | f2fcdaad3a18c096c5356ff745ab39c70d67adc5 (patch) | |
| tree | 7c196d29df531e2d242aa03ff7d05f0d07e99862 | |
| parent | 70c039baa8b722f7bbee12c38d95181dac2696c6 (diff) | |
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 <cscarpit@cisco.com>
| -rw-r--r-- | staticd/static_vty.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 <uN | uDT6 vrf VIEWVRFNAME | uDT4 vrf VIEWVRFNAME | uDT46 vrf VIEWVRFNAME>]", + "no sid X:X::X:X/M [locator NAME$locator_name] [behavior <uN | uA interface INTERFACE$interface [nexthop X:X::X:X$nh6] | uDT6 vrf VIEWVRFNAME | uDT4 vrf VIEWVRFNAME | uDT46 vrf VIEWVRFNAME>]", 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" |
