]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Add testcase for SRv6 End.DX6
authorCarmine Scarpitta <cscarpit@cisco.com>
Sun, 22 Sep 2024 05:35:44 +0000 (07:35 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Sun, 22 Sep 2024 05:40:50 +0000 (07:40 +0200)
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
tests/topotests/zebra_seg6local_route/r1/routes.json

index e39192256607f45859c22f5bc76bf0debe288ef1..baa2ca7a1459e1a2339c31c7be9ad26662cb1ba9 100644 (file)
         }]
     }],
     "required_kernel": "5.14"
+  },
+  {
+    "in": {
+      "dest": "6::1",
+      "context": "End_DX6 2001::1"
+    },
+    "out":[{
+        "prefix":"6::1/128",
+        "protocol":"sharp",
+        "selected":true,
+        "destSelected":true,
+        "distance":150,
+        "metric":0,
+        "installed":true,
+        "table":254,
+        "nexthops":[{
+            "flags":3,
+            "fib":true,
+            "active":true,
+            "directlyConnected":true,
+            "interfaceName": "dum0",
+            "seg6local": { "action": "End.DX6" }
+        }]
+    }]
   }
 ]