tools: create sub-context for bfd peers

add lines starting with 'peer' to the list of sub-contexts that are handled by frr-reload.py.

https://github.com/FRRouting/frr/issues/6511#issuecomment-655163833

Signed-off-by: Paul Manley <paul.manley@wholefoods.com>
(cherry picked from commit 1c23a0aaa1)
This commit is contained in:
Paul Manley 2020-07-09 11:21:16 -05:00 committed by Rafael Zalamena
parent 0615c09282
commit 692ce87393

View File

@ -496,6 +496,7 @@ end
line.startswith("vnc defaults") or
line.startswith("vnc l2-group") or
line.startswith("vnc nve-group") or
line.startswith("peer") or
line.startswith("member pseudowire")):
main_ctx_key = []