Skip to content

Commit 4e63cf3

Browse files
authored
Merge pull request FRRouting#18831 from opensourcerouting/fix/remove_version_from_json
tests: Remove `version` (BGP version) from JSON
2 parents 0546211 + 58351cf commit 4e63cf3

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

tests/topotests/bgp_srv6_sid_explicit/expected_rcvd_bgp_vpn_srv6_sid.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"65001:10":{
33
"prefix":"192.168.1.0/24",
4-
"version":1,
54
"advertisedTo":{
65
"2001:db8:12::1":{
76
"hostname":"r1"
@@ -25,7 +24,6 @@
2524
"origin":"incomplete",
2625
"metric":0,
2726
"valid":true,
28-
"version":1,
2927
"bestpath":{
3028
"overall":true,
3129
"selectionReason":"First path received"
@@ -56,7 +54,6 @@
5654
},
5755
"65001:20":{
5856
"prefix":"192.168.1.0/24",
59-
"version":1,
6057
"advertisedTo":{
6158
"2001:db8:12::1":{
6259
"hostname":"r1"
@@ -80,7 +77,6 @@
8077
"origin":"incomplete",
8178
"metric":0,
8279
"valid":true,
83-
"version":1,
8480
"bestpath":{
8581
"overall":true,
8682
"selectionReason":"First path received"
@@ -109,4 +105,4 @@
109105
}
110106
]
111107
}
112-
}
108+
}

tests/topotests/bgp_srv6_sid_explicit/expected_rcvd_bgp_vrf_srv6_sid_1.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"prefix":"192.168.1.0/24",
3-
"version":2,
43
"pathCount":1,
54
"paths":[
65
{
@@ -22,7 +21,6 @@
2221
"origin":"incomplete",
2322
"metric":0,
2423
"valid":true,
25-
"version":2,
2624
"sourced":true,
2725
"local":true,
2826
"bestpath":{
@@ -53,4 +51,4 @@
5351
}
5452
}
5553
]
56-
}
54+
}

tests/topotests/bgp_srv6_sid_explicit/expected_rcvd_bgp_vrf_srv6_sid_2.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"prefix":"192.168.1.0/24",
3-
"version":2,
43
"pathCount":1,
54
"paths":[
65
{
@@ -22,7 +21,6 @@
2221
"origin":"incomplete",
2322
"metric":0,
2423
"valid":true,
25-
"version":2,
2624
"sourced":true,
2725
"local":true,
2826
"bestpath":{
@@ -53,4 +51,4 @@
5351
}
5452
}
5553
]
56-
}
54+
}

tests/topotests/bgp_srv6_sid_explicit/expected_sent_bgp_vpn_srv6_sid.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"65001:10":{
33
"prefix":"192.168.1.0/24",
4-
"version":1,
54
"advertisedTo":{
65
"2001:db8:12::2":{
76
"hostname":"r2"
@@ -22,7 +21,6 @@
2221
"metric":0,
2322
"weight":32768,
2423
"valid":true,
25-
"version":1,
2624
"sourced":true,
2725
"local":true,
2826
"bestpath":{
@@ -75,7 +73,6 @@
7573
"metric":0,
7674
"weight":32768,
7775
"valid":true,
78-
"version":1,
7976
"sourced":true,
8077
"local":true,
8178
"bestpath":{
@@ -105,4 +102,4 @@
105102
}
106103
]
107104
}
108-
}
105+
}

0 commit comments

Comments
 (0)