mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +02:00
test: update unit test reference json, a lot more data now
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -18,8 +18,12 @@
|
||||
{
|
||||
"neighbor-router-id": "10.1.2.1",
|
||||
"address": "10.1.2.1",
|
||||
"dead-timer": 22506,
|
||||
"state": "full"
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -27,7 +31,15 @@
|
||||
"passive": false,
|
||||
"enabled": true,
|
||||
"interface-type": "point-to-point",
|
||||
"state": "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": {
|
||||
@@ -35,8 +47,12 @@
|
||||
{
|
||||
"neighbor-router-id": "10.1.3.1",
|
||||
"address": "10.1.3.1",
|
||||
"dead-timer": 22334,
|
||||
"state": "full"
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -44,7 +60,15 @@
|
||||
"passive": false,
|
||||
"enabled": true,
|
||||
"interface-type": "point-to-point",
|
||||
"state": "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": {
|
||||
@@ -52,8 +76,12 @@
|
||||
{
|
||||
"neighbor-router-id": "192.168.100.1",
|
||||
"address": "10.1.1.100",
|
||||
"dead-timer": 31385,
|
||||
"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"
|
||||
}
|
||||
@@ -67,7 +95,15 @@
|
||||
"passive": false,
|
||||
"enabled": true,
|
||||
"interface-type": "broadcast",
|
||||
"state": "bdr"
|
||||
"state": "bdr",
|
||||
"priority": 1,
|
||||
"cost": 1,
|
||||
"dead-interval": 40,
|
||||
"retransmit-interval": 5,
|
||||
"transmit-delay": 1,
|
||||
"hello-interval": 10,
|
||||
"hello-timer": 2,
|
||||
"wait-timer": 40
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -82,6 +118,8 @@
|
||||
{
|
||||
"prefix": "0.0.0.0/0",
|
||||
"route-type": "inter-area",
|
||||
"infix-routing:area-id": "0.0.0.1",
|
||||
"metric": 2,
|
||||
"next-hops": {
|
||||
"next-hop": [
|
||||
{
|
||||
@@ -93,6 +131,8 @@
|
||||
{
|
||||
"prefix": "10.1.1.0/24",
|
||||
"route-type": "intra-area",
|
||||
"infix-routing:area-id": "0.0.0.1",
|
||||
"metric": 1,
|
||||
"next-hops": {
|
||||
"next-hop": [
|
||||
{
|
||||
@@ -104,6 +144,8 @@
|
||||
{
|
||||
"prefix": "10.1.2.0/24",
|
||||
"route-type": "intra-area",
|
||||
"infix-routing:area-id": "0.0.0.1",
|
||||
"metric": 2,
|
||||
"next-hops": {
|
||||
"next-hop": [
|
||||
{
|
||||
@@ -118,6 +160,8 @@
|
||||
{
|
||||
"prefix": "10.1.3.0/24",
|
||||
"route-type": "intra-area",
|
||||
"infix-routing:area-id": "0.0.0.1",
|
||||
"metric": 2,
|
||||
"next-hops": {
|
||||
"next-hop": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user