]> git.puffer.fish Git - mirror/frr.git/commitdiff
tools: fix frr-reload context keywords 10552/head
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 9 Feb 2022 23:51:49 +0000 (02:51 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 9 Feb 2022 23:51:49 +0000 (02:51 +0300)
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>
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": {},