Merge pull request #6737 from opensourcerouting/74-bfdd-frr-reload

[7.4] Add BFD peer awareness to frr-reload.py and vtysh markfile
This commit is contained in:
Donatas Abraitis 2020-07-15 08:33:54 +03:00 committed by GitHub
commit 62fd6027f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

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 = []

View File

@ -809,6 +809,9 @@ int vtysh_mark_file(const char *filename)
} else if ((prev_node == KEYCHAIN_KEY_NODE)
&& (tried == 1)) {
vty_out(vty, "exit\n");
} else if ((prev_node == BFD_PEER_NODE)
&& (tried == 1)) {
vty_out(vty, "exit\n");
} else if (tried) {
vty_out(vty, "end\n");
}