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