summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2022-02-10 02:51:49 +0300
committermergify-bot <noreply@mergify.com>2022-02-10 21:55:49 +0000
commit32389bfbbee6353d6b0cebd8417d097e330ea363 (patch)
treec613491d5706f017a7ed53f1c61274aaf30ae33f
parent6cb7c5d9b1d239d83c7cbab4984903691fe5abee (diff)
tools: fix frr-reload context keywords
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)
-rwxr-xr-xtools/frr-reload.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index 2be8653519..2b76c43f7b 100755
--- a/tools/frr-reload.py
+++ b/tools/frr-reload.py
@@ -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": {},