]> git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/isis_te_topo1/reference/ted_step6.json
Merge pull request #10447 from ton31337/fix/json_with_whitespaces
[mirror_frr.git] / tests / topotests / isis_te_topo1 / reference / ted_step6.json
1 {
2 "ted":{
3 "name":"ISIS",
4 "key":1,
5 "verticesCount":4,
6 "edgesCount":16,
7 "subnetsCount":24,
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":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 "te-metric":20,
62 "local-address-v6":"2001:db8::1",
63 "remote-address-v6":"2001:db8::2",
64 "max-link-bandwidth":176258176.0,
65 "max-resv-link-bandwidth":176258176.0,
66 "unreserved-bandwidth":[
67 {
68 "class-type-0":176258176.0
69 },
70 {
71 "class-type-1":176258176.0
72 },
73 {
74 "class-type-2":176258176.0
75 },
76 {
77 "class-type-3":176258176.0
78 },
79 {
80 "class-type-4":176258176.0
81 },
82 {
83 "class-type-5":176258176.0
84 },
85 {
86 "class-type-6":176258176.0
87 },
88 {
89 "class-type-7":176258176.0
90 }
91 ],
92 "delay":10000,
93 "available-bandwidth":125000000.0
94 }
95 },
96 {
97 "edge-id":2,
98 "status":"Sync",
99 "origin":"ISIS_L2",
100 "advertised-router":"0000.0000.0002",
101 "local-vertex-id":2,
102 "remote-vertex-id":1,
103 "metric":10,
104 "edge-attributes":{
105 "local-address-v6":"2001:db8::2",
106 "max-link-bandwidth":176258176.0,
107 "max-resv-link-bandwidth":176258176.0,
108 "unreserved-bandwidth":[
109 {
110 "class-type-0":176258176.0
111 },
112 {
113 "class-type-1":176258176.0
114 },
115 {
116 "class-type-2":176258176.0
117 },
118 {
119 "class-type-3":176258176.0
120 },
121 {
122 "class-type-4":176258176.0
123 },
124 {
125 "class-type-5":176258176.0
126 },
127 {
128 "class-type-6":176258176.0
129 },
130 {
131 "class-type-7":176258176.0
132 }
133 ]
134 }
135 },
136 {
137 "edge-id":65537,
138 "status":"Sync",
139 "origin":"ISIS_L2",
140 "advertised-router":"0000.0000.0001",
141 "local-vertex-id":1,
142 "remote-vertex-id":2,
143 "metric":10,
144 "edge-attributes":{
145 "local-address-v6":"2001:db8:1::1:1",
146 "remote-address-v6":"2001:db8:1::1:2",
147 "max-link-bandwidth":176258176.0,
148 "max-resv-link-bandwidth":176258176.0,
149 "unreserved-bandwidth":[
150 {
151 "class-type-0":176258176.0
152 },
153 {
154 "class-type-1":176258176.0
155 },
156 {
157 "class-type-2":176258176.0
158 },
159 {
160 "class-type-3":176258176.0
161 },
162 {
163 "class-type-4":176258176.0
164 },
165 {
166 "class-type-5":176258176.0
167 },
168 {
169 "class-type-6":176258176.0
170 },
171 {
172 "class-type-7":176258176.0
173 }
174 ]
175 }
176 },
177 {
178 "edge-id":65538,
179 "status":"Sync",
180 "origin":"ISIS_L2",
181 "advertised-router":"0000.0000.0002",
182 "local-vertex-id":2,
183 "remote-vertex-id":1,
184 "metric":10,
185 "edge-attributes":{
186 "local-address-v6":"2001:db8:1::1:2",
187 "remote-address-v6":"2001:db8:1::1:1",
188 "max-link-bandwidth":176258176.0,
189 "max-resv-link-bandwidth":176258176.0,
190 "unreserved-bandwidth":[
191 {
192 "class-type-0":176258176.0
193 },
194 {
195 "class-type-1":176258176.0
196 },
197 {
198 "class-type-2":176258176.0
199 },
200 {
201 "class-type-3":176258176.0
202 },
203 {
204 "class-type-4":176258176.0
205 },
206 {
207 "class-type-5":176258176.0
208 },
209 {
210 "class-type-6":176258176.0
211 },
212 {
213 "class-type-7":176258176.0
214 }
215 ]
216 }
217 },
218 {
219 "edge-id":196610,
220 "status":"Sync",
221 "origin":"ISIS_L2",
222 "advertised-router":"0000.0000.0002",
223 "local-vertex-id":2,
224 "remote-vertex-id":3,
225 "metric":10,
226 "edge-attributes":{
227 "local-address-v6":"2001:db8:3::3:2",
228 "remote-address-v6":"2001:db8:3::3:3",
229 "max-link-bandwidth":176258176.0,
230 "max-resv-link-bandwidth":176258176.0,
231 "unreserved-bandwidth":[
232 {
233 "class-type-0":176258176.0
234 },
235 {
236 "class-type-1":176258176.0
237 },
238 {
239 "class-type-2":176258176.0
240 },
241 {
242 "class-type-3":176258176.0
243 },
244 {
245 "class-type-4":176258176.0
246 },
247 {
248 "class-type-5":176258176.0
249 },
250 {
251 "class-type-6":176258176.0
252 },
253 {
254 "class-type-7":176258176.0
255 }
256 ]
257 }
258 },
259 {
260 "edge-id":196611,
261 "status":"Sync",
262 "origin":"ISIS_L2",
263 "advertised-router":"0000.0000.0003",
264 "local-vertex-id":3,
265 "remote-vertex-id":2,
266 "metric":10,
267 "edge-attributes":{
268 "admin-group":32,
269 "local-address-v6":"2001:db8:3::3:3",
270 "remote-address-v6":"2001:db8:3::3:2",
271 "max-link-bandwidth":176258176.0,
272 "max-resv-link-bandwidth":176258176.0,
273 "unreserved-bandwidth":[
274 {
275 "class-type-0":176258176.0
276 },
277 {
278 "class-type-1":176258176.0
279 },
280 {
281 "class-type-2":176258176.0
282 },
283 {
284 "class-type-3":176258176.0
285 },
286 {
287 "class-type-4":176258176.0
288 },
289 {
290 "class-type-5":176258176.0
291 },
292 {
293 "class-type-6":176258176.0
294 },
295 {
296 "class-type-7":176258176.0
297 }
298 ]
299 }
300 },
301 {
302 "edge-id":196612,
303 "status":"Sync",
304 "origin":"ISIS_L2",
305 "advertised-router":"0000.0000.0004",
306 "local-vertex-id":4,
307 "remote-vertex-id":3,
308 "metric":10,
309 "edge-attributes":{
310 "local-address-v6":"2001:db8:5::3:4",
311 "remote-address-v6":"2001:db8:5::4:3",
312 "max-link-bandwidth":176258176.0,
313 "max-resv-link-bandwidth":176258176.0,
314 "unreserved-bandwidth":[
315 {
316 "class-type-0":176258176.0
317 },
318 {
319 "class-type-1":176258176.0
320 },
321 {
322 "class-type-2":176258176.0
323 },
324 {
325 "class-type-3":176258176.0
326 },
327 {
328 "class-type-4":176258176.0
329 },
330 {
331 "class-type-5":176258176.0
332 },
333 {
334 "class-type-6":176258176.0
335 },
336 {
337 "class-type-7":176258176.0
338 }
339 ]
340 },
341 "segment-routing":[
342 {
343 "adj-sid":5001,
344 "flags":"0xb0",
345 "weight":0
346 }
347 ]
348 },
349 {
350 "edge-id":262147,
351 "status":"Sync",
352 "origin":"ISIS_L2",
353 "advertised-router":"0000.0000.0003",
354 "local-vertex-id":3,
355 "remote-vertex-id":4,
356 "metric":10,
357 "edge-attributes":{
358 "te-metric":10,
359 "local-address-v6":"2001:db8:5::4:3",
360 "remote-address-v6":"2001:db8:5::3:4",
361 "max-link-bandwidth":176258176.0,
362 "max-resv-link-bandwidth":176258176.0,
363 "unreserved-bandwidth":[
364 {
365 "class-type-0":176258176.0
366 },
367 {
368 "class-type-1":176258176.0
369 },
370 {
371 "class-type-2":176258176.0
372 },
373 {
374 "class-type-3":176258176.0
375 },
376 {
377 "class-type-4":176258176.0
378 },
379 {
380 "class-type-5":176258176.0
381 },
382 {
383 "class-type-6":176258176.0
384 },
385 {
386 "class-type-7":176258176.0
387 }
388 ],
389 "delay":50000
390 }
391 },
392 {
393 "edge-id":167772161,
394 "status":"Sync",
395 "origin":"ISIS_L2",
396 "advertised-router":"0000.0000.0001",
397 "local-vertex-id":1,
398 "remote-vertex-id":2,
399 "metric":10,
400 "edge-attributes":{
401 "te-metric":20,
402 "local-address":"10.0.0.1",
403 "remote-address":"10.0.0.2",
404 "max-link-bandwidth":176258176.0,
405 "max-resv-link-bandwidth":176258176.0,
406 "unreserved-bandwidth":[
407 {
408 "class-type-0":176258176.0
409 },
410 {
411 "class-type-1":176258176.0
412 },
413 {
414 "class-type-2":176258176.0
415 },
416 {
417 "class-type-3":176258176.0
418 },
419 {
420 "class-type-4":176258176.0
421 },
422 {
423 "class-type-5":176258176.0
424 },
425 {
426 "class-type-6":176258176.0
427 },
428 {
429 "class-type-7":176258176.0
430 }
431 ],
432 "delay":10000,
433 "available-bandwidth":125000000.0
434 }
435 },
436 {
437 "edge-id":167772162,
438 "status":"Sync",
439 "origin":"ISIS_L2",
440 "advertised-router":"0000.0000.0002",
441 "local-vertex-id":2,
442 "remote-vertex-id":1,
443 "metric":10,
444 "edge-attributes":{
445 "local-address":"10.0.0.2",
446 "remote-address":"10.0.0.1",
447 "max-link-bandwidth":176258176.0,
448 "max-resv-link-bandwidth":176258176.0,
449 "unreserved-bandwidth":[
450 {
451 "class-type-0":176258176.0
452 },
453 {
454 "class-type-1":176258176.0
455 },
456 {
457 "class-type-2":176258176.0
458 },
459 {
460 "class-type-3":176258176.0
461 },
462 {
463 "class-type-4":176258176.0
464 },
465 {
466 "class-type-5":176258176.0
467 },
468 {
469 "class-type-6":176258176.0
470 },
471 {
472 "class-type-7":176258176.0
473 }
474 ]
475 }
476 },
477 {
478 "edge-id":167772417,
479 "status":"Sync",
480 "origin":"ISIS_L2",
481 "advertised-router":"0000.0000.0001",
482 "local-vertex-id":1,
483 "remote-vertex-id":2,
484 "metric":10,
485 "edge-attributes":{
486 "local-address":"10.0.1.1",
487 "remote-address":"10.0.1.2",
488 "max-link-bandwidth":176258176.0,
489 "max-resv-link-bandwidth":176258176.0,
490 "unreserved-bandwidth":[
491 {
492 "class-type-0":176258176.0
493 },
494 {
495 "class-type-1":176258176.0
496 },
497 {
498 "class-type-2":176258176.0
499 },
500 {
501 "class-type-3":176258176.0
502 },
503 {
504 "class-type-4":176258176.0
505 },
506 {
507 "class-type-5":176258176.0
508 },
509 {
510 "class-type-6":176258176.0
511 },
512 {
513 "class-type-7":176258176.0
514 }
515 ]
516 }
517 },
518 {
519 "edge-id":167772418,
520 "status":"Sync",
521 "origin":"ISIS_L2",
522 "advertised-router":"0000.0000.0002",
523 "local-vertex-id":2,
524 "remote-vertex-id":1,
525 "metric":10,
526 "edge-attributes":{
527 "local-address":"10.0.1.2",
528 "remote-address":"10.0.1.1",
529 "max-link-bandwidth":176258176.0,
530 "max-resv-link-bandwidth":176258176.0,
531 "unreserved-bandwidth":[
532 {
533 "class-type-0":176258176.0
534 },
535 {
536 "class-type-1":176258176.0
537 },
538 {
539 "class-type-2":176258176.0
540 },
541 {
542 "class-type-3":176258176.0
543 },
544 {
545 "class-type-4":176258176.0
546 },
547 {
548 "class-type-5":176258176.0
549 },
550 {
551 "class-type-6":176258176.0
552 },
553 {
554 "class-type-7":176258176.0
555 }
556 ]
557 }
558 },
559 {
560 "edge-id":167772930,
561 "status":"Sync",
562 "origin":"ISIS_L2",
563 "advertised-router":"0000.0000.0002",
564 "local-vertex-id":2,
565 "remote-vertex-id":3,
566 "metric":10,
567 "edge-attributes":{
568 "local-address":"10.0.3.2",
569 "remote-address":"10.0.3.3",
570 "max-link-bandwidth":176258176.0,
571 "max-resv-link-bandwidth":176258176.0,
572 "unreserved-bandwidth":[
573 {
574 "class-type-0":176258176.0
575 },
576 {
577 "class-type-1":176258176.0
578 },
579 {
580 "class-type-2":176258176.0
581 },
582 {
583 "class-type-3":176258176.0
584 },
585 {
586 "class-type-4":176258176.0
587 },
588 {
589 "class-type-5":176258176.0
590 },
591 {
592 "class-type-6":176258176.0
593 },
594 {
595 "class-type-7":176258176.0
596 }
597 ]
598 }
599 },
600 {
601 "edge-id":167772931,
602 "status":"Sync",
603 "origin":"ISIS_L2",
604 "advertised-router":"0000.0000.0003",
605 "local-vertex-id":3,
606 "remote-vertex-id":2,
607 "metric":10,
608 "edge-attributes":{
609 "admin-group":32,
610 "local-address":"10.0.3.3",
611 "remote-address":"10.0.3.2",
612 "max-link-bandwidth":176258176.0,
613 "max-resv-link-bandwidth":176258176.0,
614 "unreserved-bandwidth":[
615 {
616 "class-type-0":176258176.0
617 },
618 {
619 "class-type-1":176258176.0
620 },
621 {
622 "class-type-2":176258176.0
623 },
624 {
625 "class-type-3":176258176.0
626 },
627 {
628 "class-type-4":176258176.0
629 },
630 {
631 "class-type-5":176258176.0
632 },
633 {
634 "class-type-6":176258176.0
635 },
636 {
637 "class-type-7":176258176.0
638 }
639 ]
640 }
641 },
642 {
643 "edge-id":167773186,
644 "status":"Sync",
645 "origin":"ISIS_L2",
646 "advertised-router":"0000.0000.0002",
647 "local-vertex-id":2,
648 "remote-vertex-id":4,
649 "metric":10,
650 "edge-attributes":{
651 "te-metric":30,
652 "local-address":"10.0.4.2",
653 "remote-address":"10.0.4.4",
654 "max-link-bandwidth":176258176.0,
655 "max-resv-link-bandwidth":176258176.0,
656 "unreserved-bandwidth":[
657 {
658 "class-type-0":176258176.0
659 },
660 {
661 "class-type-1":176258176.0
662 },
663 {
664 "class-type-2":176258176.0
665 },
666 {
667 "class-type-3":176258176.0
668 },
669 {
670 "class-type-4":176258176.0
671 },
672 {
673 "class-type-5":176258176.0
674 },
675 {
676 "class-type-6":176258176.0
677 },
678 {
679 "class-type-7":176258176.0
680 }
681 ],
682 "delay":25000
683 }
684 },
685 {
686 "edge-id":167773188,
687 "status":"Sync",
688 "origin":"ISIS_L2",
689 "advertised-router":"0000.0000.0004",
690 "local-vertex-id":4,
691 "remote-vertex-id":2,
692 "metric":10,
693 "edge-attributes":{
694 "local-address":"10.0.4.4",
695 "remote-address":"10.0.4.2",
696 "max-link-bandwidth":176258176.0,
697 "max-resv-link-bandwidth":176258176.0,
698 "unreserved-bandwidth":[
699 {
700 "class-type-0":176258176.0
701 },
702 {
703 "class-type-1":176258176.0
704 },
705 {
706 "class-type-2":176258176.0
707 },
708 {
709 "class-type-3":176258176.0
710 },
711 {
712 "class-type-4":176258176.0
713 },
714 {
715 "class-type-5":176258176.0
716 },
717 {
718 "class-type-6":176258176.0
719 },
720 {
721 "class-type-7":176258176.0
722 }
723 ],
724 "delay":20000,
725 "jitter":10000
726 },
727 "segment-routing":[
728 {
729 "adj-sid":5000,
730 "flags":"0x30",
731 "weight":0
732 }
733 ]
734 }
735 ],
736 "subnets":[
737 {
738 "subnet-id":"10.0.0.1\/24",
739 "status":"Sync",
740 "origin":"ISIS_L2",
741 "advertised-router":"0000.0000.0001",
742 "vertex-id":1,
743 "metric":10
744 },
745 {
746 "subnet-id":"10.0.0.2\/24",
747 "status":"Sync",
748 "origin":"ISIS_L2",
749 "advertised-router":"0000.0000.0002",
750 "vertex-id":2,
751 "metric":10
752 },
753 {
754 "subnet-id":"10.0.1.1\/24",
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":"10.0.1.2\/24",
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":"10.0.3.2\/24",
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":"10.0.3.3\/24",
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":"10.0.4.2\/24",
787 "status":"Sync",
788 "origin":"ISIS_L2",
789 "advertised-router":"0000.0000.0002",
790 "vertex-id":2,
791 "metric":10
792 },
793 {
794 "subnet-id":"10.0.4.4\/24",
795 "status":"Sync",
796 "origin":"ISIS_L2",
797 "advertised-router":"0000.0000.0004",
798 "vertex-id":4,
799 "metric":10
800 },
801 {
802 "subnet-id":"10.0.255.1\/32",
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":"10.0.255.2\/32",
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":"10.0.255.3\/32",
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":"10.0.255.4\/32",
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":400,
834 "algo":0,
835 "flags":"0x60"
836 }
837 },
838 {
839 "subnet-id":"2001:db8::1\/64",
840 "status":"Sync",
841 "origin":"ISIS_L2",
842 "advertised-router":"0000.0000.0001",
843 "vertex-id":1,
844 "metric":10
845 },
846 {
847 "subnet-id":"2001:db8::2\/64",
848 "status":"Sync",
849 "origin":"ISIS_L2",
850 "advertised-router":"0000.0000.0002",
851 "vertex-id":2,
852 "metric":10
853 },
854 {
855 "subnet-id":"2001:db8:1::1:1\/64",
856 "status":"Sync",
857 "origin":"ISIS_L2",
858 "advertised-router":"0000.0000.0001",
859 "vertex-id":1,
860 "metric":10
861 },
862 {
863 "subnet-id":"2001:db8:1::1:2\/64",
864 "status":"Sync",
865 "origin":"ISIS_L2",
866 "advertised-router":"0000.0000.0002",
867 "vertex-id":2,
868 "metric":10
869 },
870 {
871 "subnet-id":"2001:db8:3::3:2\/64",
872 "status":"Sync",
873 "origin":"ISIS_L2",
874 "advertised-router":"0000.0000.0002",
875 "vertex-id":2,
876 "metric":10
877 },
878 {
879 "subnet-id":"2001:db8:3::3:3\/64",
880 "status":"Sync",
881 "origin":"ISIS_L2",
882 "advertised-router":"0000.0000.0003",
883 "vertex-id":3,
884 "metric":10
885 },
886 {
887 "subnet-id":"2001:db8:5::3:4\/64",
888 "status":"Sync",
889 "origin":"ISIS_L2",
890 "advertised-router":"0000.0000.0004",
891 "vertex-id":4,
892 "metric":10
893 },
894 {
895 "subnet-id":"2001:db8:5::4:3\/64",
896 "status":"Sync",
897 "origin":"ISIS_L2",
898 "advertised-router":"0000.0000.0003",
899 "vertex-id":3,
900 "metric":10
901 },
902 {
903 "subnet-id":"2001:db8:ffff::1\/128",
904 "status":"Sync",
905 "origin":"ISIS_L2",
906 "advertised-router":"0000.0000.0001",
907 "vertex-id":1,
908 "metric":10
909 },
910 {
911 "subnet-id":"2001:db8:ffff::2\/128",
912 "status":"Sync",
913 "origin":"ISIS_L2",
914 "advertised-router":"0000.0000.0002",
915 "vertex-id":2,
916 "metric":10
917 },
918 {
919 "subnet-id":"2001:db8:ffff::3\/128",
920 "status":"Sync",
921 "origin":"ISIS_L2",
922 "advertised-router":"0000.0000.0003",
923 "vertex-id":3,
924 "metric":10
925 },
926 {
927 "subnet-id":"2001:db8:ffff::4\/128",
928 "status":"Sync",
929 "origin":"ISIS_L2",
930 "advertised-router":"0000.0000.0004",
931 "vertex-id":4,
932 "metric":10,
933 "segment-routing":{
934 "pref-sid":1400,
935 "algo":0,
936 "flags":"0x60"
937 }
938 }
939 ]
940 }
941 }