From abf2e50245d70adbc775f9a1df0990d6f7284ae5 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 25 Apr 2025 15:42:26 +0200 Subject: [PATCH] topotests: adapt srv6_sid_manager to uN notation The 'show ipv6 route' command now displays the seg6local action in uN notation when sids are micro SIDs. Propagate the changes in the test for End, End.X, and End.DT4 operations. Signed-off-by: Philippe Guibert --- .../topotests/srv6_sid_manager/rt1/show_ipv6_route.ref | 10 +++++----- .../topotests/srv6_sid_manager/rt2/show_ipv6_route.ref | 10 +++++----- .../topotests/srv6_sid_manager/rt3/show_ipv6_route.ref | 10 +++++----- .../topotests/srv6_sid_manager/rt4/show_ipv6_route.ref | 10 +++++----- .../topotests/srv6_sid_manager/rt5/show_ipv6_route.ref | 10 +++++----- .../topotests/srv6_sid_manager/rt6/show_ipv6_route.ref | 10 +++++----- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/tests/topotests/srv6_sid_manager/rt1/show_ipv6_route.ref b/tests/topotests/srv6_sid_manager/rt1/show_ipv6_route.ref index cdbec3f2c1..0e9248705a 100644 --- a/tests/topotests/srv6_sid_manager/rt1/show_ipv6_route.ref +++ b/tests/topotests/srv6_sid_manager/rt1/show_ipv6_route.ref @@ -217,7 +217,7 @@ "interfaceName":"sr0", "active":true, "seg6local":{ - "action":"End" + "action":"uN" } } ] @@ -239,7 +239,7 @@ "interfaceName":"eth-sw1", "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -261,7 +261,7 @@ "interfaceName":"eth-sw1", "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -283,7 +283,7 @@ "interfaceName":"vrf10", "active":true, "seg6local":{ - "action":"End.DT6" + "action":"uDT6" } } ] @@ -305,7 +305,7 @@ "interfaceName":"vrf20", "active":true, "seg6local":{ - "action":"End.DT6" + "action":"uDT6" } } ] diff --git a/tests/topotests/srv6_sid_manager/rt2/show_ipv6_route.ref b/tests/topotests/srv6_sid_manager/rt2/show_ipv6_route.ref index fc0f1d3bcc..29d8c014e7 100644 --- a/tests/topotests/srv6_sid_manager/rt2/show_ipv6_route.ref +++ b/tests/topotests/srv6_sid_manager/rt2/show_ipv6_route.ref @@ -253,7 +253,7 @@ "interfaceName":"sr0", "active":true, "seg6local":{ - "action":"End" + "action":"uN" } } ] @@ -274,7 +274,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -295,7 +295,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -316,7 +316,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -337,7 +337,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] diff --git a/tests/topotests/srv6_sid_manager/rt3/show_ipv6_route.ref b/tests/topotests/srv6_sid_manager/rt3/show_ipv6_route.ref index c590fcfdbc..81ee9c180c 100644 --- a/tests/topotests/srv6_sid_manager/rt3/show_ipv6_route.ref +++ b/tests/topotests/srv6_sid_manager/rt3/show_ipv6_route.ref @@ -253,7 +253,7 @@ "interfaceName":"sr0", "active":true, "seg6local":{ - "action":"End" + "action":"uN" } } ] @@ -274,7 +274,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -295,7 +295,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -316,7 +316,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -337,7 +337,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] diff --git a/tests/topotests/srv6_sid_manager/rt4/show_ipv6_route.ref b/tests/topotests/srv6_sid_manager/rt4/show_ipv6_route.ref index 7b575f1888..e37deb545a 100644 --- a/tests/topotests/srv6_sid_manager/rt4/show_ipv6_route.ref +++ b/tests/topotests/srv6_sid_manager/rt4/show_ipv6_route.ref @@ -253,7 +253,7 @@ "interfaceName":"sr0", "active":true, "seg6local":{ - "action":"End" + "action":"uN" } } ] @@ -274,7 +274,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -295,7 +295,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -316,7 +316,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -337,7 +337,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] diff --git a/tests/topotests/srv6_sid_manager/rt5/show_ipv6_route.ref b/tests/topotests/srv6_sid_manager/rt5/show_ipv6_route.ref index a7b3262f86..4730652131 100644 --- a/tests/topotests/srv6_sid_manager/rt5/show_ipv6_route.ref +++ b/tests/topotests/srv6_sid_manager/rt5/show_ipv6_route.ref @@ -253,7 +253,7 @@ "interfaceName":"sr0", "active":true, "seg6local":{ - "action":"End" + "action":"uN" } } ] @@ -274,7 +274,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -295,7 +295,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -316,7 +316,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -337,7 +337,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] diff --git a/tests/topotests/srv6_sid_manager/rt6/show_ipv6_route.ref b/tests/topotests/srv6_sid_manager/rt6/show_ipv6_route.ref index d06354b872..3a8321ea07 100644 --- a/tests/topotests/srv6_sid_manager/rt6/show_ipv6_route.ref +++ b/tests/topotests/srv6_sid_manager/rt6/show_ipv6_route.ref @@ -217,7 +217,7 @@ "interfaceName":"sr0", "active":true, "seg6local":{ - "action":"End" + "action":"uN" } } ] @@ -238,7 +238,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -259,7 +259,7 @@ "directlyConnected":true, "active":true, "seg6local":{ - "action":"End.X" + "action":"uA" } } ] @@ -281,7 +281,7 @@ "interfaceName":"vrf10", "active":true, "seg6local":{ - "action":"End.DT6" + "action":"uDT6" } } ] @@ -303,7 +303,7 @@ "interfaceName":"vrf20", "active":true, "seg6local":{ - "action":"End.DT6" + "action":"uDT6" } } ] -- 2.39.5