summaryrefslogtreecommitdiffstats
path: root/tools/frr-reload.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/frr-reload.py')
-rwxr-xr-xtools/frr-reload.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index 0b2397070..3121551ee 100755
--- a/tools/frr-reload.py
+++ b/tools/frr-reload.py
@@ -1320,6 +1320,12 @@ def compare_context_objects(newconf, running):
):
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
elif running_ctx_keys and not any(
"address-family" in key for key in running_ctx_keys