Mattias Walström
d9ffff2b5a
cli-pretty: Refactor to not take model as argument
...
Instead focus on the task to do 'show hardware', 'show interfaces' and more,
this to make it more logical.
2024-03-18 16:32:18 +01:00
Mattias Walström and Joachim Wiberg
7cce19d45c
test: Add show routes (ipv4 and ipv6) to test CLI test suite
2024-01-09 03:56:17 +01:00
Mattias Walström
37f7b5ba92
Add support for reading routing operational data for IPv4
...
In the CLI:
admin@infix-00-00-00:/> show routes
PREFIX DESTINATION PROTOCOL METRIC
1.1.1.0/24 e0 kernel
192.168.100.0/24 1.1.1.1 static 20
192.168.110.2/32 blackhole static 20
192.168.120.2/32 blackhole static 20
192.168.130.2/32 unreachable static 20
2023-11-23 10:30:26 +01:00
Richard Alpe and Joachim Wiberg
1ea658ad1d
test: add new cli-pretty unit test
...
This test is a "unit" test, which implies that it can be executed
locally without access to a Infix target environment.
Signed-off-by: Richard Alpe <richard@bit42.se >
2023-09-06 16:11:59 +02:00