]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Add json to verify ce2 rib
authorCarmine Scarpitta <cscarpit@cisco.com>
Fri, 6 Sep 2024 20:37:42 +0000 (22:37 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Fri, 6 Sep 2024 21:08:02 +0000 (23:08 +0200)
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
tests/topotests/srv6_sid_manager/ce2/ipv6_rib.json [new file with mode: 0644]

diff --git a/tests/topotests/srv6_sid_manager/ce2/ipv6_rib.json b/tests/topotests/srv6_sid_manager/ce2/ipv6_rib.json
new file mode 100644 (file)
index 0000000..b4594d1
--- /dev/null
@@ -0,0 +1,58 @@
+{
+       "::/0": [
+               {
+                       "prefix": "::/0",
+                       "protocol": "static",
+                       "vrfId": 0,
+                       "vrfName": "default",
+                       "selected": true,
+                       "destSelected": true,
+                       "distance": 1,
+                       "metric": 0,
+                       "installed": true,
+                       "table": 254,
+                       "internalStatus": 16,
+                       "internalFlags": 73,
+                       "internalNextHopNum": 1,
+                       "internalNextHopActiveNum": 1,
+                       "nexthops": [
+                               {
+                                       "flags": 3,
+                                       "fib": true,
+                                       "ip": "2001:2::1",
+                                       "afi": "ipv6",
+                                       "interfaceName": "eth-rt6",
+                                       "active": true,
+                                       "weight": 1
+                               }
+                       ]
+               }
+       ],
+       "2001:2::/64": [
+               {
+                       "prefix": "2001:2::/64",
+                       "protocol": "connected",
+                       "vrfId": 0,
+                       "vrfName": "default",
+                       "selected": true,
+                       "destSelected": true,
+                       "distance": 0,
+                       "metric": 0,
+                       "installed": true,
+                       "table": 254,
+                       "internalStatus": 16,
+                       "internalFlags": 8,
+                       "internalNextHopNum": 1,
+                       "internalNextHopActiveNum": 1,
+                       "nexthops": [
+                               {
+                                       "flags": 3,
+                                       "fib": true,
+                                       "directlyConnected": true,
+                                       "interfaceName": "eth-rt6",
+                                       "active": true
+                               }
+                       ]
+               }
+       ]
+}