]> git.puffer.fish Git - mirror/frr.git/commitdiff
tools: Add missing rpki keyword to vrf in frr-reload 17764/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:53:54 +0000 (11:53 +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 461f0e8c61bfbc1b6cb3fcdf6d2472661329590c..2590161b496d58a78dfea075c80fb41b1e605235 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": {