mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +02:00
140 lines
4.7 KiB
JSON
140 lines
4.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",
|
|
"dead-timer": 22506,
|
|
"state": "full"
|
|
}
|
|
]
|
|
},
|
|
"name": "e3.8",
|
|
"passive": false,
|
|
"enabled": true,
|
|
"interface-type": "point-to-point",
|
|
"state": "point-to-point"
|
|
},
|
|
{
|
|
"ietf-ospf:neighbors": {
|
|
"ietf-ospf:neighbor": [
|
|
{
|
|
"neighbor-router-id": "10.1.3.1",
|
|
"address": "10.1.3.1",
|
|
"dead-timer": 22334,
|
|
"state": "full"
|
|
}
|
|
]
|
|
},
|
|
"name": "e4.8",
|
|
"passive": false,
|
|
"enabled": true,
|
|
"interface-type": "point-to-point",
|
|
"state": "point-to-point"
|
|
},
|
|
{
|
|
"ietf-ospf:neighbors": {
|
|
"ietf-ospf:neighbor": [
|
|
{
|
|
"neighbor-router-id": "192.168.100.1",
|
|
"address": "10.1.1.100",
|
|
"dead-timer": 31385,
|
|
"state": "full",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"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",
|
|
"next-hops": {
|
|
"next-hop": [
|
|
{
|
|
"next-hop": "10.1.1.100"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"prefix": "10.1.1.0/24",
|
|
"route-type": "intra-area",
|
|
"next-hops": {
|
|
"next-hop": [
|
|
{
|
|
"outgoing-interface": "e6"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"prefix": "10.1.2.0/24",
|
|
"route-type": "intra-area",
|
|
"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",
|
|
"next-hops": {
|
|
"next-hop": [
|
|
{
|
|
"next-hop": "10.1.1.100"
|
|
},
|
|
{
|
|
"next-hop": "10.1.3.1"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|