]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tools: Add missing rpki keyword to vrf in frr-reload
authorJonathan Voss <jvoss@onvox.net>
Fri, 3 Jan 2025 03:19:30 +0000 (03:19 +0000)
committerJonathan Voss <jvoss@onvox.net>
Fri, 3 Jan 2025 03:31:57 +0000 (03:31 +0000)
When reloading the following configuration:
```
vrf red
 rpki
  rpki cache tcp 172.65.0.2 8282 preference 1
 exit
exit-vrf
```
frr-reload.py does not properly enter the `rpki` context
within a `vrf`. Because of this, it fails to apply RPKI
configurations.

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

index 2ea63a290e5d08c71f49cba888e72f2972109859..dba50b3c538af2ddc5de70a2a0f35261a2634d57 100755 (executable)
@@ -270,7 +270,7 @@ ctx_keywords = {
     "mpls ldp": {"address-family ": {"interface ": {}}},
     "l2vpn ": {"member pseudowire ": {}},
     "key chain ": {"key ": {}},
-    "vrf ": {},
+    "vrf ": {"rpki": {}},
     "interface ": {"link-params": {}},
     "pseudowire ": {},
     "segment-routing": {