diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2018-07-19 18:26:38 +0000 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2018-07-19 18:38:54 +0000 |
| commit | cc27402c4d78823f81bbf3d77663d0dc36735195 (patch) | |
| tree | 1eb3a73643e522c8a78351001d25e18843873099 | |
| parent | d0597b69f9500922fa978759ed3af91634bbd208 (diff) | |
tools: handle exit-vrf as end of context block
Ticket: CM-21048
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
| -rwxr-xr-x | tools/frr-reload.py | 2 |
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) |
