]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Add json to verify rt6 ISIS adj
authorCarmine Scarpitta <cscarpit@cisco.com>
Fri, 6 Sep 2024 20:54:57 +0000 (22:54 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Fri, 6 Sep 2024 21:08:03 +0000 (23:08 +0200)
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
tests/topotests/srv6_sid_manager/rt6/show_yang_interface_isis_adjacencies.ref [new file with mode: 0644]

diff --git a/tests/topotests/srv6_sid_manager/rt6/show_yang_interface_isis_adjacencies.ref b/tests/topotests/srv6_sid_manager/rt6/show_yang_interface_isis_adjacencies.ref
new file mode 100644 (file)
index 0000000..8300ca0
--- /dev/null
@@ -0,0 +1,44 @@
+{
+  "frr-interface:lib": {
+    "interface": [
+      {
+        "name": "eth-rt4",
+        "vrf": "default",
+        "state": {
+          "frr-isisd:isis": {
+            "adjacencies": {
+              "adjacency": [
+                {
+                  "neighbor-sys-type": "level-1",
+                  "neighbor-sysid": "0000.0000.0004",
+                  "hold-timer": 10,
+                  "neighbor-priority": 0,
+                  "state": "up"
+                }
+              ]
+            }
+          }
+        }
+      },
+      {
+        "name": "eth-rt5",
+        "vrf": "default",
+        "state": {
+          "frr-isisd:isis": {
+            "adjacencies": {
+              "adjacency": [
+                {
+                  "neighbor-sys-type": "level-1",
+                  "neighbor-sysid": "0000.0000.0005",
+                  "hold-timer": 10,
+                  "neighbor-priority": 0,
+                  "state": "up"
+                }
+              ]
+            }
+          }
+        }
+      }
+    ]
+  }
+}