summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarmine Scarpitta <cscarpit@cisco.com>2024-09-06 22:46:53 +0200
committerCarmine Scarpitta <cscarpit@cisco.com>2024-09-06 23:08:03 +0200
commitcc909c7266ebca18e2b065a323356fe512ad66fe (patch)
tree76f18d35a975a40d2364caeac711f27c7d9fa99e
parent5351018240c638090b56b51fccc83e1b5ecb65a7 (diff)
tests: Add json to verify rt1 ISIS adj
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
-rw-r--r--tests/topotests/srv6_sid_manager/rt1/show_yang_interface_isis_adjacencies.ref32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/topotests/srv6_sid_manager/rt1/show_yang_interface_isis_adjacencies.ref b/tests/topotests/srv6_sid_manager/rt1/show_yang_interface_isis_adjacencies.ref
new file mode 100644
index 0000000000..9c5901b90f
--- /dev/null
+++ b/tests/topotests/srv6_sid_manager/rt1/show_yang_interface_isis_adjacencies.ref
@@ -0,0 +1,32 @@
+{
+ "frr-interface:lib": {
+ "interface": [
+ {
+ "name": "eth-sw1",
+ "vrf": "default",
+ "state": {
+ "frr-isisd:isis": {
+ "adjacencies": {
+ "adjacency": [
+ {
+ "neighbor-sys-type": "level-1",
+ "neighbor-sysid": "0000.0000.0003",
+ "hold-timer": 10,
+ "neighbor-priority": 64,
+ "state": "up"
+ },
+ {
+ "neighbor-sys-type": "level-1",
+ "neighbor-sysid": "0000.0000.0002",
+ "hold-timer": 10,
+ "neighbor-priority": 64,
+ "state": "up"
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+}