]> git.puffer.fish Git - mirror/frr.git/commit
tools: Add missing formats keyword to segment-routing in frr-reload 17719/head
authorJonathan Voss <jvoss@onvox.net>
Tue, 24 Dec 2024 16:32:13 +0000 (16:32 +0000)
committerJonathan Voss <jvoss@onvox.net>
Tue, 24 Dec 2024 17:27:23 +0000 (17:27 +0000)
commit5b8b821f2f1b98280af05ade9d2770e5e6b3c042
treeffaa8d6ebfea2c4ad5b40d195a1a335f5d143033
parent9ce3b144c99f172d611a94f9f4f2e1272664a31e
tools: Add missing formats keyword to segment-routing in frr-reload

When reloading the following configuration:
```
segment-routing
 srv6
  formats
   format usid-f3216
     wide-local-id-block explicit start 100
   exit
   !
   format uncompressed-f4024
   exit
   !
  exit
  !
 exit
 !
exit
```
frr-reload.py does not properly enter the `formats` context. Because of this,
it fails with an unknown command error when applying new or updating format
configuration.

Signed-off-by: Jonathan Voss <jvoss@onvox.net>
tools/frr-reload.py