summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/topotests/isis_topo1/r3/r3_route.json15
-rw-r--r--tests/topotests/isis_topo1/r4/r4_route.json15
-rw-r--r--tests/topotests/isis_topo1/r5/isisd.conf1
-rw-r--r--tests/topotests/isis_topo1/r5/r5_route.json16
-rw-r--r--tests/topotests/isis_topo1/r5/zebra.conf2
5 files changed, 49 insertions, 0 deletions
diff --git a/tests/topotests/isis_topo1/r3/r3_route.json b/tests/topotests/isis_topo1/r3/r3_route.json
index 61d05e80bb..c3b6e3b0a6 100644
--- a/tests/topotests/isis_topo1/r3/r3_route.json
+++ b/tests/topotests/isis_topo1/r3/r3_route.json
@@ -146,5 +146,20 @@
"protocol": "isis",
"selected": true
}
+ ],
+ "192.0.2.6/32": [
+ {
+ "nexthops": [
+ {
+ "active": true,
+ "fib": true,
+ "ip": "10.0.10.1",
+ "interfaceName": "r3-eth1"
+ }
+ ],
+ "prefix": "192.0.2.6/32",
+ "protocol": "isis",
+ "selected": true
+ }
]
}
diff --git a/tests/topotests/isis_topo1/r4/r4_route.json b/tests/topotests/isis_topo1/r4/r4_route.json
index 79361af4b5..8fd46add33 100644
--- a/tests/topotests/isis_topo1/r4/r4_route.json
+++ b/tests/topotests/isis_topo1/r4/r4_route.json
@@ -61,5 +61,20 @@
"protocol": "connected",
"selected": true
}
+ ],
+ "192.0.2.6/32": [
+ {
+ "nexthops": [
+ {
+ "active": true,
+ "fib": true,
+ "ip": "10.0.11.1",
+ "interfaceName": "r4-eth1"
+ }
+ ],
+ "prefix": "192.0.2.6/32",
+ "protocol": "isis",
+ "selected": true
+ }
]
}
diff --git a/tests/topotests/isis_topo1/r5/isisd.conf b/tests/topotests/isis_topo1/r5/isisd.conf
index e0e9200d62..81686e0525 100644
--- a/tests/topotests/isis_topo1/r5/isisd.conf
+++ b/tests/topotests/isis_topo1/r5/isisd.conf
@@ -20,4 +20,5 @@ router isis 1
is-type level-1
redistribute ipv4 connected level-1
redistribute ipv6 connected level-1
+ redistribute ipv4 table 20 level-1
!
diff --git a/tests/topotests/isis_topo1/r5/r5_route.json b/tests/topotests/isis_topo1/r5/r5_route.json
index cca844b27c..ec544b8e85 100644
--- a/tests/topotests/isis_topo1/r5/r5_route.json
+++ b/tests/topotests/isis_topo1/r5/r5_route.json
@@ -141,5 +141,21 @@
"protocol": "connected",
"selected": true
}
+ ],
+ "192.0.2.6/32": [
+ {
+ "nexthops": [
+ {
+ "active": true,
+ "fib": true,
+ "ip": "10.0.10.6",
+ "interfaceName": "r5-eth0"
+ }
+ ],
+ "prefix": "192.0.2.6/32",
+ "protocol": "table",
+ "instance": 20,
+ "selected": true
+ }
]
}
diff --git a/tests/topotests/isis_topo1/r5/zebra.conf b/tests/topotests/isis_topo1/r5/zebra.conf
index 48fed69662..7c400f797b 100644
--- a/tests/topotests/isis_topo1/r5/zebra.conf
+++ b/tests/topotests/isis_topo1/r5/zebra.conf
@@ -1,4 +1,6 @@
hostname r5
+ip route 192.0.2.6/32 10.0.10.6 table 20
+ip import 20
interface r5-eth0
ip address 10.0.10.1/24
ipv6 address 2001:db8:2:1::1/64