summaryrefslogtreecommitdiffstats
path: root/tests/topotests/route_scale/r1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/route_scale/r1')
-rw-r--r--tests/topotests/route_scale/r1/installed.routes.json16
-rw-r--r--tests/topotests/route_scale/r1/no.routes.json11
-rw-r--r--tests/topotests/route_scale/r1/sharpd.conf76
-rw-r--r--tests/topotests/route_scale/r1/zebra.conf96
4 files changed, 199 insertions, 0 deletions
diff --git a/tests/topotests/route_scale/r1/installed.routes.json b/tests/topotests/route_scale/r1/installed.routes.json
new file mode 100644
index 0000000..25d209f
--- /dev/null
+++ b/tests/topotests/route_scale/r1/installed.routes.json
@@ -0,0 +1,16 @@
+{
+ "routes":[
+ {
+ "fib":32,
+ "rib":32,
+ "type":"connected"
+ },
+ {
+ "fib":1000000,
+ "rib":1000000,
+ "type":"sharp"
+ }
+ ],
+ "routesTotal":1000032,
+ "routesTotalFib":1000032
+}
diff --git a/tests/topotests/route_scale/r1/no.routes.json b/tests/topotests/route_scale/r1/no.routes.json
new file mode 100644
index 0000000..abebd1b
--- /dev/null
+++ b/tests/topotests/route_scale/r1/no.routes.json
@@ -0,0 +1,11 @@
+{
+ "routes":[
+ {
+ "fib":32,
+ "rib":32,
+ "type":"connected"
+ }
+ ],
+ "routesTotal":32,
+ "routesTotalFib":32
+}
diff --git a/tests/topotests/route_scale/r1/sharpd.conf b/tests/topotests/route_scale/r1/sharpd.conf
new file mode 100644
index 0000000..0848f34
--- /dev/null
+++ b/tests/topotests/route_scale/r1/sharpd.conf
@@ -0,0 +1,76 @@
+!
+nexthop-group one
+ nexthop 192.168.0.1 r1-eth0
+!
+nexthop-group two
+ nexthop 192.168.0.1 r1-eth0
+ nexthop 192.168.1.1 r1-eth1
+!
+nexthop-group four
+ nexthop 192.168.0.1 r1-eth0
+ nexthop 192.168.1.1 r1-eth1
+ nexthop 192.168.2.1 r1-eth2
+ nexthop 192.168.3.1 r1-eth3
+!
+nexthop-group eight
+ nexthop 192.168.0.1 r1-eth0
+ nexthop 192.168.1.1 r1-eth1
+ nexthop 192.168.2.1 r1-eth2
+ nexthop 192.168.3.1 r1-eth3
+ nexthop 192.168.4.1 r1-eth4
+ nexthop 192.168.5.1 r1-eth5
+ nexthop 192.168.6.1 r1-eth6
+ nexthop 192.168.7.1 r1-eth7
+!
+nexthop-group sixteen
+ nexthop 192.168.0.1 r1-eth0
+ nexthop 192.168.1.1 r1-eth1
+ nexthop 192.168.2.1 r1-eth2
+ nexthop 192.168.3.1 r1-eth3
+ nexthop 192.168.4.1 r1-eth4
+ nexthop 192.168.5.1 r1-eth5
+ nexthop 192.168.6.1 r1-eth6
+ nexthop 192.168.7.1 r1-eth7
+ nexthop 192.168.8.1 r1-eth8
+ nexthop 192.168.9.1 r1-eth9
+ nexthop 192.168.10.1 r1-eth10
+ nexthop 192.168.11.1 r1-eth11
+ nexthop 192.168.12.1 r1-eth12
+ nexthop 192.168.13.1 r1-eth13
+ nexthop 192.168.14.1 r1-eth14
+ nexthop 192.168.15.1 r1-eth15
+!
+nexthop-group thirtytwo
+ nexthop 192.168.0.1 r1-eth0
+ nexthop 192.168.1.1 r1-eth1
+ nexthop 192.168.2.1 r1-eth2
+ nexthop 192.168.3.1 r1-eth3
+ nexthop 192.168.4.1 r1-eth4
+ nexthop 192.168.5.1 r1-eth5
+ nexthop 192.168.6.1 r1-eth6
+ nexthop 192.168.7.1 r1-eth7
+ nexthop 192.168.8.1 r1-eth8
+ nexthop 192.168.9.1 r1-eth9
+ nexthop 192.168.10.1 r1-eth10
+ nexthop 192.168.11.1 r1-eth11
+ nexthop 192.168.12.1 r1-eth12
+ nexthop 192.168.13.1 r1-eth13
+ nexthop 192.168.14.1 r1-eth14
+ nexthop 192.168.15.1 r1-eth15
+ nexthop 192.168.16.1 r1-eth16
+ nexthop 192.168.17.1 r1-eth17
+ nexthop 192.168.18.1 r1-eth18
+ nexthop 192.168.19.1 r1-eth19
+ nexthop 192.168.20.1 r1-eth20
+ nexthop 192.168.21.1 r1-eth21
+ nexthop 192.168.22.1 r1-eth22
+ nexthop 192.168.23.1 r1-eth23
+ nexthop 192.168.24.1 r1-eth24
+ nexthop 192.168.25.1 r1-eth25
+ nexthop 192.168.26.1 r1-eth26
+ nexthop 192.168.27.1 r1-eth27
+ nexthop 192.168.28.1 r1-eth28
+ nexthop 192.168.29.1 r1-eth29
+ nexthop 192.168.30.1 r1-eth30
+ nexthop 192.168.31.1 r1-eth31
+! \ No newline at end of file
diff --git a/tests/topotests/route_scale/r1/zebra.conf b/tests/topotests/route_scale/r1/zebra.conf
new file mode 100644
index 0000000..48a01f4
--- /dev/null
+++ b/tests/topotests/route_scale/r1/zebra.conf
@@ -0,0 +1,96 @@
+int r1-eth0
+ ip addr 192.168.0.1/24
+!
+int r1-eth1
+ ip addr 192.168.1.1/24
+!
+int r1-eth2
+ ip addr 192.168.2.1/24
+!
+int r1-eth3
+ ip addr 192.168.3.1/24
+!
+int r1-eth4
+ ip addr 192.168.4.1/24
+!
+int r1-eth5
+ ip addr 192.168.5.1/24
+!
+int r1-eth6
+ ip addr 192.168.6.1/24
+!
+int r1-eth7
+ ip addr 192.168.7.1/24
+!
+int r1-eth8
+ ip addr 192.168.8.1/24
+!
+int r1-eth9
+ ip addr 192.168.9.1/24
+!
+int r1-eth10
+ ip addr 192.168.10.1/24
+!
+int r1-eth11
+ ip addr 192.168.11.1/24
+!
+int r1-eth12
+ ip addr 192.168.12.1/24
+!
+int r1-eth13
+ ip addr 192.168.13.1/24
+!
+int r1-eth14
+ ip addr 192.168.14.1/24
+!
+int r1-eth15
+ ip addr 192.168.15.1/24
+!
+int r1-eth16
+ ip addr 192.168.16.1/24
+!
+int r1-eth17
+ ip addr 192.168.17.1/24
+!
+int r1-eth18
+ ip addr 192.168.18.1/24
+!
+int r1-eth19
+ ip addr 192.168.19.1/24
+!
+int r1-eth20
+ ip addr 192.168.20.1/24
+!
+int r1-eth21
+ ip addr 192.168.21.1/24
+!
+int r1-eth22
+ ip addr 192.168.22.1/24
+!
+int r1-eth23
+ ip addr 192.168.23.1/24
+!
+int r1-eth24
+ ip addr 192.168.24.1/24
+!
+int r1-eth25
+ ip addr 192.168.25.1/24
+!
+int r1-eth26
+ ip addr 192.168.26.1/24
+!
+int r1-eth27
+ ip addr 192.168.27.1/24
+!
+int r1-eth28
+ ip addr 192.168.28.1/24
+!
+int r1-eth29
+ ip addr 192.168.29.1/24
+!
+int r1-eth30
+ ip addr 192.168.30.1/24
+!
+int r1-eth31
+ ip addr 192.168.31.1/24
+! \ No newline at end of file