]> git.puffer.fish Git - mirror/frr.git/commitdiff
tools: Add missing rpki keyword to vrf in frr-reload 17765/head
authorJonathan Voss <jvoss@onvox.net>
Fri, 3 Jan 2025 03:19:30 +0000 (03:19 +0000)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sat, 4 Jan 2025 11:54:08 +0000 (11:54 +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>
(cherry picked from commit 975ee8ed6eb22f68538f3446b29ca34d65bec72f)

tools/frr-reload.py

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