]> git.puffer.fish Git - matthieu/frr.git/commit
staticd: Add `no` form for `static-sids` command
authorCarmine Scarpitta <cscarpit@cisco.com>
Wed, 26 Feb 2025 14:34:19 +0000 (15:34 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Thu, 27 Feb 2025 11:17:26 +0000 (12:17 +0100)
commitab7a7541a669ebe586d8de8015e7eb68c0365c2b
treecd8c34f5440cec0b5ebed7c5a4b6274aaa80939e
parente7640f388538cba10bf954460315c7c9fac22d04
staticd: Add `no` form for `static-sids` command

Currently, when the user tries to delete all static SIDs with the
`no static-sids` command, staticd returns an error.

```
router# config
router(config)# segment-routing
router(sr)# srv6
router(srv6)# no static-sids
% Unknown command: no  static-sids
```

The problem is the `static-sids` command does not support the `no` form.

This PR enables the `no` form for the `static-sids` command.

```
router# config
router(config)# segment-routing
router(sr)# srv6
router(srv6)# no static-sids
```

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
staticd/static_nb.h
staticd/static_vty.c