mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
184 lines
6.7 KiB
JSON
184 lines
6.7 KiB
JSON
{
|
|
"ietf-routing:routing": {
|
|
"control-plane-protocols": {
|
|
"control-plane-protocol": [
|
|
{
|
|
"type": "infix-routing:ospfv2",
|
|
"name": "default",
|
|
"ietf-ospf:ospf": {
|
|
"ietf-ospf:areas": {
|
|
"ietf-ospf:area": [
|
|
{
|
|
"ietf-ospf:area-id": "0.0.0.1",
|
|
"ietf-ospf:interfaces": {
|
|
"ietf-ospf:interface": [
|
|
{
|
|
"ietf-ospf:neighbors": {
|
|
"ietf-ospf:neighbor": [
|
|
{
|
|
"neighbor-router-id": "10.1.2.1",
|
|
"address": "10.1.2.1",
|
|
"priority": 1,
|
|
"infix-routing:uptime": 57,
|
|
"dead-timer": 22,
|
|
"state": "full",
|
|
"infix-routing:role": "DROther",
|
|
"infix-routing:interface-name": "e3.8:10.1.1.1"
|
|
}
|
|
]
|
|
},
|
|
"name": "e3.8",
|
|
"passive": false,
|
|
"enabled": true,
|
|
"interface-type": "point-to-point",
|
|
"state": "point-to-point",
|
|
"priority": 1,
|
|
"cost": 1,
|
|
"dead-interval": 40,
|
|
"retransmit-interval": 5,
|
|
"transmit-delay": 1,
|
|
"hello-interval": 10,
|
|
"hello-timer": 2,
|
|
"wait-timer": 40
|
|
},
|
|
{
|
|
"ietf-ospf:neighbors": {
|
|
"ietf-ospf:neighbor": [
|
|
{
|
|
"neighbor-router-id": "10.1.3.1",
|
|
"address": "10.1.3.1",
|
|
"priority": 1,
|
|
"infix-routing:uptime": 57,
|
|
"dead-timer": 22,
|
|
"state": "full",
|
|
"infix-routing:role": "DROther",
|
|
"infix-routing:interface-name": "e4.8:10.1.1.1"
|
|
}
|
|
]
|
|
},
|
|
"name": "e4.8",
|
|
"passive": false,
|
|
"enabled": true,
|
|
"interface-type": "point-to-point",
|
|
"state": "point-to-point",
|
|
"priority": 1,
|
|
"cost": 1,
|
|
"dead-interval": 40,
|
|
"retransmit-interval": 5,
|
|
"transmit-delay": 1,
|
|
"hello-interval": 10,
|
|
"hello-timer": 2,
|
|
"wait-timer": 40
|
|
},
|
|
{
|
|
"ietf-ospf:neighbors": {
|
|
"ietf-ospf:neighbor": [
|
|
{
|
|
"neighbor-router-id": "192.168.100.1",
|
|
"address": "10.1.1.100",
|
|
"priority": 1,
|
|
"infix-routing:uptime": 23,
|
|
"dead-timer": 31,
|
|
"state": "full",
|
|
"infix-routing:role": "DR",
|
|
"infix-routing:interface-name": "e6:10.1.1.101",
|
|
"dr-router-id": "192.168.100.1",
|
|
"bdr-router-id": "10.1.1.1"
|
|
}
|
|
]
|
|
},
|
|
"name": "e6",
|
|
"dr-router-id": "192.168.100.1",
|
|
"dr-ip-addr": "10.1.1.100",
|
|
"bdr-router-id": "10.1.1.1",
|
|
"bdr-ip-addr": "10.1.1.101",
|
|
"passive": false,
|
|
"enabled": true,
|
|
"interface-type": "broadcast",
|
|
"state": "bdr",
|
|
"priority": 1,
|
|
"cost": 1,
|
|
"dead-interval": 40,
|
|
"retransmit-interval": 5,
|
|
"transmit-delay": 1,
|
|
"hello-interval": 10,
|
|
"hello-timer": 2,
|
|
"wait-timer": 40
|
|
}
|
|
]
|
|
},
|
|
"ietf-ospf:area-type": "nssa-area"
|
|
}
|
|
]
|
|
},
|
|
"ietf-ospf:router-id": "10.1.1.1",
|
|
"ietf-ospf:address-family": "ipv4",
|
|
"ietf-ospf:local-rib": {
|
|
"ietf-ospf:route": [
|
|
{
|
|
"prefix": "0.0.0.0/0",
|
|
"route-type": "inter-area",
|
|
"infix-routing:area-id": "0.0.0.1",
|
|
"metric": 2,
|
|
"next-hops": {
|
|
"next-hop": [
|
|
{
|
|
"next-hop": "10.1.1.100"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"prefix": "10.1.1.0/24",
|
|
"route-type": "intra-area",
|
|
"infix-routing:area-id": "0.0.0.1",
|
|
"metric": 1,
|
|
"next-hops": {
|
|
"next-hop": [
|
|
{
|
|
"outgoing-interface": "e6"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"prefix": "10.1.2.0/24",
|
|
"route-type": "intra-area",
|
|
"infix-routing:area-id": "0.0.0.1",
|
|
"metric": 2,
|
|
"next-hops": {
|
|
"next-hop": [
|
|
{
|
|
"next-hop": "10.1.1.100"
|
|
},
|
|
{
|
|
"next-hop": "10.1.2.1"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"prefix": "10.1.3.0/24",
|
|
"route-type": "intra-area",
|
|
"infix-routing:area-id": "0.0.0.1",
|
|
"metric": 2,
|
|
"next-hops": {
|
|
"next-hop": [
|
|
{
|
|
"next-hop": "10.1.1.100"
|
|
},
|
|
{
|
|
"next-hop": "10.1.3.1"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|