mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-28 19:53:01 +02:00
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>
40 lines
839 B
JSON
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
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|