Files
infix/test/case/cli_pretty/json/factory.json
T
Richard AlpeandJoachim 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

40 lines
839 B
JSON

{
"ietf-interfaces:interfaces": {
"interface": [
{
"name": "lo",
"type": "infix-if-type:loopback",
"oper-status": "up",
"if-index": 1,
"phys-address": "00:00:00:00:00:00",
"statistics": {
"in-octets": "3035",
"out-octets": "3035"
},
"ietf-ip:ipv4": {
"address": [
{
"ip": "127.0.0.1",
"prefix-length": 8
}
]
}
},
{
"name": "e0",
"type": "infix-if-type:ethernet",
"oper-status": "up",
"if-index": 2,
"phys-address": "02:00:00:00:00:00",
"statistics": {
"in-octets": "550",
"out-octets": "13724"
},
"ietf-ip:ipv4": {
"mtu": 1500
}
}
]
}
}