"192.168.0.2":[
{
"priority":5,
- "state":"Full\/Backup"
+ "converged":"Full"
}
],
"192.168.0.3":[
{
"priority":5,
- "state":"Full\/Backup"
+ "converged":"Full"
}
]
}
"192.168.0.1":[
{
"priority":10,
- "state":"Full\/DR"
+ "converged":"Full"
}
],
"192.168.0.3":[
{
"priority":5,
- "state":"Full\/Backup"
+ "converged":"Full"
}
]
}
"192.168.0.1":[
{
"priority":10,
- "state":"Full\/DR"
+ "converged":"Full"
}
],
"192.168.0.2":[
{
"priority":10,
- "state":"Full\/DR"
+ "converged":"Full"
}
]
}
"2.2.2.2":[
{
"priority":2,
- "state":"Full\/DR",
+ "converged":"Full",
"address":"10.0.1.2",
"ifaceName":"r1-eth0:10.0.1.1"
}
"1.1.1.1":[
{
"priority":1,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.1.1",
"ifaceName":"r2-eth0:10.0.1.2"
}
"3.3.3.3":[
{
"priority":2,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.2.3",
"ifaceName":"r2-eth1:10.0.2.2"
}
"4.4.4.4":[
{
"priority":3,
- "state":"Full\/DR",
+ "converged":"Full",
"address":"10.0.2.4",
"ifaceName":"r2-eth1:10.0.2.2"
}
"2.2.2.2":[
{
"priority":1,
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.2.2",
"ifaceName":"r3-eth0:10.0.2.3"
}
"4.4.4.4":[
{
"priority":3,
- "state":"Full\/DR",
+ "converged":"Full",
"address":"10.0.2.4",
"ifaceName":"r3-eth0:10.0.2.3"
}
"2.2.2.2":[
{
"priority":1,
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.2.2",
"ifaceName":"r4-eth0:10.0.2.4"
}
"3.3.3.3":[
{
"priority":2,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.2.3",
"ifaceName":"r4-eth0:10.0.2.4"
}
"2.2.2.2":[
{
"priority":2,
- "state":"Full\/DR",
+ "converged":"Full",
"address":"10.0.1.2",
"ifaceName":"r1-eth0:10.0.1.1"
}
"1.1.1.1":[
{
"priority":1,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.1.1",
"ifaceName":"r2-eth0:10.0.1.2"
}
"3.3.3.3":[
{
"priority":2,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.2.3",
"ifaceName":"r2-eth1:10.0.2.2"
}
"4.4.4.4":[
{
"priority":3,
- "state":"Full\/DR",
+ "converged":"Full",
"address":"10.0.2.4",
"ifaceName":"r2-eth1:10.0.2.2"
}
"2.2.2.2":[
{
"priority":1,
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.2.2",
"ifaceName":"r3-eth0:10.0.2.3"
}
"4.4.4.4":[
{
"priority":3,
- "state":"Full\/DR",
+ "converged":"Full",
"address":"10.0.2.4",
"ifaceName":"r3-eth0:10.0.2.3"
}
"2.2.2.2":[
{
"priority":1,
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.2.2",
"ifaceName":"r4-eth0:10.0.2.4"
}
"3.3.3.3":[
{
"priority":2,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.2.3",
"ifaceName":"r4-eth0:10.0.2.4"
}
"dbSummaryCounter": 0,
"retransmitCounter": 0,
"priority": 1,
- "state": "Full/DROther",
+ "converged": "Full",
"address": "10.0.1.2",
"ifaceName": "r1-eth1:10.0.1.1",
"requestCounter": 0
"dbSummaryCounter": 0,
"retransmitCounter": 0,
"priority": 1,
- "state": "Full/DROther",
+ "converged": "Full",
"address": "10.0.2.3",
"ifaceName": "r1-eth2:10.0.2.1",
"requestCounter": 0
"1.1.1.1": [
{
"priority":1,
- "state":"Full/DROther",
+ "converged":"Full",
"address":"10.0.1.1",
"ifaceName":"r2-eth1:10.0.1.2",
"retransmitCounter":0,
"3.3.3.3": [
{
"priority":1,
- "state":"Full/DROther",
+ "converged":"Full",
"address":"10.0.3.3",
"ifaceName":"r2-eth2:10.0.3.2",
"retransmitCounter":0,
"1.1.1.1": [
{
"priority":1,
- "state":"Full/DROther",
+ "converged":"Full",
"address":"10.0.2.1",
"ifaceName":"r3-eth1:10.0.2.3",
"retransmitCounter":0,
"2.2.2.2": [
{
"priority":1,
- "state":"Full/DROther",
+ "converged":"Full",
"address":"10.0.3.2",
"ifaceName":"r3-eth2:10.0.3.3",
"retransmitCounter":0,
"dbSummaryCounter": 0,
"retransmitCounter": 0,
"priority": 2,
- "state": "Full\/DR",
+ "converged": "Full",
"address": "10.0.1.2",
"ifaceName": "r1-eth1:10.0.1.1",
"requestCounter": 0
"dbSummaryCounter": 0,
"retransmitCounter": 0,
"priority": 2,
- "state": "Full\/DR",
+ "converged": "Full",
"address": "10.0.2.3",
"ifaceName": "r1-eth2:10.0.2.1",
"requestCounter": 0
"1.1.1.1": [
{
"priority":1,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.1.1",
"ifaceName":"r2-eth1:10.0.1.2",
"retransmitCounter":0,
"3.3.3.3": [
{
"priority":2,
- "state":"Full\/DR",
+ "converged":"Full",
"address":"10.0.3.3",
"ifaceName":"r2-eth2:10.0.3.2",
"retransmitCounter":0,
"1.1.1.1": [
{
"priority":1,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.2.1",
"ifaceName":"r3-eth1:10.0.2.3",
"retransmitCounter":0,
"2.2.2.2": [
{
"priority":1,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"10.0.3.2",
"ifaceName":"r3-eth2:10.0.3.3",
"retransmitCounter":0,
"neighbors":{
"2.2.2.2":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.1.2",
"ifaceName":"eth-rt2:10.0.1.1"
}
"neighbors":{
"1.1.1.1":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.1.1",
"ifaceName":"eth-rt1:10.0.1.2"
}
],
"3.3.3.3":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.2.3",
"ifaceName":"eth-rt3:10.0.2.2"
}
"neighbors":{
"2.2.2.2":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.2.2",
"ifaceName":"eth-rt2:10.0.2.3"
}
],
"4.4.4.4":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.3.4",
"ifaceName":"eth-rt4:10.0.3.3"
}
],
"6.6.6.6":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.4.6",
"ifaceName":"eth-rt6:10.0.4.3"
}
"neighbors":{
"3.3.3.3":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.3.3",
"ifaceName":"eth-rt3:10.0.3.4"
}
],
"5.5.5.5":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.5.5",
"ifaceName":"eth-rt5:10.0.5.4"
}
"neighbors":{
"4.4.4.4":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.5.4",
"ifaceName":"eth-rt4:10.0.5.5"
}
"neighbors":{
"3.3.3.3":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.4.3",
"ifaceName":"eth-rt3:10.0.4.6"
}
],
"7.7.7.7":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.6.7",
"ifaceName":"eth-rt7:10.0.6.6"
}
"neighbors":{
"6.6.6.6":[
{
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"10.0.6.6",
"ifaceName":"eth-rt6:10.0.6.7"
}
)
if (
topotest.json_cmp(
- result, {"neighbors": {neighbor: [{"state": "Full/DR"}]}}
+ result, {"neighbors": {neighbor: [{"converged": "Full"}]}}
)
is None
):
if (
topotest.json_cmp(
- result, {"neighbors": {neighbor: [{"state": "Full/DROther"}]}}
+ result, {"neighbors": {neighbor: [{"converged": "Full"}]}}
)
is None
):
return None
return topotest.json_cmp(
- result, {"neighbors": {neighbor: [{"state": "Full/Backup"}]}}
+ result, {"neighbors": {neighbor: [{"converged": "Full"}]}}
)
_, result = topotest.run_and_expect(
"192.168.0.11":[
{
"priority":10,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"192.168.101.11",
"ifaceName":"r1-eth1:192.168.101.1",
"retransmitCounter":0,
"192.168.0.12":[
{
"priority":0,
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"192.168.101.12",
"ifaceName":"r1-eth1:192.168.101.1",
"retransmitCounter":0,
"192.168.0.13":[
{
"priority":0,
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"192.168.101.13",
"ifaceName":"r1-eth1:192.168.101.1",
"retransmitCounter":0,
"192.168.0.14":[
{
"priority":0,
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"192.168.101.14",
"ifaceName":"r1-eth1:192.168.101.1",
"retransmitCounter":0,
"192.168.0.15":[
{
"priority":0,
- "state":"Full\/DROther",
+ "converged":"Full",
"address":"192.168.101.15",
"ifaceName":"r1-eth1:192.168.101.1",
"retransmitCounter":0,
"192.168.0.11":[
{
"priority":10,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"192.168.101.11",
"ifaceName":"r1-eth1:192.168.101.1"
}
"192.168.0.12":[
{
"priority":10,
- "state":"Full\/Backup",
+ "converged":"Full",
"address":"192.168.101.12",
"ifaceName":"r1-eth3:192.168.101.1"
}