Commit d6fab8eb6a for frr
commit d6fab8eb6a0cb29adec23168cd400cf6b70afe0e
Author: Carmine Scarpitta <cscarpit@cisco.com>
Date: Fri Oct 23 22:57:22 2026 +0200
tests: Verify SRv6 locator config reload
Add a test showing `frr-reload` removes locator configuration when the
target config omits locators.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
diff --git a/tests/topotests/frr_reload_segment_routing/test_frr_reload_segment_routing.py b/tests/topotests/frr_reload_segment_routing/test_frr_reload_segment_routing.py
index d424384111..5186fb9937 100644
--- a/tests/topotests/frr_reload_segment_routing/test_frr_reload_segment_routing.py
+++ b/tests/topotests/frr_reload_segment_routing/test_frr_reload_segment_routing.py
@@ -159,6 +159,27 @@ segment-routing
exit
exit
exit
+exit
+ """,
+ "expected_to": "",
+ },
+ {
+ "from": """
+segment-routing
+ srv6
+ locators
+ locator MAIN
+ prefix fcbb:bbbb:1::/48
+ format usid-f3216
+ exit
+ exit
+ exit
+exit
+ """,
+ "to": """
+segment-routing
+ srv6
+ exit
exit
""",
"expected_to": "",