From 57692f125e60acc5b94e5b9ab11b654cce589ad9 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Thu, 10 Feb 2022 02:51:49 +0300 Subject: 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 --- tools/frr-reload.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/frr-reload.py b/tools/frr-reload.py index 2be865351..2b76c43f7 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": {}, -- cgit v1.2.3