]> git.proxmox.com Git - mirror_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:49 +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 2be8653519620bace42cc6db9b69f343914b3441..2b76c43f7b88bdde43726f21e1cd0bdb3381b9a1 100755 (executable)
@@ -517,9 +517,11 @@ class Config(object):
                 "address-family ": {
                     "vni ": {},
                 },
-                "vnc ": {},
+                "vnc defaults": {},
+                "vnc nve-group ": {},
+                "vnc l2-group ": {},
                 "vrf-policy ": {},
-                "bmp ": {},
+                "bmp targets ": {},
                 "segment-routing srv6": {},
             },
             "router rip": {},