mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 15:27:59 +00:00
Merge pull request #7552 from volta-networks/fix_reload_l2pvn
tools: fix frr-reload l2vpn delete
This commit is contained in:
commit
95bd143ec3
@ -1301,6 +1301,12 @@ def compare_context_objects(newconf, running):
|
|||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# same thing for a pseudowire sub-context inside an l2vpn context
|
||||||
|
elif (len(running_ctx_keys) > 1 and running_ctx_keys[0].startswith('l2vpn') and
|
||||||
|
running_ctx_keys[1].startswith('member pseudowire') and
|
||||||
|
(running_ctx_keys[:1], None) in lines_to_del):
|
||||||
|
continue
|
||||||
|
|
||||||
# Non-global context
|
# Non-global context
|
||||||
elif running_ctx_keys and not any(
|
elif running_ctx_keys and not any(
|
||||||
"address-family" in key for key in running_ctx_keys
|
"address-family" in key for key in running_ctx_keys
|
||||||
|
Loading…
Reference in New Issue
Block a user