summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2018-07-19 18:26:38 +0000
committerDon Slice <dslice@cumulusnetworks.com>2018-07-19 18:38:54 +0000
commitcc27402c4d78823f81bbf3d77663d0dc36735195 (patch)
tree1eb3a73643e522c8a78351001d25e18843873099
parentd0597b69f9500922fa978759ed3af91634bbd208 (diff)
tools: handle exit-vrf as end of context block
Ticket: CM-21048 Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
-rwxr-xr-xtools/frr-reload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index 208fb116e6..a9f183ed7b 100755
--- a/tools/frr-reload.py
+++ b/tools/frr-reload.py
@@ -403,7 +403,7 @@ end
self.save_contexts(ctx_keys, current_context_lines)
new_ctx = True
- elif line == "end":
+ elif line in ["end", "exit-vrf"]:
self.save_contexts(ctx_keys, current_context_lines)
log.debug('LINE %-50s: exiting old context, %-50s', line, ctx_keys)