forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CUMULUS] tools: Avoid bgp peer reset when toggling pwd-obfus config
When pwd-obfuscation config is toggled in one of the following cases, bgp peer session is reset. - config/unconfig pwd-obfuscation + frr-reload - set/unset pwd-obfuscation from NV Issue here is that (say in case of configuring pwd-obfuscation), frr-reload script sees that the running config has unencrypted pwds & the new incoming config has encrypted pwds. So to honor the delta, it performs a 'no neigh pwd xyz' + 'neigh pwd !@#' Fix: In frr-reload.py if we see that the lines_to_del has a nbr pwd and if that entry's encrypted/decrypted version exists in lines_to_add, then we delete the corresponding entries from lines_to_add/del. Issue: 3527236 Ticket# 3527236 Signed-off-by: Rajasekar Raja <[email protected]>
- Loading branch information
1 parent
5efc40a
commit 9acee40
Showing
1 changed file
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters