]> git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/isis_te_topo1/reference/ted_step1.json
Merge pull request #13270 from pguibert6WIND/better_srv6_output_seg6local
[mirror_frr.git] / tests / topotests / isis_te_topo1 / reference / ted_step1.json
1 {
2 "ted":{
3 "name":"ISIS",
4 "key":1,
5 "verticesCount":4,
6 "edgesCount":14,
7 "subnetsCount":22,
8 "vertices":[
9 {
10 "vertex-id":1,
11 "status":"Sync",
12 "origin":"ISIS_L2",
13 "name":"r1",
14 "router-id":"10.0.255.1"
15 },
16 {
17 "vertex-id":2,
18 "status":"Sync",
19 "origin":"ISIS_L2",
20 "name":"r2",
21 "router-id":"10.0.255.2"
22 },
23 {
24 "vertex-id":3,
25 "status":"Sync",
26 "origin":"ISIS_L2",
27 "name":"r3",
28 "router-id":"10.0.255.3",
29 "router-id-v6":"2001:db8:1000::3"
30 },
31 {
32 "vertex-id":4,
33 "status":"Sync",
34 "origin":"ISIS_L2",
35 "name":"r4",
36 "router-id":"10.0.255.4",
37 "segment-routing":{
38 "srgb-size":10000,
39 "srgb-lower":10000,
40 "algorithms":[
41 {
42 "0":"SPF"
43 }
44 ],
45 "srlb-size":1000,
46 "srlb-lower":5000,
47 "msd":12
48 }
49 }
50 ],
51 "edges":[
52 {
53 "edge-id":"2001:db8:1::1:1",
54 "status":"Sync",
55 "origin":"ISIS_L2",
56 "advertised-router":"0000.0000.0001",
57 "local-vertex-id":1,
58 "remote-vertex-id":2,
59 "metric":10,
60 "edge-attributes":{
61 "local-address-v6":"2001:db8:1::1:1",
62 "remote-address-v6":"2001:db8:1::1:2",
63 "max-link-bandwidth":1250000,
64 "max-resv-link-bandwidth":1250000,
65 "unreserved-bandwidth":[
66 {
67 "class-type-0":1250000
68 },
69 {
70 "class-type-1":1250000
71 },
72 {
73 "class-type-2":1250000
74 },
75 {
76 "class-type-3":1250000
77 },
78 {
79 "class-type-4":1250000
80 },
81 {
82 "class-type-5":1250000
83 },
84 {
85 "class-type-6":1250000
86 },
87 {
88 "class-type-7":1250000
89 }
90 ]
91 }
92 },
93 {
94 "edge-id":"2001:db8:1::1:2",
95 "status":"Sync",
96 "origin":"ISIS_L2",
97 "advertised-router":"0000.0000.0002",
98 "local-vertex-id":2,
99 "remote-vertex-id":1,
100 "metric":10,
101 "edge-attributes":{
102 "local-address-v6":"2001:db8:1::1:2",
103 "remote-address-v6":"2001:db8:1::1:1",
104 "max-link-bandwidth":1250000,
105 "max-resv-link-bandwidth":1250000,
106 "unreserved-bandwidth":[
107 {
108 "class-type-0":1250000
109 },
110 {
111 "class-type-1":1250000
112 },
113 {
114 "class-type-2":1250000
115 },
116 {
117 "class-type-3":1250000
118 },
119 {
120 "class-type-4":1250000
121 },
122 {
123 "class-type-5":1250000
124 },
125 {
126 "class-type-6":1250000
127 },
128 {
129 "class-type-7":1250000
130 }
131 ]
132 }
133 },
134 {
135 "edge-id":"2001:db8:3::3:2",
136 "status":"Sync",
137 "origin":"ISIS_L2",
138 "advertised-router":"0000.0000.0002",
139 "local-vertex-id":2,
140 "remote-vertex-id":3,
141 "metric":10,
142 "edge-attributes":{
143 "local-address-v6":"2001:db8:3::3:2",
144 "remote-address-v6":"2001:db8:3::3:3",
145 "max-link-bandwidth":1250000,
146 "max-resv-link-bandwidth":1250000,
147 "unreserved-bandwidth":[
148 {
149 "class-type-0":1250000
150 },
151 {
152 "class-type-1":1250000
153 },
154 {
155 "class-type-2":1250000
156 },
157 {
158 "class-type-3":1250000
159 },
160 {
161 "class-type-4":1250000
162 },
163 {
164 "class-type-5":1250000
165 },
166 {
167 "class-type-6":1250000
168 },
169 {
170 "class-type-7":1250000
171 }
172 ]
173 }
174 },
175 {
176 "edge-id":"2001:db8:3::3:3",
177 "status":"Sync",
178 "origin":"ISIS_L2",
179 "advertised-router":"0000.0000.0003",
180 "local-vertex-id":3,
181 "remote-vertex-id":2,
182 "metric":10,
183 "edge-attributes":{
184 "admin-group":32,
185 "local-address-v6":"2001:db8:3::3:3",
186 "remote-address-v6":"2001:db8:3::3:2",
187 "max-link-bandwidth":1250000,
188 "max-resv-link-bandwidth":1250000,
189 "unreserved-bandwidth":[
190 {
191 "class-type-0":1250000
192 },
193 {
194 "class-type-1":1250000
195 },
196 {
197 "class-type-2":1250000
198 },
199 {
200 "class-type-3":1250000
201 },
202 {
203 "class-type-4":1250000
204 },
205 {
206 "class-type-5":1250000
207 },
208 {
209 "class-type-6":1250000
210 },
211 {
212 "class-type-7":1250000
213 }
214 ]
215 }
216 },
217 {
218 "edge-id":"2001:db8:5::3:4",
219 "status":"Sync",
220 "origin":"ISIS_L2",
221 "advertised-router":"0000.0000.0004",
222 "local-vertex-id":4,
223 "remote-vertex-id":3,
224 "metric":10,
225 "edge-attributes":{
226 "local-address-v6":"2001:db8:5::3:4",
227 "remote-address-v6":"2001:db8:5::4:3",
228 "max-link-bandwidth":1250000,
229 "max-resv-link-bandwidth":1250000,
230 "unreserved-bandwidth":[
231 {
232 "class-type-0":1250000
233 },
234 {
235 "class-type-1":1250000
236 },
237 {
238 "class-type-2":1250000
239 },
240 {
241 "class-type-3":1250000
242 },
243 {
244 "class-type-4":1250000
245 },
246 {
247 "class-type-5":1250000
248 },
249 {
250 "class-type-6":1250000
251 },
252 {
253 "class-type-7":1250000
254 }
255 ]
256 },
257 "segment-routing":[
258 {
259 "adj-sid":5001,
260 "flags":"0xb0",
261 "weight":0
262 }
263 ]
264 },
265 {
266 "edge-id":"2001:db8:5::4:3",
267 "status":"Sync",
268 "origin":"ISIS_L2",
269 "advertised-router":"0000.0000.0003",
270 "local-vertex-id":3,
271 "remote-vertex-id":4,
272 "metric":10,
273 "edge-attributes":{
274 "te-metric":10,
275 "local-address-v6":"2001:db8:5::4:3",
276 "remote-address-v6":"2001:db8:5::3:4",
277 "max-link-bandwidth":1250000,
278 "max-resv-link-bandwidth":1250000,
279 "unreserved-bandwidth":[
280 {
281 "class-type-0":1250000
282 },
283 {
284 "class-type-1":1250000
285 },
286 {
287 "class-type-2":1250000
288 },
289 {
290 "class-type-3":1250000
291 },
292 {
293 "class-type-4":1250000
294 },
295 {
296 "class-type-5":1250000
297 },
298 {
299 "class-type-6":1250000
300 },
301 {
302 "class-type-7":1250000
303 }
304 ],
305 "delay":50000
306 }
307 },
308 {
309 "edge-id":"10.0.0.1",
310 "status":"Sync",
311 "origin":"ISIS_L2",
312 "advertised-router":"0000.0000.0001",
313 "local-vertex-id":1,
314 "remote-vertex-id":2,
315 "metric":10,
316 "edge-attributes":{
317 "te-metric":20,
318 "local-address":"10.0.0.1",
319 "remote-address":"10.0.0.2",
320 "max-link-bandwidth":99999997952,
321 "max-resv-link-bandwidth":1250000,
322 "unreserved-bandwidth":[
323 {
324 "class-type-0":1250000
325 },
326 {
327 "class-type-1":1250000
328 },
329 {
330 "class-type-2":1250000
331 },
332 {
333 "class-type-3":1250000
334 },
335 {
336 "class-type-4":1250000
337 },
338 {
339 "class-type-5":1250000
340 },
341 {
342 "class-type-6":1250000
343 },
344 {
345 "class-type-7":1250000
346 }
347 ],
348 "delay":10000,
349 "available-bandwidth":125000000.0
350 }
351 },
352 {
353 "edge-id":"10.0.0.2",
354 "status":"Sync",
355 "origin":"ISIS_L2",
356 "advertised-router":"0000.0000.0002",
357 "local-vertex-id":2,
358 "remote-vertex-id":1,
359 "metric":10,
360 "edge-attributes":{
361 "local-address":"10.0.0.2",
362 "remote-address":"10.0.0.1",
363 "max-link-bandwidth":1250000,
364 "max-resv-link-bandwidth":1250000,
365 "unreserved-bandwidth":[
366 {
367 "class-type-0":1250000
368 },
369 {
370 "class-type-1":1250000
371 },
372 {
373 "class-type-2":1250000
374 },
375 {
376 "class-type-3":1250000
377 },
378 {
379 "class-type-4":1250000
380 },
381 {
382 "class-type-5":1250000
383 },
384 {
385 "class-type-6":1250000
386 },
387 {
388 "class-type-7":1250000
389 }
390 ]
391 }
392 },
393 {
394 "edge-id":"10.0.1.1",
395 "status":"Sync",
396 "origin":"ISIS_L2",
397 "advertised-router":"0000.0000.0001",
398 "local-vertex-id":1,
399 "remote-vertex-id":2,
400 "metric":10,
401 "edge-attributes":{
402 "local-address":"10.0.1.1",
403 "remote-address":"10.0.1.2",
404 "max-link-bandwidth":1250000,
405 "max-resv-link-bandwidth":1250000,
406 "unreserved-bandwidth":[
407 {
408 "class-type-0":1250000
409 },
410 {
411 "class-type-1":1250000
412 },
413 {
414 "class-type-2":1250000
415 },
416 {
417 "class-type-3":1250000
418 },
419 {
420 "class-type-4":1250000
421 },
422 {
423 "class-type-5":1250000
424 },
425 {
426 "class-type-6":1250000
427 },
428 {
429 "class-type-7":1250000
430 }
431 ]
432 }
433 },
434 {
435 "edge-id":"10.0.1.2",
436 "status":"Sync",
437 "origin":"ISIS_L2",
438 "advertised-router":"0000.0000.0002",
439 "local-vertex-id":2,
440 "remote-vertex-id":1,
441 "metric":10,
442 "edge-attributes":{
443 "local-address":"10.0.1.2",
444 "remote-address":"10.0.1.1",
445 "max-link-bandwidth":1250000,
446 "max-resv-link-bandwidth":1250000,
447 "unreserved-bandwidth":[
448 {
449 "class-type-0":1250000
450 },
451 {
452 "class-type-1":1250000
453 },
454 {
455 "class-type-2":1250000
456 },
457 {
458 "class-type-3":1250000
459 },
460 {
461 "class-type-4":1250000
462 },
463 {
464 "class-type-5":1250000
465 },
466 {
467 "class-type-6":1250000
468 },
469 {
470 "class-type-7":1250000
471 }
472 ]
473 }
474 },
475 {
476 "edge-id":"10.0.3.2",
477 "status":"Sync",
478 "origin":"ISIS_L2",
479 "advertised-router":"0000.0000.0002",
480 "local-vertex-id":2,
481 "remote-vertex-id":3,
482 "metric":10,
483 "edge-attributes":{
484 "local-address":"10.0.3.2",
485 "remote-address":"10.0.3.3",
486 "max-link-bandwidth":1250000,
487 "max-resv-link-bandwidth":1250000,
488 "unreserved-bandwidth":[
489 {
490 "class-type-0":1250000
491 },
492 {
493 "class-type-1":1250000
494 },
495 {
496 "class-type-2":1250000
497 },
498 {
499 "class-type-3":1250000
500 },
501 {
502 "class-type-4":1250000
503 },
504 {
505 "class-type-5":1250000
506 },
507 {
508 "class-type-6":1250000
509 },
510 {
511 "class-type-7":1250000
512 }
513 ]
514 }
515 },
516 {
517 "edge-id":"10.0.3.3",
518 "status":"Sync",
519 "origin":"ISIS_L2",
520 "advertised-router":"0000.0000.0003",
521 "local-vertex-id":3,
522 "remote-vertex-id":2,
523 "metric":10,
524 "edge-attributes":{
525 "admin-group":32,
526 "local-address":"10.0.3.3",
527 "remote-address":"10.0.3.2",
528 "max-link-bandwidth":1250000,
529 "max-resv-link-bandwidth":1250000,
530 "unreserved-bandwidth":[
531 {
532 "class-type-0":1250000
533 },
534 {
535 "class-type-1":1250000
536 },
537 {
538 "class-type-2":1250000
539 },
540 {
541 "class-type-3":1250000
542 },
543 {
544 "class-type-4":1250000
545 },
546 {
547 "class-type-5":1250000
548 },
549 {
550 "class-type-6":1250000
551 },
552 {
553 "class-type-7":1250000
554 }
555 ]
556 }
557 },
558 {
559 "edge-id":"10.0.4.2",
560 "status":"Sync",
561 "origin":"ISIS_L2",
562 "advertised-router":"0000.0000.0002",
563 "local-vertex-id":2,
564 "remote-vertex-id":4,
565 "metric":10,
566 "edge-attributes":{
567 "te-metric":30,
568 "local-address":"10.0.4.2",
569 "remote-address":"10.0.4.4",
570 "max-link-bandwidth":99999997952,
571 "max-resv-link-bandwidth":1250000,
572 "unreserved-bandwidth":[
573 {
574 "class-type-0":1250000
575 },
576 {
577 "class-type-1":1250000
578 },
579 {
580 "class-type-2":1250000
581 },
582 {
583 "class-type-3":1250000
584 },
585 {
586 "class-type-4":1250000
587 },
588 {
589 "class-type-5":1250000
590 },
591 {
592 "class-type-6":1250000
593 },
594 {
595 "class-type-7":1250000
596 }
597 ],
598 "delay":25000,
599 "utilized-bandwidth":125000000.0
600 }
601 },
602 {
603 "edge-id":"10.0.4.4",
604 "status":"Sync",
605 "origin":"ISIS_L2",
606 "advertised-router":"0000.0000.0004",
607 "local-vertex-id":4,
608 "remote-vertex-id":2,
609 "metric":10,
610 "edge-attributes":{
611 "local-address":"10.0.4.4",
612 "remote-address":"10.0.4.2",
613 "max-link-bandwidth":1250000,
614 "max-resv-link-bandwidth":1250000,
615 "unreserved-bandwidth":[
616 {
617 "class-type-0":1250000
618 },
619 {
620 "class-type-1":1250000
621 },
622 {
623 "class-type-2":1250000
624 },
625 {
626 "class-type-3":1250000
627 },
628 {
629 "class-type-4":1250000
630 },
631 {
632 "class-type-5":1250000
633 },
634 {
635 "class-type-6":1250000
636 },
637 {
638 "class-type-7":1250000
639 }
640 ]
641 },
642 "segment-routing":[
643 {
644 "adj-sid":5000,
645 "flags":"0x30",
646 "weight":0
647 }
648 ]
649 }
650 ],
651 "subnets":[
652 {
653 "subnet-id":"10.0.0.1\/24",
654 "status":"Sync",
655 "origin":"ISIS_L2",
656 "advertised-router":"0000.0000.0001",
657 "vertex-id":1,
658 "metric":10
659 },
660 {
661 "subnet-id":"10.0.0.2\/24",
662 "status":"Sync",
663 "origin":"ISIS_L2",
664 "advertised-router":"0000.0000.0002",
665 "vertex-id":2,
666 "metric":10
667 },
668 {
669 "subnet-id":"10.0.1.1\/24",
670 "status":"Sync",
671 "origin":"ISIS_L2",
672 "advertised-router":"0000.0000.0001",
673 "vertex-id":1,
674 "metric":10
675 },
676 {
677 "subnet-id":"10.0.1.2\/24",
678 "status":"Sync",
679 "origin":"ISIS_L2",
680 "advertised-router":"0000.0000.0002",
681 "vertex-id":2,
682 "metric":10
683 },
684 {
685 "subnet-id":"10.0.3.2\/24",
686 "status":"Sync",
687 "origin":"ISIS_L2",
688 "advertised-router":"0000.0000.0002",
689 "vertex-id":2,
690 "metric":10
691 },
692 {
693 "subnet-id":"10.0.3.3\/24",
694 "status":"Sync",
695 "origin":"ISIS_L2",
696 "advertised-router":"0000.0000.0003",
697 "vertex-id":3,
698 "metric":10
699 },
700 {
701 "subnet-id":"10.0.4.2\/24",
702 "status":"Sync",
703 "origin":"ISIS_L2",
704 "advertised-router":"0000.0000.0002",
705 "vertex-id":2,
706 "metric":10
707 },
708 {
709 "subnet-id":"10.0.4.4\/24",
710 "status":"Sync",
711 "origin":"ISIS_L2",
712 "advertised-router":"0000.0000.0004",
713 "vertex-id":4,
714 "metric":10
715 },
716 {
717 "subnet-id":"10.0.255.1\/32",
718 "status":"Sync",
719 "origin":"ISIS_L2",
720 "advertised-router":"0000.0000.0001",
721 "vertex-id":1,
722 "metric":10
723 },
724 {
725 "subnet-id":"10.0.255.2\/32",
726 "status":"Sync",
727 "origin":"ISIS_L2",
728 "advertised-router":"0000.0000.0002",
729 "vertex-id":2,
730 "metric":10
731 },
732 {
733 "subnet-id":"10.0.255.3\/32",
734 "status":"Sync",
735 "origin":"ISIS_L2",
736 "advertised-router":"0000.0000.0003",
737 "vertex-id":3,
738 "metric":10
739 },
740 {
741 "subnet-id":"10.0.255.4\/32",
742 "status":"Sync",
743 "origin":"ISIS_L2",
744 "advertised-router":"0000.0000.0004",
745 "vertex-id":4,
746 "metric":10,
747 "segment-routing":{
748 "pref-sid":400,
749 "algo":0,
750 "flags":"0x60"
751 }
752 },
753 {
754 "subnet-id":"2001:db8:1::1:1\/64",
755 "status":"Sync",
756 "origin":"ISIS_L2",
757 "advertised-router":"0000.0000.0001",
758 "vertex-id":1,
759 "metric":10
760 },
761 {
762 "subnet-id":"2001:db8:1::1:2\/64",
763 "status":"Sync",
764 "origin":"ISIS_L2",
765 "advertised-router":"0000.0000.0002",
766 "vertex-id":2,
767 "metric":10
768 },
769 {
770 "subnet-id":"2001:db8:3::3:2\/64",
771 "status":"Sync",
772 "origin":"ISIS_L2",
773 "advertised-router":"0000.0000.0002",
774 "vertex-id":2,
775 "metric":10
776 },
777 {
778 "subnet-id":"2001:db8:3::3:3\/64",
779 "status":"Sync",
780 "origin":"ISIS_L2",
781 "advertised-router":"0000.0000.0003",
782 "vertex-id":3,
783 "metric":10
784 },
785 {
786 "subnet-id":"2001:db8:5::3:4\/64",
787 "status":"Sync",
788 "origin":"ISIS_L2",
789 "advertised-router":"0000.0000.0004",
790 "vertex-id":4,
791 "metric":10
792 },
793 {
794 "subnet-id":"2001:db8:5::4:3\/64",
795 "status":"Sync",
796 "origin":"ISIS_L2",
797 "advertised-router":"0000.0000.0003",
798 "vertex-id":3,
799 "metric":10
800 },
801 {
802 "subnet-id":"2001:db8:ffff::1\/128",
803 "status":"Sync",
804 "origin":"ISIS_L2",
805 "advertised-router":"0000.0000.0001",
806 "vertex-id":1,
807 "metric":10
808 },
809 {
810 "subnet-id":"2001:db8:ffff::2\/128",
811 "status":"Sync",
812 "origin":"ISIS_L2",
813 "advertised-router":"0000.0000.0002",
814 "vertex-id":2,
815 "metric":10
816 },
817 {
818 "subnet-id":"2001:db8:ffff::3\/128",
819 "status":"Sync",
820 "origin":"ISIS_L2",
821 "advertised-router":"0000.0000.0003",
822 "vertex-id":3,
823 "metric":10
824 },
825 {
826 "subnet-id":"2001:db8:ffff::4\/128",
827 "status":"Sync",
828 "origin":"ISIS_L2",
829 "advertised-router":"0000.0000.0004",
830 "vertex-id":4,
831 "metric":10,
832 "segment-routing":{
833 "pref-sid":1400,
834 "algo":0,
835 "flags":"0x60"
836 }
837 }
838 ]
839 }
840 }