]> git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/ospf_te_topo1/reference/ted_step4.json
Merge pull request #13455 from sri-mohan1/srib-ldpd
[mirror_frr.git] / tests / topotests / ospf_te_topo1 / reference / ted_step4.json
1 {
2 "ted":{
3 "name":"OSPF",
4 "key":1,
5 "verticesCount":4,
6 "edgesCount":6,
7 "subnetsCount":10,
8 "vertices":[
9 {
10 "vertex-id":167837441,
11 "status":"Sync",
12 "origin":"OSPFv2",
13 "router-id":"10.0.255.1",
14 "vertex-type":"Standard",
15 "segment-routing":{
16 "srgb-size":4000,
17 "srgb-lower":20000,
18 "algorithms":[
19 {
20 "0":"SPF"
21 }
22 ],
23 "srlb-size":1000,
24 "srlb-lower":15000
25 }
26 },
27 {
28 "vertex-id":167837442,
29 "status":"Sync",
30 "origin":"OSPFv2",
31 "router-id":"10.0.255.2",
32 "vertex-type":"Standard",
33 "segment-routing":{
34 "srgb-size":8000,
35 "srgb-lower":16000,
36 "algorithms":[
37 {
38 "0":"SPF"
39 }
40 ],
41 "srlb-size":2000,
42 "srlb-lower":5000,
43 "msd":16
44 }
45 },
46 {
47 "vertex-id":167837443,
48 "status":"Sync",
49 "origin":"OSPFv2",
50 "router-id":"10.0.255.3",
51 "vertex-type":"ASBR"
52 },
53 {
54 "vertex-id":167837444,
55 "status":"Sync",
56 "origin":"OSPFv2",
57 "router-id":"10.0.255.4",
58 "vertex-type":"Standard",
59 "segment-routing":{
60 "srgb-size":10000,
61 "srgb-lower":10000,
62 "algorithms":[
63 {
64 "0":"SPF"
65 }
66 ],
67 "srlb-size":1000,
68 "srlb-lower":5000,
69 "msd":12
70 }
71 }
72 ],
73 "edges":[
74 {
75 "edge-id":"10.0.0.1",
76 "status":"Sync",
77 "origin":"OSPFv2",
78 "advertised-router":"10.0.255.1",
79 "local-vertex-id":167837441,
80 "remote-vertex-id":167837442,
81 "metric":10,
82 "edge-attributes":{
83 "te-metric":20,
84 "local-address":"10.0.0.1",
85 "remote-address":"10.0.0.2",
86 "max-link-bandwidth":99999997952,
87 "max-resv-link-bandwidth":1250000,
88 "unreserved-bandwidth":[
89 {
90 "class-type-0":1250000
91 },
92 {
93 "class-type-1":1250000
94 },
95 {
96 "class-type-2":1250000
97 },
98 {
99 "class-type-3":1250000
100 },
101 {
102 "class-type-4":1250000
103 },
104 {
105 "class-type-5":1250000
106 },
107 {
108 "class-type-6":1250000
109 },
110 {
111 "class-type-7":1250000
112 }
113 ],
114 "delay":10000,
115 "available-bandwidth":125000000.0
116 },
117 "segment-routing":[
118 {
119 "adj-sid":15001,
120 "flags":"0x60",
121 "weight":0
122 },
123 {
124 "adj-sid":15000,
125 "flags":"0xe0",
126 "weight":0
127 }
128 ]
129 },
130 {
131 "edge-id":"10.0.0.2",
132 "status":"Sync",
133 "origin":"OSPFv2",
134 "advertised-router":"10.0.255.2",
135 "local-vertex-id":167837442,
136 "remote-vertex-id":167837441,
137 "metric":10,
138 "edge-attributes":{
139 "local-address":"10.0.0.2",
140 "remote-address":"10.0.0.1",
141 "max-link-bandwidth":1250000,
142 "max-resv-link-bandwidth":1250000,
143 "unreserved-bandwidth":[
144 {
145 "class-type-0":1250000
146 },
147 {
148 "class-type-1":1250000
149 },
150 {
151 "class-type-2":1250000
152 },
153 {
154 "class-type-3":1250000
155 },
156 {
157 "class-type-4":1250000
158 },
159 {
160 "class-type-5":1250000
161 },
162 {
163 "class-type-6":1250000
164 },
165 {
166 "class-type-7":1250000
167 }
168 ]
169 },
170 "segment-routing":[
171 {
172 "adj-sid":5001,
173 "flags":"0x60",
174 "weight":0
175 },
176 {
177 "adj-sid":5000,
178 "flags":"0xe0",
179 "weight":0
180 }
181 ]
182 },
183 {
184 "edge-id":"10.0.3.1",
185 "status":"Sync",
186 "origin":"OSPFv2",
187 "advertised-router":"10.0.255.3",
188 "local-vertex-id":167837443,
189 "remote-vertex-id":167837442,
190 "metric":10,
191 "edge-attributes":{
192 "admin-group":32,
193 "local-address":"10.0.3.1",
194 "remote-address":"10.0.3.2",
195 "max-link-bandwidth":1250000,
196 "max-resv-link-bandwidth":1250000,
197 "unreserved-bandwidth":[
198 {
199 "class-type-0":1250000
200 },
201 {
202 "class-type-1":1250000
203 },
204 {
205 "class-type-2":1250000
206 },
207 {
208 "class-type-3":1250000
209 },
210 {
211 "class-type-4":1250000
212 },
213 {
214 "class-type-5":1250000
215 },
216 {
217 "class-type-6":1250000
218 },
219 {
220 "class-type-7":1250000
221 }
222 ]
223 }
224 },
225 {
226 "edge-id":"10.0.3.2",
227 "status":"Sync",
228 "origin":"OSPFv2",
229 "advertised-router":"10.0.255.2",
230 "local-vertex-id":167837442,
231 "remote-vertex-id":167837443,
232 "metric":10,
233 "edge-attributes":{
234 "local-address":"10.0.3.2",
235 "remote-address":"10.0.3.1",
236 "max-link-bandwidth":1250000,
237 "max-resv-link-bandwidth":1250000,
238 "unreserved-bandwidth":[
239 {
240 "class-type-0":1250000
241 },
242 {
243 "class-type-1":1250000
244 },
245 {
246 "class-type-2":1250000
247 },
248 {
249 "class-type-3":1250000
250 },
251 {
252 "class-type-4":1250000
253 },
254 {
255 "class-type-5":1250000
256 },
257 {
258 "class-type-6":1250000
259 },
260 {
261 "class-type-7":1250000
262 }
263 ]
264 },
265 "segment-routing":[
266 {
267 "adj-sid":5003,
268 "flags":"0x60",
269 "weight":0
270 },
271 {
272 "adj-sid":5002,
273 "flags":"0xe0",
274 "weight":0
275 }
276 ]
277 },
278 {
279 "edge-id":"10.0.4.1",
280 "status":"Sync",
281 "origin":"OSPFv2",
282 "advertised-router":"10.0.255.4",
283 "local-vertex-id":167837444,
284 "remote-vertex-id":167837442,
285 "metric":10,
286 "edge-attributes":{
287 "local-address":"10.0.4.1",
288 "remote-address":"10.0.4.2",
289 "max-link-bandwidth":1250000,
290 "max-resv-link-bandwidth":1250000,
291 "unreserved-bandwidth":[
292 {
293 "class-type-0":1250000
294 },
295 {
296 "class-type-1":1250000
297 },
298 {
299 "class-type-2":1250000
300 },
301 {
302 "class-type-3":1250000
303 },
304 {
305 "class-type-4":1250000
306 },
307 {
308 "class-type-5":1250000
309 },
310 {
311 "class-type-6":1250000
312 },
313 {
314 "class-type-7":1250000
315 }
316 ]
317 },
318 "segment-routing":[
319 {
320 "adj-sid":5001,
321 "flags":"0x60",
322 "weight":0
323 },
324 {
325 "adj-sid":5000,
326 "flags":"0xe0",
327 "weight":0
328 }
329 ]
330 },
331 {
332 "edge-id":"10.0.4.2",
333 "status":"Sync",
334 "origin":"OSPFv2",
335 "advertised-router":"10.0.255.2",
336 "local-vertex-id":167837442,
337 "remote-vertex-id":167837444,
338 "metric":10,
339 "edge-attributes":{
340 "te-metric":30,
341 "local-address":"10.0.4.2",
342 "remote-address":"10.0.4.1",
343 "max-link-bandwidth":99999997952,
344 "max-resv-link-bandwidth":1250000,
345 "unreserved-bandwidth":[
346 {
347 "class-type-0":1250000
348 },
349 {
350 "class-type-1":1250000
351 },
352 {
353 "class-type-2":1250000
354 },
355 {
356 "class-type-3":1250000
357 },
358 {
359 "class-type-4":1250000
360 },
361 {
362 "class-type-5":1250000
363 },
364 {
365 "class-type-6":1250000
366 },
367 {
368 "class-type-7":1250000
369 }
370 ],
371 "delay":25000,
372 "utilized-bandwidth":125000000.0
373 },
374 "segment-routing":[
375 {
376 "adj-sid":5005,
377 "flags":"0x60",
378 "weight":0
379 },
380 {
381 "adj-sid":5004,
382 "flags":"0xe0",
383 "weight":0
384 }
385 ]
386 }
387 ],
388 "subnets":[
389 {
390 "subnet-id":"10.0.0.1\/32",
391 "status":"Sync",
392 "origin":"OSPFv2",
393 "advertised-router":"10.0.255.1",
394 "vertex-id":167837441,
395 "metric":10
396 },
397 {
398 "subnet-id":"10.0.0.2\/32",
399 "status":"Sync",
400 "origin":"OSPFv2",
401 "advertised-router":"10.0.255.2",
402 "vertex-id":167837442,
403 "metric":10
404 },
405 {
406 "subnet-id":"10.0.3.1\/32",
407 "status":"Sync",
408 "origin":"OSPFv2",
409 "advertised-router":"10.0.255.3",
410 "vertex-id":167837443,
411 "metric":10
412 },
413 {
414 "subnet-id":"10.0.3.2\/32",
415 "status":"Sync",
416 "origin":"OSPFv2",
417 "advertised-router":"10.0.255.2",
418 "vertex-id":167837442,
419 "metric":10
420 },
421 {
422 "subnet-id":"10.0.4.1\/32",
423 "status":"Sync",
424 "origin":"OSPFv2",
425 "advertised-router":"10.0.255.4",
426 "vertex-id":167837444,
427 "metric":10
428 },
429 {
430 "subnet-id":"10.0.4.2\/32",
431 "status":"Sync",
432 "origin":"OSPFv2",
433 "advertised-router":"10.0.255.2",
434 "vertex-id":167837442,
435 "metric":10
436 },
437 {
438 "subnet-id":"10.0.255.1\/32",
439 "status":"Sync",
440 "origin":"OSPFv2",
441 "advertised-router":"10.0.255.1",
442 "vertex-id":167837441,
443 "metric":0,
444 "segment-routing":{
445 "pref-sid":10,
446 "algo":0,
447 "flags":"0x0"
448 }
449 },
450 {
451 "subnet-id":"10.0.255.2\/32",
452 "status":"Sync",
453 "origin":"OSPFv2",
454 "advertised-router":"10.0.255.2",
455 "vertex-id":167837442,
456 "metric":0,
457 "segment-routing":{
458 "pref-sid":20,
459 "algo":0,
460 "flags":"0x50"
461 }
462 },
463 {
464 "subnet-id":"10.0.255.3\/32",
465 "status":"Sync",
466 "origin":"OSPFv2",
467 "advertised-router":"10.0.255.3",
468 "vertex-id":167837443,
469 "metric":0
470 },
471 {
472 "subnet-id":"10.0.255.4\/32",
473 "status":"Sync",
474 "origin":"OSPFv2",
475 "advertised-router":"10.0.255.4",
476 "vertex-id":167837444,
477 "metric":0,
478 "segment-routing":{
479 "pref-sid":400,
480 "algo":0,
481 "flags":"0x40"
482 }
483 }
484 ]
485 }
486 }