Files
infix/test/case/statd/containers/ietf-routing.json
T
Mattias Walström 2d806de2cd yanger: Refactor how ethtool is read from interfaces
Upgrade ethtool to get json support for main command:

ethtool --json eth1
2025-02-13 20:27:00 +01:00

326 lines
11 KiB
JSON

{
"ietf-routing:routing": {
"ribs": {
"rib": [
{
"name": "ipv4",
"address-family": "ipv4",
"routes": {
"route": [
{
"ietf-ipv4-unicast-routing:destination-prefix": "0.0.0.0/0",
"source-protocol": "ietf-ospf:ospfv2",
"route-preference": 110,
"ietf-ospf:metric": 2,
"active": [
null
],
"last-updated": "2025-02-11T19:56:09+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"ietf-ipv4-unicast-routing:address": "10.1.1.100",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "0.0.0.0/0",
"source-protocol": "static",
"route-preference": 254,
"last-updated": "2025-02-11T19:55:29+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "br0"
}
]
}
}
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.0/24",
"source-protocol": "ietf-ospf:ospfv2",
"route-preference": 110,
"ietf-ospf:metric": 1,
"last-updated": "2025-02-11T19:55:15+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e6"
}
]
}
}
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.0/24",
"source-protocol": "direct",
"route-preference": 0,
"active": [
null
],
"last-updated": "2025-02-11T19:55:15+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e6",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.1/32",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-02-11T19:55:14+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e4.8",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.1/32",
"source-protocol": "direct",
"route-preference": 0,
"active": [
null
],
"last-updated": "2025-02-11T19:55:14+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e3.8",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.2.0/24",
"source-protocol": "ietf-ospf:ospfv2",
"route-preference": 110,
"ietf-ospf:metric": 2,
"active": [
null
],
"last-updated": "2025-02-11T19:56:09+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"ietf-ipv4-unicast-routing:address": "10.1.1.100",
"infix-routing:installed": [
null
]
},
{
"ietf-ipv4-unicast-routing:address": "10.1.2.1",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.3.0/24",
"source-protocol": "ietf-ospf:ospfv2",
"route-preference": 110,
"ietf-ospf:metric": 2,
"active": [
null
],
"last-updated": "2025-02-11T19:56:09+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"ietf-ipv4-unicast-routing:address": "10.1.1.100",
"infix-routing:installed": [
null
]
},
{
"ietf-ipv4-unicast-routing:address": "10.1.3.1",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "169.254.0.0/16",
"source-protocol": "direct",
"route-preference": 0,
"active": [
null
],
"last-updated": "2025-02-11T19:55:20+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "br0",
"infix-routing:installed": [
null
]
}
]
}
}
}
]
}
},
{
"name": "ipv6",
"address-family": "ipv6",
"routes": {
"route": [
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-02-11T19:55:16+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e6",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-02-11T19:55:15+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "br0",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-02-11T19:55:13+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e2",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-02-11T19:54:23+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e7",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-02-11T19:54:23+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e5",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"active": [
null
],
"last-updated": "2025-02-11T19:54:23+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e1",
"infix-routing:installed": [
null
]
}
]
}
}
}
]
}
}
]
}
}
}