]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tools: create sub-context for bfd peers
authorPaul Manley <paul.manley@wholefoods.com>
Thu, 9 Jul 2020 16:21:16 +0000 (11:21 -0500)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 14 Jul 2020 16:44:30 +0000 (13:44 -0300)
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 1c23a0aaa1c5d20af50af75b070e93e1eff21222)

tools/frr-reload.py

index d4020cdfc98ba95030b7194a1c54a3b7193a6348..e9641b2b13c9a382e59488066a33d8dc9c0a2bdc 100755 (executable)
@@ -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 = []