test: Add show routes (ipv4 and ipv6) to test CLI test suite

This commit is contained in:
Mattias Walström
2024-01-09 03:56:17 +01:00
committed by Joachim Wiberg
parent 35d74cecd4
commit 7cce19d45c
9 changed files with 298 additions and 28 deletions
@@ -0,0 +1,13 @@
PREFIX NEXT-HOP PREF PROTOCOL 
10.0.0.1/32 10.0.13.1 20 ospf
10.0.0.2/32 10.0.23.1 20 ospf
10.0.0.4/32 10.0.13.1 20 ospf
10.0.23.1
10.0.12.0/30 10.0.13.1 20 ospf
10.0.23.1
10.0.13.0/30 eth3 0 kernel
10.0.23.0/30 eth4 0 kernel
10.0.24.0/30 10.0.23.1 20 ospf
10.0.41.0/30 10.0.13.1 20 ospf
192.168.4.0/24 10.0.13.1 20 ospf
10.0.23.1
@@ -0,0 +1,10 @@
PREFIX NEXT-HOP PREF PROTOCOL 
2001:db8:3c4d:50::/64 eth4 256 kernel
2001:db8:3c4d:200::1/128 lo 256 kernel
fe80::/64 eth5 256 kernel
fe80::/64 eth3 256 kernel
fe80::/64 eth2 256 kernel
fe80::/64 eth1 256 kernel
fe80::/64 eth0 256 kernel
fe80::/64 eth4 256 kernel
::/0 2001:db8:3c4d:50::1 20 static