summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJonathan Voss <jvoss@onvox.net>2024-12-24 16:32:13 +0000
committerJonathan Voss <jvoss@onvox.net>2024-12-24 17:27:23 +0000
commit5b8b821f2f1b98280af05ade9d2770e5e6b3c042 (patch)
treeffaa8d6ebfea2c4ad5b40d195a1a335f5d143033 /tools
parent9ce3b144c99f172d611a94f9f4f2e1272664a31e (diff)
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/frr-reload.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index 2bb364f32b..2ea63a290e 100755
--- a/tools/frr-reload.py
+++ b/tools/frr-reload.py
@@ -279,7 +279,11 @@ ctx_keywords = {
"policy ": {"candidate-path ": {}},
"pcep": {"pcc": {}, "pce ": {}, "pce-config ": {}},
},
- "srv6": {"locators": {"locator ": {}}, "encapsulation": {}},
+ "srv6": {
+ "locators": {"locator ": {}},
+ "encapsulation": {},
+ "formats": {"format": {}},
+ },
},
"nexthop-group ": {},
"route-map ": {},