]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tools: fix frr-reload context keywords
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 9 Feb 2022 23:51:49 +0000 (02:51 +0300)
committermergify-bot <noreply@mergify.com>
Thu, 10 Feb 2022 21:55:38 +0000 (21:55 +0000)
There are singline-line commands inside `router bgp` that start with
`vnc ` or `bmp `. Those commands are currently treated as node-entering
commands. We need to specify such commands more precisely.

Fixes #10548.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit 57692f125e60acc5b94e5b9ab11b654cce589ad9)

tools/frr-reload.py

index da51c231d10402565e9eb30f68462eb13037df4a..18ef922df52721cc079351f7af22eb0bb7f15cb2 100755 (executable)
@@ -544,9 +544,11 @@ end
                 "address-family ": {
                     "vni ": {},
                 },
-                "vnc ": {},
+                "vnc defaults": {},
+                "vnc nve-group ": {},
+                "vnc l2-group ": {},
                 "vrf-policy ": {},
-                "bmp ": {},
+                "bmp targets ": {},
                 "segment-routing srv6": {},
             },
             "router rip": {},