File tree Expand file tree Collapse file tree 13 files changed +52
-70
lines changed
tests/topotests/bgp_vpnv4_noretain Expand file tree Collapse file tree 13 files changed +52
-70
lines changed Original file line number Diff line number Diff line change 1+ interface r1-eth0
2+ mpls bgp forwarding
3+ exit
14router bgp 65500
25 bgp router-id 192.0.2.1
3- neighbor 10.125.0.2 remote-as 65500
6+ no bgp ebgp-requires-policy
7+ neighbor 10.125.0.2 remote-as 65501
48 address-family ipv4 unicast
59 no neighbor 10.125.0.2 activate
610 label vpn export 100
Original file line number Diff line number Diff line change 2222 "announceNexthopSelf" :true ,
2323 "origin" :" incomplete" ,
2424 "metric" :0 ,
25- "locPrf" :100 ,
2625 "weight" :32768 ,
2726 "valid" :true ,
2827 "sourced" :true ,
7069 "announceNexthopSelf" :true ,
7170 "origin" :" incomplete" ,
7271 "metric" :0 ,
73- "locPrf" :100 ,
7472 "weight" :32768 ,
7573 "valid" :true ,
7674 "sourced" :true ,
10098 }
10199 }
102100 },
103- "totalPrefixCounter" :2 ,
101+ "totalPrefixCounter" :6 ,
104102 "filteredPrefixCounter" :0
105103}
Original file line number Diff line number Diff line change 6868 "valid" :true ,
6969 "bestpath" :true ,
7070 "selectionReason" :" First path received" ,
71- "pathFrom" :" internal " ,
71+ "pathFrom" :" external " ,
7272 "prefix" :" 10.201.0.0" ,
7373 "prefixLen" :24 ,
7474 "network" :" 10.201.0.0\/ 24" ,
7575 "metric" :0 ,
76- "locPrf" :100 ,
7776 "weight" :0 ,
7877 "peerId" :" 10.125.0.2" ,
79- "path" :" " ,
78+ "path" :" 65501 " ,
8079 "origin" :" incomplete" ,
8180 "nexthops" :[
8281 {
9594 "valid" :true ,
9695 "bestpath" :true ,
9796 "selectionReason" :" First path received" ,
98- "pathFrom" :" internal " ,
97+ "pathFrom" :" external " ,
9998 "prefix" :" 10.202.0.0" ,
10099 "prefixLen" :24 ,
101100 "network" :" 10.202.0.0\/ 24" ,
102101 "metric" :0 ,
103- "locPrf" :100 ,
104102 "weight" :0 ,
105103 "peerId" :" 10.125.0.2" ,
106- "path" :" " ,
104+ "path" :" 65501 " ,
107105 "origin" :" incomplete" ,
108106 "nexthops" :[
109107 {
122120 "valid" :true ,
123121 "bestpath" :true ,
124122 "selectionReason" :" First path received" ,
125- "pathFrom" :" internal " ,
123+ "pathFrom" :" external " ,
126124 "prefix" :" 10.203.0.0" ,
127125 "prefixLen" :24 ,
128126 "network" :" 10.203.0.0\/ 24" ,
129127 "metric" :0 ,
130- "locPrf" :100 ,
131128 "weight" :0 ,
132129 "peerId" :" 10.125.0.2" ,
133- "path" :" " ,
130+ "path" :" 65501 " ,
134131 "origin" :" incomplete" ,
135132 "nexthops" :[
136133 {
149146 "valid" :true ,
150147 "bestpath" :true ,
151148 "selectionReason" :" First path received" ,
152- "pathFrom" :" internal " ,
149+ "pathFrom" :" external " ,
153150 "prefix" :" 10.204.0.0" ,
154151 "prefixLen" :24 ,
155152 "network" :" 10.204.0.0\/ 24" ,
156153 "metric" :0 ,
157- "locPrf" :100 ,
158154 "weight" :0 ,
159155 "peerId" :" 10.125.0.2" ,
160- "path" :" " ,
156+ "path" :" 65501 " ,
161157 "origin" :" incomplete" ,
162158 "nexthops" :[
163159 {
Original file line number Diff line number Diff line change 6868 "valid" :true ,
6969 "bestpath" :true ,
7070 "selectionReason" :" First path received" ,
71- "pathFrom" :" internal " ,
71+ "pathFrom" :" external " ,
7272 "prefix" :" 10.201.0.0" ,
7373 "prefixLen" :24 ,
7474 "network" :" 10.201.0.0\/ 24" ,
7575 "metric" :0 ,
76- "locPrf" :100 ,
7776 "weight" :0 ,
7877 "peerId" :" 10.125.0.2" ,
79- "path" :" " ,
78+ "path" :" 65501 " ,
8079 "origin" :" incomplete" ,
8180 "nexthops" :[
8281 {
9594 "valid" :true ,
9695 "bestpath" :true ,
9796 "selectionReason" :" First path received" ,
98- "pathFrom" :" internal " ,
97+ "pathFrom" :" external " ,
9998 "prefix" :" 10.204.0.0" ,
10099 "prefixLen" :24 ,
101100 "network" :" 10.204.0.0\/ 24" ,
102101 "metric" :0 ,
103- "locPrf" :100 ,
104102 "weight" :0 ,
105103 "peerId" :" 10.125.0.2" ,
106- "path" :" " ,
104+ "path" :" 65501 " ,
107105 "origin" :" incomplete" ,
108106 "nexthops" :[
109107 {
Original file line number Diff line number Diff line change 6868 "valid" :true ,
6969 "bestpath" :true ,
7070 "selectionReason" :" First path received" ,
71- "pathFrom" :" internal " ,
71+ "pathFrom" :" external " ,
7272 "prefix" :" 10.201.0.0" ,
7373 "prefixLen" :24 ,
7474 "network" :" 10.201.0.0\/ 24" ,
7575 "metric" :0 ,
76- "locPrf" :100 ,
7776 "weight" :0 ,
7877 "peerId" :" 10.125.0.2" ,
79- "path" :" " ,
78+ "path" :" 65501 " ,
8079 "origin" :" incomplete" ,
8180 "nexthops" :[
8281 {
9594 "valid" :true ,
9695 "bestpath" :true ,
9796 "selectionReason" :" First path received" ,
98- "pathFrom" :" internal " ,
97+ "pathFrom" :" external " ,
9998 "prefix" :" 10.202.0.0" ,
10099 "prefixLen" :24 ,
101100 "network" :" 10.202.0.0\/ 24" ,
102101 "metric" :0 ,
103- "locPrf" :100 ,
104102 "weight" :0 ,
105103 "peerId" :" 10.125.0.2" ,
106- "path" :" " ,
104+ "path" :" 65501 " ,
107105 "origin" :" incomplete" ,
108106 "nexthops" :[
109107 {
122120 "valid" :true ,
123121 "bestpath" :true ,
124122 "selectionReason" :" First path received" ,
125- "pathFrom" :" internal " ,
123+ "pathFrom" :" external " ,
126124 "prefix" :" 10.204.0.0" ,
127125 "prefixLen" :24 ,
128126 "network" :" 10.204.0.0\/ 24" ,
129127 "metric" :0 ,
130- "locPrf" :100 ,
131128 "weight" :0 ,
132129 "peerId" :" 10.125.0.2" ,
133- "path" :" " ,
130+ "path" :" 65501 " ,
134131 "origin" :" incomplete" ,
135132 "nexthops" :[
136133 {
Original file line number Diff line number Diff line change 6868 "valid" :true ,
6969 "bestpath" :true ,
7070 "selectionReason" :" First path received" ,
71- "pathFrom" :" internal " ,
71+ "pathFrom" :" external " ,
7272 "prefix" :" 10.201.0.0" ,
7373 "prefixLen" :24 ,
7474 "network" :" 10.201.0.0\/ 24" ,
7575 "metric" :0 ,
76- "locPrf" :100 ,
7776 "weight" :0 ,
7877 "peerId" :" 10.125.0.2" ,
79- "path" :" " ,
78+ "path" :" 65501 " ,
8079 "origin" :" incomplete" ,
8180 "nexthops" :[
8281 {
9594 "valid" :true ,
9695 "bestpath" :true ,
9796 "selectionReason" :" First path received" ,
98- "pathFrom" :" internal " ,
97+ "pathFrom" :" external " ,
9998 "prefix" :" 10.203.0.0" ,
10099 "prefixLen" :24 ,
101100 "network" :" 10.203.0.0\/ 24" ,
102101 "metric" :0 ,
103- "locPrf" :100 ,
104102 "weight" :0 ,
105103 "peerId" :" 10.125.0.2" ,
106- "path" :" " ,
104+ "path" :" 65501 " ,
107105 "origin" :" incomplete" ,
108106 "nexthops" :[
109107 {
122120 "valid" :true ,
123121 "bestpath" :true ,
124122 "selectionReason" :" First path received" ,
125- "pathFrom" :" internal " ,
123+ "pathFrom" :" external " ,
126124 "prefix" :" 10.204.0.0" ,
127125 "prefixLen" :24 ,
128126 "network" :" 10.204.0.0\/ 24" ,
129127 "metric" :0 ,
130- "locPrf" :100 ,
131128 "weight" :0 ,
132129 "peerId" :" 10.125.0.2" ,
133- "path" :" " ,
130+ "path" :" 65501 " ,
134131 "origin" :" incomplete" ,
135132 "nexthops" :[
136133 {
Original file line number Diff line number Diff line change 1515 "prefixLen" : 24 ,
1616 "network" : " 10.204.0.0/24" ,
1717 "metric" : 0 ,
18- "locPrf" : 100 ,
1918 "weight" : 0 ,
2019 "peerId" : " (unspec)" ,
21- "path" : " " ,
20+ "path" : " 65501 " ,
2221 "origin" : " incomplete" ,
2322 "announceNexthopSelf" : true ,
2423 "nhVrfName" : " default" ,
7473 "prefixLen" : 24 ,
7574 "network" : " 10.201.0.0/24" ,
7675 "metric" : 0 ,
77- "locPrf" : 100 ,
7876 "weight" : 0 ,
7977 "peerId" : " (unspec)" ,
80- "path" : " " ,
78+ "path" : " 65501 " ,
8179 "origin" : " incomplete" ,
8280 "announceNexthopSelf" : true ,
8381 "nhVrfName" : " default" ,
Original file line number Diff line number Diff line change 1515 "prefixLen" : 24 ,
1616 "network" : " 10.204.0.0/24" ,
1717 "metric" : 0 ,
18- "locPrf" : 100 ,
1918 "weight" : 0 ,
2019 "peerId" : " (unspec)" ,
21- "path" : " " ,
20+ "path" : " 65501 " ,
2221 "origin" : " incomplete" ,
2322 "announceNexthopSelf" : true ,
2423 "nhVrfName" : " default" ,
7473 "prefixLen" : 24 ,
7574 "network" : " 10.201.0.0/24" ,
7675 "metric" : 0 ,
77- "locPrf" : 100 ,
7876 "weight" : 0 ,
7977 "peerId" : " (unspec)" ,
80- "path" : " " ,
78+ "path" : " 65501 " ,
8179 "origin" : " incomplete" ,
8280 "announceNexthopSelf" : true ,
8381 "nhVrfName" : " default" ,
Original file line number Diff line number Diff line change 1515 "prefixLen" : 24 ,
1616 "network" : " 10.204.0.0/24" ,
1717 "metric" : 0 ,
18- "locPrf" : 100 ,
1918 "weight" : 0 ,
2019 "peerId" : " (unspec)" ,
21- "path" : " " ,
20+ "path" : " 65501 " ,
2221 "origin" : " incomplete" ,
2322 "announceNexthopSelf" : true ,
2423 "nhVrfName" : " default" ,
7473 "prefixLen" : 24 ,
7574 "network" : " 10.201.0.0/24" ,
7675 "metric" : 0 ,
77- "locPrf" : 100 ,
7876 "weight" : 0 ,
7977 "peerId" : " (unspec)" ,
80- "path" : " " ,
78+ "path" : " 65501 " ,
8179 "origin" : " incomplete" ,
8280 "announceNexthopSelf" : true ,
8381 "nhVrfName" : " default" ,
175173 "prefixLen" : 24 ,
176174 "network" : " 10.202.0.0/24" ,
177175 "metric" : 0 ,
178- "locPrf" : 100 ,
179176 "weight" : 0 ,
180177 "peerId" : " (unspec)" ,
181- "path" : " " ,
178+ "path" : " 65501 " ,
182179 "origin" : " incomplete" ,
183180 "announceNexthopSelf" : true ,
184181 "nhVrfName" : " default" ,
Original file line number Diff line number Diff line change 1515 "prefixLen" : 24 ,
1616 "network" : " 10.204.0.0/24" ,
1717 "metric" : 0 ,
18- "locPrf" : 100 ,
1918 "weight" : 0 ,
2019 "peerId" : " (unspec)" ,
21- "path" : " " ,
20+ "path" : " 65501 " ,
2221 "origin" : " incomplete" ,
2322 "announceNexthopSelf" : true ,
2423 "nhVrfName" : " default" ,
7473 "prefixLen" : 24 ,
7574 "network" : " 10.201.0.0/24" ,
7675 "metric" : 0 ,
77- "locPrf" : 100 ,
7876 "weight" : 0 ,
7977 "peerId" : " (unspec)" ,
80- "path" : " " ,
78+ "path" : " 65501 " ,
8179 "origin" : " incomplete" ,
8280 "announceNexthopSelf" : true ,
8381 "nhVrfName" : " default" ,
175173 "prefixLen" : 24 ,
176174 "network" : " 10.203.0.0/24" ,
177175 "metric" : 0 ,
178- "locPrf" : 100 ,
179176 "weight" : 0 ,
180177 "peerId" : " (unspec)" ,
181- "path" : " " ,
178+ "path" : " 65501 " ,
182179 "origin" : " incomplete" ,
183180 "announceNexthopSelf" : true ,
184181 "nhVrfName" : " default" ,
You can’t perform that action at this time.
0 commit comments