]>
Commit | Line | Data |
---|---|---|
52a7c25e RW |
1 | /* |
2 | * Copyright (C) 2020 NetDEF, Inc. | |
3 | * Renato Westphal | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify it | |
6 | * under the terms of the GNU General Public License as published by the Free | |
7 | * Software Foundation; either version 2 of the License, or (at your option) | |
8 | * any later version. | |
9 | * | |
10 | * This program is distributed in the hope that it will be useful, but WITHOUT | |
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
13 | * more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License along | |
16 | * with this program; see the file COPYING; if not, write to the Free Software | |
17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
18 | */ | |
19 | ||
20 | #include <zebra.h> | |
21 | ||
22 | #include "isisd/isisd.h" | |
23 | ||
24 | #include "test_common.h" | |
25 | ||
26 | /* | |
27 | * clang-format off | |
28 | * | |
29 | * All topologies have the following properties: | |
30 | * - The System-ID is 0000.0000.000X, where X is the node number (in hex); | |
31 | * - The Router-ID is 10.0.255.X, where X is the node number; | |
32 | * - The default link metric is 10; | |
33 | * - When SR is enabled, Adj-SIDs and Prefix-SIDs are generated automatically; | |
34 | * - When SR is enabled, the default SRGB is [16000-23999] (can be overriden). | |
35 | * | |
36 | * Test topology 1: | |
37 | * ================ | |
38 | * | |
39 | * +---------+ | |
40 | * | | | |
41 | * | RT1 | | |
42 | * +----------+ +----------+ | |
43 | * | | | | | |
44 | * | +---------+ | | |
45 | * | | | |
46 | * | | | |
47 | * | | | |
48 | * +----+----+ +----+----+ | |
49 | * | | | | | |
50 | * | RT2 | | RT3 | | |
51 | * | | | | | |
52 | * | | | | | |
53 | * +----+----+ +----+----+ | |
54 | * | | | |
55 | * | | | |
56 | * | | | |
57 | * +---+-+---+ +----+----+ | |
58 | * | | | | | |
59 | * | RT4 | | RT5 | | |
60 | * | | | | | |
61 | * | | | | | |
62 | * +----+----+ +----+----+ | |
63 | * | | | |
64 | * | | | |
65 | * | | | |
66 | * | +---------+ | | |
67 | * | | | | | |
68 | * | | RT6 | | | |
69 | * +----------+ +----------+ | |
70 | * | | | |
71 | * +---------+ | |
72 | * | |
73 | * Test topology 2: | |
74 | * ================ | |
75 | * | |
76 | * +---------+ | |
77 | * | | | |
78 | * | RT1 | | |
79 | * +----------+ +----------+ | |
80 | * | | | | | |
81 | * | +----+----+ | | |
82 | * | | | | |
83 | * 15 | | | 30 | |
84 | * | | | | |
85 | * +----+----+ | +----+----+ | |
86 | * | | | | | | |
87 | * | RT2 | | | RT3 | | |
88 | * | | | | | | |
89 | * | | | | | | |
90 | * +----+----+ | +----+----+ | |
91 | * | | | | |
92 | * 40 | | | 40 | |
93 | * | | | | |
94 | * +----+----+ | +----+----+ | |
95 | * | | | | | | |
96 | * | RT4 | | | RT5 | | |
97 | * | +----------+----------+ | | |
98 | * | | | | | |
99 | * +----+----+ +----+----+ | |
100 | * | | | |
101 | * | | | |
102 | * | | | |
103 | * | +---------+ | | |
104 | * | | | | | |
105 | * | | RT6 | | | |
106 | * +----------+ +----------+ | |
107 | * | | | |
108 | * +---------+ | |
109 | * | |
110 | * Test topology 3: | |
111 | * ================ | |
112 | * | |
113 | * +---------+ | |
114 | * | | | |
115 | * | RT1 | | |
116 | * +----------+ +----------+ | |
117 | * | | | | | |
118 | * | +---------+ | | |
119 | * | | | |
120 | * | | | |
121 | * | | | |
122 | * +----+----+ +----+----+ | |
123 | * | | | | | |
124 | * | RT2 | | RT3 | | |
125 | * | +---------------------+ | | |
126 | * | | | | | |
127 | * +----+----+ +----+----+ | |
128 | * | | | |
129 | * | | 30 | |
130 | * | | | |
131 | * +----+----+ +----+----+ | |
132 | * | | | | | |
133 | * | RT4 | | RT5 | | |
134 | * | +---------------------+ | | |
135 | * | | | | | |
136 | * +----+----+ +----+----+ | |
137 | * | | | |
138 | * | | | |
139 | * | | | |
140 | * | +---------+ | | |
141 | * | | | | | |
142 | * | | RT6 | | | |
143 | * +----------+ +----------+ | |
144 | * | | | |
145 | * +---------+ | |
146 | * | |
147 | * Test topology 4: | |
148 | * ================ | |
149 | * | |
150 | * +---------+ +---------+ | |
151 | * | | | | | |
152 | * | RT1 | | RT2 | | |
153 | * | +---------------------+ | | |
154 | * | | | | | |
155 | * +---+-----+ +------+--+ | |
156 | * | | | |
157 | * | | | |
158 | * | | | |
159 | * +---+-----+ +------+--+ | |
160 | * | | | | | |
161 | * | RT3 | | RT4 | | |
162 | * | | | | | |
163 | * | | | | | |
164 | * +---+-----+ +------+--+ | |
165 | * |^ | | |
166 | * ||200 | | |
167 | * | | | |
168 | * +---+-----+ +------+--+ | |
169 | * | | | | | |
170 | * | RT5 | 50 | RT6 | | |
171 | * | +---------------------+ | | |
172 | * | | | | | |
173 | * +---+-----+ +------+--+ | |
174 | * | | | |
175 | * | | | |
176 | * | | | |
177 | * +---+-----+ +------+--+ | |
178 | * | | | | | |
179 | * | RT7 | | RT8 | | |
180 | * | | | | | |
181 | * | | | | | |
182 | * +---------+ +---------+ | |
183 | * | |
184 | * Test topology 5: | |
185 | * ================ | |
186 | * | |
187 | * +---------+ +---------+ | |
188 | * | | | | | |
189 | * | RT1 | | RT2 | | |
190 | * | +---------------------+ | | |
191 | * | | | | | |
192 | * +---+-----+ +------+--+ | |
193 | * | | | |
194 | * | | | |
195 | * | | | |
196 | * +---+-----+ +------+--+ | |
197 | * | | | | | |
198 | * | RT3 | | RT4 | | |
199 | * | | | | | |
200 | * | | | | | |
201 | * +---+-----+ +------+--+ | |
202 | * | | | |
203 | * | | | |
204 | * | | | |
205 | * +---+-----+ +------+--+ | |
206 | * | | | | | |
207 | * | RT5 | | RT6 | | |
208 | * | | | | | |
209 | * | | | | | |
210 | * +---+-----+ +------+--+ | |
211 | * | | | |
212 | * | | | |
213 | * | | | |
214 | * +---+-----+ +------+--+ | |
215 | * | | | | | |
216 | * | RT7 | | RT8 | | |
217 | * | +---------------------+ | | |
218 | * | | | | | |
219 | * +---------+ +---------+ | |
220 | * | |
221 | * Test topology 6: | |
222 | * ================ | |
223 | * | |
224 | * +---------+ +---------+ | |
225 | * | | | | | |
226 | * | RT1 | | RT2 | | |
227 | * | +---------------------+ | | |
228 | * | | | | | |
229 | * +---+-----+ +------+--+ | |
230 | * | | | |
231 | * | | | |
232 | * | | | |
233 | * +---+-----+ +------+--+ | |
234 | * | | | | | |
235 | * | RT3 | | RT4 | | |
236 | * | +---------------------+ | | |
237 | * | | | | | |
238 | * +---------+ +------+--+ | |
239 | * | | |
240 | * | | |
241 | * | | |
242 | * +---------+ +------+--+ | |
243 | * | | | | | |
244 | * | RT5 | | RT6 | | |
245 | * | +---------------------+ | | |
246 | * | | | | | |
247 | * +---+-----+ +------+--+ | |
248 | * | | | |
249 | * | | | |
250 | * | | | |
251 | * +---+-----+ +------+--+ | |
252 | * | | | | | |
253 | * | RT7 | | RT8 | | |
254 | * | +---------------------+ | | |
255 | * | | | | | |
256 | * +---------+ +---------+ | |
257 | * | |
258 | * Test topology 7: | |
259 | * ================ | |
260 | * | |
261 | * +---------+ +---------+ +---------+ | |
262 | * | | | | | | | |
263 | * | RT1 | 40 | RT2 | | RT3 | | |
264 | * | +---------------------+ +---------------------+ | | |
265 | * | | | | | | | |
266 | * +---+-----+ +----+----+ +------+--+ | |
267 | * | | | | |
268 | * | | | | |
269 | * | | | | |
270 | * +---+-----+ +----+----+ +------+--+ | |
271 | * | | | | | | | |
272 | * | RT4 | | RT5 | | RT6 | | |
273 | * | +---------------------+ +---------------------+ | | |
274 | * | | | | | | | |
275 | * +---+-----+ +----+----+ +------+--+ | |
276 | * | | | | |
277 | * | | | 30 | |
278 | * | | | | |
279 | * +---+-----+ +----+----+ +------+--+ | |
280 | * | | | | | | | |
281 | * | RT7 | | RT8 | | RT9 | | |
282 | * | +---------------------+ +---------------------+ | | |
283 | * | | | | | | | |
284 | * +---+-----+ +----+----+ +------+--+ | |
285 | * | | | | |
286 | * | 20 | | | |
287 | * | | | | |
288 | * +---+-----+ +----+----+ +------+--+ | |
289 | * | | | | | | | |
290 | * | RT10 | | RT11 | | RT12 | | |
291 | * | +---------------------+ +---------------------+ | | |
292 | * | | | | | | | |
293 | * +---------+ +---------+ +---------+ | |
294 | * | |
295 | * Test topology 8: | |
296 | * ================ | |
297 | * | |
298 | * +---------+ +---------+ +---------+ | |
299 | * | | | | | | | |
300 | * | RT1 | | RT2 | | RT3 | | |
301 | * | +---------------------+ +---------------------+ | | |
302 | * | | | | | | | |
303 | * +---+-----+ +----+----+ +------+--+ | |
304 | * | | | | |
305 | * | | | | |
306 | * | | | | |
307 | * +---+-----+ +----+----+ +------+--+ | |
308 | * | | | | | | | |
309 | * | RT4 | | RT5 | | RT6 | | |
310 | * | | | +---------------------+ | | |
311 | * | | | | | | | |
312 | * +---+-----+ +----+----+ +---------+ | |
313 | * | | | |
314 | * | | | |
315 | * | | | |
316 | * +---+-----+ +----+----+ +---------+ | |
317 | * | | | | | | | |
318 | * | RT7 | | RT8 | | RT9 | | |
319 | * | | | +---------------------+ | | |
320 | * | | | | | | | |
321 | * +---+-----+ +----+----+ +------+--+ | |
322 | * | | | | |
323 | * | | | | |
324 | * | | | | |
325 | * +---+-----+ +----+----+ +------+--+ | |
326 | * | | | | | | | |
327 | * | RT10 | | RT11 | | RT12 | | |
328 | * | +---------------------+ +---------------------+ | | |
329 | * | | 30 | | | | | |
330 | * +---------+ +---------+ +---------+ | |
331 | * | |
332 | * Test topology 9: | |
333 | * ================ | |
334 | * | |
335 | * +---------+ | |
336 | * | | | |
337 | * | RT1 | | |
338 | * +----------+ +----------+ | |
339 | * | | | | | |
340 | * | +---------+ | | |
341 | * | | | |
342 | * | | | |
343 | * | | | |
344 | * +----+----+ +----+----+ | |
345 | * | | | | | |
346 | * | RT2 | | RT3 | | |
347 | * | | | | | |
348 | * | | | | | |
349 | * +----+----+ +------+--+ | |
350 | * | | | |
351 | * | | | |
352 | * | |100 | |
353 | * | +---------+ | | |
354 | * | | | | | |
355 | * +----------+ RT4 +------------+ | |
356 | * +----------------| |----------------+ | |
357 | * | +-+ +--+ | | |
358 | * | | +---------+ | | | |
359 | * | | | | | |
360 | * | |30 |30 |30 | |
361 | * | | | | | |
362 | * +----+----+ +----+----+ +----+----+ +----+----+ | |
363 | * | | | | | | | | | |
364 | * | RT5 | | RT6 | | RT7 | | RT8 | | |
365 | * | | | | | | | | | |
366 | * | | | | | | | | | |
367 | * +----+----+ +----+----+ +----+----+ +----+----+ | |
368 | * | | | | | |
369 | * | | | | | |
370 | * | | | | | |
371 | * | | +---------+ | | | |
372 | * | +-+ +--+ | | |
373 | * +----------------+ RT9 +----------------+ | |
374 | * | | | |
375 | * | | | |
376 | * +---------+ | |
377 | * | |
378 | * Test topology 10: | |
379 | * ================ | |
380 | * | |
381 | * +---------+ | |
382 | * | | | |
383 | * | RT1 | | |
384 | * +----------+ +----------+ | |
385 | * | | | | | |
386 | * | +----+----+ | | |
387 | * | | | | |
388 | * | |20 |20 | |
389 | * | | | | |
390 | * +----+----+ +----+----+ +----+----+ | |
391 | * | | | | | | | |
392 | * | RT2 | | RT3 | | RT4 | | |
393 | * | | | | | | | |
394 | * | | | | | | | |
395 | * +----+----+ +----+----+ +----+----+ | |
396 | * | | | | |
397 | * | | | | |
398 | * | | | | |
399 | * +----+----+ +----+----+ +----+----+ | |
400 | * | | | | | | | |
401 | * | RT5 | | RT6 | | RT7 | | |
402 | * | | | | | | | |
403 | * | | | | | | | |
404 | * +----+----+ +----+----+ +----+----+ | |
405 | * | | | | |
406 | * | |50 |50 | |
407 | * | | | | |
408 | * | +----+----+ | | |
409 | * | | | | | |
410 | * +----------+ RT8 +----------+ | |
411 | * | | | |
412 | * | | | |
413 | * +---------+ | |
414 | * | |
415 | * Test topology 11: | |
416 | * ================ | |
417 | * | |
418 | * +---------+ | |
419 | * | | | |
420 | * | RT1 | | |
421 | * | | | |
422 | * | | | |
423 | * +----+----+ | |
424 | * | | |
425 | * | | |
426 | * | | |
427 | * +---------+ | +---------+ | |
428 | * | | | | | | |
429 | * | RT2 |50 | | RT3 | | |
430 | * | +----------+----------+ | | |
431 | * | | | | | |
432 | * +----+----+ +----+----+ | |
433 | * | | | |
434 | * | | | |
435 | * | | | |
436 | * +----+----+ +----+----+ | |
437 | * | | | | | |
438 | * | RT4 | | RT5 | | |
439 | * | +---------------------+ | | |
440 | * | | | | | |
441 | * +----+----+ +----+----+ | |
442 | * | | | |
443 | * | | | |
444 | * | | | |
445 | * | +---------+ | | |
446 | * | | | | | |
447 | * | | RT6 | | | |
448 | * +----------+ +----------+ | |
449 | * | | | |
450 | * +---------+ | |
451 | * | |
452 | * Test topology 12: | |
453 | * ================ | |
454 | * | |
455 | * +---------+ +---------+ | |
456 | * | | | | | |
457 | * | RT1 | | RT2 | | |
458 | * | +---------------------+ | | |
459 | * | | | | | |
460 | * +---+-----+ +------+--+ | |
461 | * | | | |
462 | * | | | |
463 | * | | | |
464 | * +---+-----+ +------+--+ | |
465 | * | | | | | |
466 | * | RT3 | | RT4 | | |
467 | * | | | | | |
468 | * | | | | | |
469 | * +---+-----+ +------+--+ | |
470 | * |^ | | |
471 | * |400 | | |
472 | * | | | |
473 | * +---+-----+ +------+--+ | |
474 | * | | | | | |
475 | * | RT5 | | RT6 | | |
476 | * | | | | | |
477 | * | | | | | |
478 | * +---+-----+ +------+--+ | |
479 | * |^ | | |
480 | * |200 | | |
481 | * | | | |
482 | * +---+-----+ +------+--+ | |
483 | * | | | | | |
484 | * | RT7 | | RT8 | | |
485 | * | +---------------------+ | | |
486 | * | | 100 | | | |
487 | * +---+-----+ +------+--+ | |
488 | * | | | |
489 | * | | | |
490 | * | | | |
491 | * +---+-----+ +------+--+ | |
492 | * | | | | | |
493 | * | RT9 | | RT10 | | |
494 | * | | | | | |
495 | * | | | | | |
496 | * +---------+ +---------+ | |
497 | * | |
498 | * Test topology 13: | |
499 | * ================ | |
500 | * | |
501 | * +---------+ +---------+ | |
502 | * | | | | | |
503 | * | RT1 | | RT2 | | |
504 | * | +---------------------+ | | |
505 | * | | | | | |
506 | * +---+-----+ +----+----+ | |
507 | * | | | |
508 | * | | | |
509 | * | | | |
510 | * | +----+----+ | |
511 | * | | | | |
512 | * | +----------+ RT4 | | |
513 | * | | | | | |
514 | * +---+-----+ | | | | |
515 | * | | | +----+----+ | |
516 | * | RT3 +----------+ | | |
517 | * | +----------+ |100 | |
518 | * | | | | | |
519 | * +---+-----+ | +----+----+ | |
520 | * | | | | | |
521 | * | | | RT5 | | |
522 | * | +----------+ | | |
523 | * | | | | |
524 | * | +----+----+ | |
525 | * | | | |
526 | * | | | |
527 | * | | | |
528 | * +---+-----+ +----+----+ | |
529 | * | | | | | |
530 | * | RT6 | | RT7 | | |
531 | * | +---------------------+ | | |
532 | * | | | | | |
533 | * +---------+ +---------+ | |
c8a4f331 RW |
534 | |
535 | * Test topology 14: | |
536 | * ================= | |
537 | * | |
538 | * +---------+ +---------+ | |
539 | * | | | | | |
540 | * | RT1 | | RT2 | | |
541 | * | +--------------+ | | |
542 | * | | | | | |
543 | * +----+----+ +----+----+ | |
544 | * | | | |
545 | * | | | |
546 | * | | | |
547 | * | +----+----+ | |
548 | * | | | | |
549 | * | | RT3 | | |
550 | * +-------------------+ | | |
551 | * | | | | |
552 | * | +----+----+ | |
553 | * | | | |
554 | * | |50 | |
555 | * | | | |
556 | * +----+----+ +----+----+ | |
557 | * | | | | | |
558 | * | RT4 | | RT5 | | |
559 | * | +--------------+ | | |
560 | * | | | | | |
561 | * +---------+ +---------+ | |
52a7c25e RW |
562 | */ |
563 | ||
564 | struct isis_topology test_topologies[] = { | |
565 | { | |
566 | .number = 1, | |
567 | .nodes = { | |
568 | { | |
569 | .hostname = "rt1", | |
570 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
571 | .level = IS_LEVEL_1, | |
572 | .router_id = "10.0.255.1", | |
573 | .protocols = { | |
574 | .ipv4 = true, | |
575 | .ipv6 = true, | |
576 | }, | |
577 | .networks = { | |
578 | "10.0.255.1/32", | |
579 | "2001:db8::1/128", | |
580 | }, | |
581 | .adjacencies = { | |
582 | { | |
583 | .hostname = "rt2", | |
584 | .metric = 10, | |
585 | }, | |
586 | { | |
587 | .hostname = "rt3", | |
588 | .metric = 10, | |
589 | }, | |
590 | }, | |
591 | .flags = F_ISIS_TEST_NODE_SR, | |
592 | }, | |
593 | { | |
594 | .hostname = "rt2", | |
595 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
596 | .level = IS_LEVEL_1, | |
597 | .router_id = "10.0.255.2", | |
598 | .protocols = { | |
599 | .ipv4 = true, | |
600 | .ipv6 = true, | |
601 | }, | |
602 | .networks = { | |
603 | "10.0.255.2/32", | |
604 | "2001:db8::2/128", | |
605 | }, | |
606 | .adjacencies = { | |
607 | { | |
608 | .hostname = "rt1", | |
609 | .metric = 10, | |
610 | }, | |
611 | { | |
612 | .hostname = "rt4", | |
613 | .metric = 10, | |
614 | }, | |
615 | }, | |
616 | .flags = F_ISIS_TEST_NODE_SR, | |
617 | }, | |
618 | { | |
619 | .hostname = "rt3", | |
620 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
621 | .level = IS_LEVEL_1, | |
622 | .router_id = "10.0.255.3", | |
623 | .protocols = { | |
624 | .ipv4 = true, | |
625 | .ipv6 = true, | |
626 | }, | |
627 | .networks = { | |
628 | "10.0.255.3/32", | |
629 | "2001:db8::3/128", | |
630 | }, | |
631 | .adjacencies = { | |
632 | { | |
633 | .hostname = "rt1", | |
634 | .metric = 10, | |
635 | }, | |
636 | { | |
637 | .hostname = "rt5", | |
638 | .metric = 10, | |
639 | }, | |
640 | }, | |
641 | .flags = F_ISIS_TEST_NODE_SR, | |
642 | }, | |
643 | { | |
644 | .hostname = "rt4", | |
645 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
646 | .level = IS_LEVEL_1, | |
647 | .router_id = "10.0.255.4", | |
648 | .protocols = { | |
649 | .ipv4 = true, | |
650 | .ipv6 = true, | |
651 | }, | |
652 | .networks = { | |
653 | "10.0.255.4/32", | |
654 | "2001:db8::4/128", | |
655 | }, | |
656 | .adjacencies = { | |
657 | { | |
658 | .hostname = "rt2", | |
659 | .metric = 10, | |
660 | }, | |
661 | { | |
662 | .hostname = "rt6", | |
663 | .metric = 10, | |
664 | }, | |
665 | }, | |
666 | .flags = F_ISIS_TEST_NODE_SR, | |
667 | }, | |
668 | { | |
669 | .hostname = "rt5", | |
670 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
671 | .level = IS_LEVEL_1, | |
672 | .router_id = "10.0.255.5", | |
673 | .protocols = { | |
674 | .ipv4 = true, | |
675 | .ipv6 = true, | |
676 | }, | |
677 | .networks = { | |
678 | "10.0.255.5/32", | |
679 | "2001:db8::5/128", | |
680 | }, | |
681 | .adjacencies = { | |
682 | { | |
683 | .hostname = "rt3", | |
684 | .metric = 10, | |
685 | }, | |
686 | { | |
687 | .hostname = "rt6", | |
688 | .metric = 10, | |
689 | }, | |
690 | }, | |
691 | .flags = F_ISIS_TEST_NODE_SR, | |
692 | }, | |
693 | { | |
694 | .hostname = "rt6", | |
695 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
696 | .level = IS_LEVEL_1, | |
697 | .router_id = "10.0.255.6", | |
698 | .protocols = { | |
699 | .ipv4 = true, | |
700 | .ipv6 = true, | |
701 | }, | |
702 | .networks = { | |
703 | "10.0.255.6/32", | |
704 | "2001:db8::6/128", | |
705 | }, | |
706 | .adjacencies = { | |
707 | { | |
708 | .hostname = "rt4", | |
709 | .metric = 10, | |
710 | }, | |
711 | { | |
712 | .hostname = "rt5", | |
713 | .metric = 10, | |
714 | }, | |
715 | }, | |
716 | .flags = F_ISIS_TEST_NODE_SR, | |
717 | }, | |
718 | }, | |
719 | }, | |
720 | { | |
721 | .number = 2, | |
722 | .nodes = { | |
723 | { | |
724 | .hostname = "rt1", | |
725 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
726 | .level = IS_LEVEL_1, | |
727 | .router_id = "10.0.255.1", | |
728 | .protocols = { | |
729 | .ipv4 = true, | |
730 | .ipv6 = true, | |
731 | }, | |
732 | .networks = { | |
733 | "10.0.255.1/32", | |
734 | "2001:db8::1/128", | |
735 | }, | |
736 | .adjacencies = { | |
737 | { | |
738 | .hostname = "rt1", | |
739 | .pseudonode_id = 1, | |
740 | .metric = 10, | |
741 | }, | |
742 | { | |
743 | .hostname = "rt2", | |
744 | .metric = 15, | |
745 | }, | |
746 | { | |
747 | .hostname = "rt3", | |
748 | .metric = 30, | |
749 | }, | |
750 | }, | |
751 | .flags = F_ISIS_TEST_NODE_SR, | |
752 | }, | |
753 | { | |
754 | .hostname = "rt2", | |
755 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
756 | .level = IS_LEVEL_1, | |
757 | .router_id = "10.0.255.2", | |
758 | .protocols = { | |
759 | .ipv4 = true, | |
760 | .ipv6 = true, | |
761 | }, | |
762 | .networks = { | |
763 | "10.0.255.2/32", | |
764 | "2001:db8::2/128", | |
765 | }, | |
766 | .adjacencies = { | |
767 | { | |
768 | .hostname = "rt1", | |
769 | .metric = 15, | |
770 | }, | |
771 | { | |
772 | .hostname = "rt4", | |
773 | .metric = 40, | |
774 | }, | |
775 | }, | |
776 | .flags = F_ISIS_TEST_NODE_SR, | |
777 | }, | |
778 | { | |
779 | .hostname = "rt3", | |
780 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
781 | .level = IS_LEVEL_1, | |
782 | .router_id = "10.0.255.3", | |
783 | .protocols = { | |
784 | .ipv4 = true, | |
785 | .ipv6 = true, | |
786 | }, | |
787 | .networks = { | |
788 | "10.0.255.3/32", | |
789 | "2001:db8::3/128", | |
790 | }, | |
791 | .adjacencies = { | |
792 | { | |
793 | .hostname = "rt1", | |
794 | .metric = 30, | |
795 | }, | |
796 | { | |
797 | .hostname = "rt5", | |
798 | .metric = 40, | |
799 | }, | |
800 | }, | |
801 | .flags = F_ISIS_TEST_NODE_SR, | |
802 | }, | |
803 | { | |
804 | .hostname = "rt4", | |
805 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
806 | .level = IS_LEVEL_1, | |
807 | .router_id = "10.0.255.4", | |
808 | .protocols = { | |
809 | .ipv4 = true, | |
810 | .ipv6 = true, | |
811 | }, | |
812 | .networks = { | |
813 | "10.0.255.4/32", | |
814 | "2001:db8::4/128", | |
815 | }, | |
816 | .adjacencies = { | |
817 | { | |
818 | .hostname = "rt1", | |
819 | .pseudonode_id = 1, | |
820 | .metric = 10, | |
821 | }, | |
822 | { | |
823 | .hostname = "rt2", | |
824 | .metric = 40, | |
825 | }, | |
826 | { | |
827 | .hostname = "rt6", | |
828 | .metric = 10, | |
829 | }, | |
830 | }, | |
831 | .flags = F_ISIS_TEST_NODE_SR, | |
832 | }, | |
833 | { | |
834 | .hostname = "rt5", | |
835 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
836 | .level = IS_LEVEL_1, | |
837 | .router_id = "10.0.255.5", | |
838 | .protocols = { | |
839 | .ipv4 = true, | |
840 | .ipv6 = true, | |
841 | }, | |
842 | .networks = { | |
843 | "10.0.255.5/32", | |
844 | "2001:db8::5/128", | |
845 | }, | |
846 | .adjacencies = { | |
847 | { | |
848 | .hostname = "rt1", | |
849 | .pseudonode_id = 1, | |
850 | .metric = 10, | |
851 | }, | |
852 | { | |
853 | .hostname = "rt3", | |
854 | .metric = 40, | |
855 | }, | |
856 | { | |
857 | .hostname = "rt6", | |
858 | .metric = 10, | |
859 | }, | |
860 | }, | |
861 | .flags = F_ISIS_TEST_NODE_SR, | |
862 | }, | |
863 | { | |
864 | .hostname = "rt6", | |
865 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
866 | .level = IS_LEVEL_1, | |
867 | .router_id = "10.0.255.6", | |
868 | .protocols = { | |
869 | .ipv4 = true, | |
870 | .ipv6 = true, | |
871 | }, | |
872 | .networks = { | |
873 | "10.0.255.6/32", | |
874 | "2001:db8::6/128", | |
875 | }, | |
876 | .adjacencies = { | |
877 | { | |
878 | .hostname = "rt4", | |
879 | .metric = 10, | |
880 | }, | |
881 | { | |
882 | .hostname = "rt5", | |
883 | .metric = 10, | |
884 | }, | |
885 | }, | |
886 | .flags = F_ISIS_TEST_NODE_SR, | |
887 | }, | |
888 | { | |
889 | .hostname = "rt1", | |
890 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
891 | .pseudonode_id = 1, | |
892 | .level = IS_LEVEL_1, | |
893 | .adjacencies = { | |
894 | { | |
895 | .hostname = "rt1", | |
896 | .metric = 0, | |
897 | }, | |
898 | { | |
899 | .hostname = "rt4", | |
900 | .metric = 0, | |
901 | }, | |
902 | { | |
903 | .hostname = "rt5", | |
904 | .metric = 0, | |
905 | }, | |
906 | }, | |
907 | }, | |
908 | }, | |
909 | }, | |
910 | { | |
911 | .number = 3, | |
912 | .nodes = { | |
913 | { | |
914 | .hostname = "rt1", | |
915 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
916 | .level = IS_LEVEL_1, | |
917 | .router_id = "10.0.255.1", | |
918 | .protocols = { | |
919 | .ipv4 = true, | |
920 | }, | |
921 | .networks = { | |
922 | "10.0.255.1/32", | |
923 | }, | |
924 | .adjacencies = { | |
925 | { | |
926 | .hostname = "rt2", | |
927 | .metric = 10, | |
928 | }, | |
929 | { | |
930 | .hostname = "rt3", | |
931 | .metric = 10, | |
932 | }, | |
933 | }, | |
934 | .flags = F_ISIS_TEST_NODE_SR, | |
935 | }, | |
936 | { | |
937 | .hostname = "rt2", | |
938 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
939 | .level = IS_LEVEL_1, | |
940 | .router_id = "10.0.255.2", | |
941 | .protocols = { | |
942 | .ipv4 = true, | |
943 | }, | |
944 | .networks = { | |
945 | "10.0.255.2/32", | |
946 | }, | |
947 | .adjacencies = { | |
948 | { | |
949 | .hostname = "rt1", | |
950 | .metric = 10, | |
951 | }, | |
952 | { | |
953 | .hostname = "rt3", | |
954 | .metric = 10, | |
955 | }, | |
956 | { | |
957 | .hostname = "rt4", | |
958 | .metric = 10, | |
959 | }, | |
960 | }, | |
961 | .flags = F_ISIS_TEST_NODE_SR, | |
962 | }, | |
963 | { | |
964 | .hostname = "rt3", | |
965 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
966 | .level = IS_LEVEL_1, | |
967 | .router_id = "10.0.255.3", | |
968 | .protocols = { | |
969 | .ipv4 = true, | |
970 | }, | |
971 | .networks = { | |
972 | "10.0.255.3/32", | |
973 | }, | |
974 | .adjacencies = { | |
975 | { | |
976 | .hostname = "rt1", | |
977 | .metric = 10, | |
978 | }, | |
979 | { | |
980 | .hostname = "rt2", | |
981 | .metric = 10, | |
982 | }, | |
983 | { | |
984 | .hostname = "rt5", | |
985 | .metric = 30, | |
986 | }, | |
987 | }, | |
988 | .flags = F_ISIS_TEST_NODE_SR, | |
989 | }, | |
990 | { | |
991 | .hostname = "rt4", | |
992 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
993 | .level = IS_LEVEL_1, | |
994 | .router_id = "10.0.255.4", | |
995 | .protocols = { | |
996 | .ipv4 = true, | |
997 | }, | |
998 | .networks = { | |
999 | "10.0.255.4/32", | |
1000 | }, | |
1001 | .adjacencies = { | |
1002 | { | |
1003 | .hostname = "rt2", | |
1004 | .metric = 10, | |
1005 | }, | |
1006 | { | |
1007 | .hostname = "rt5", | |
1008 | .metric = 10, | |
1009 | }, | |
1010 | { | |
1011 | .hostname = "rt6", | |
1012 | .metric = 10, | |
1013 | }, | |
1014 | }, | |
1015 | .flags = F_ISIS_TEST_NODE_SR, | |
1016 | }, | |
1017 | { | |
1018 | .hostname = "rt5", | |
1019 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
1020 | .level = IS_LEVEL_1, | |
1021 | .router_id = "10.0.255.5", | |
1022 | .protocols = { | |
1023 | .ipv4 = true, | |
1024 | }, | |
1025 | .networks = { | |
1026 | "10.0.255.5/32", | |
1027 | }, | |
1028 | .adjacencies = { | |
1029 | { | |
1030 | .hostname = "rt3", | |
1031 | .metric = 30, | |
1032 | }, | |
1033 | { | |
1034 | .hostname = "rt4", | |
1035 | .metric = 10, | |
1036 | }, | |
1037 | { | |
1038 | .hostname = "rt6", | |
1039 | .metric = 10, | |
1040 | }, | |
1041 | }, | |
1042 | .flags = F_ISIS_TEST_NODE_SR, | |
1043 | }, | |
1044 | { | |
1045 | .hostname = "rt6", | |
1046 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
1047 | .level = IS_LEVEL_1, | |
1048 | .router_id = "10.0.255.6", | |
1049 | .protocols = { | |
1050 | .ipv4 = true, | |
1051 | }, | |
1052 | .networks = { | |
1053 | "10.0.255.6/32", | |
1054 | }, | |
1055 | .adjacencies = { | |
1056 | { | |
1057 | .hostname = "rt4", | |
1058 | .metric = 10, | |
1059 | }, | |
1060 | { | |
1061 | .hostname = "rt5", | |
1062 | .metric = 10, | |
1063 | }, | |
1064 | }, | |
1065 | .flags = F_ISIS_TEST_NODE_SR, | |
1066 | }, | |
1067 | }, | |
1068 | }, | |
1069 | { | |
1070 | .number = 4, | |
1071 | .nodes = { | |
1072 | { | |
1073 | .hostname = "rt1", | |
1074 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
1075 | .level = IS_LEVEL_1, | |
1076 | .router_id = "10.0.255.1", | |
1077 | .protocols = { | |
1078 | .ipv4 = true, | |
1079 | }, | |
1080 | .networks = { | |
1081 | "10.0.255.1/32", | |
1082 | }, | |
1083 | .adjacencies = { | |
1084 | { | |
1085 | .hostname = "rt2", | |
1086 | .metric = 10, | |
1087 | }, | |
1088 | { | |
1089 | .hostname = "rt3", | |
1090 | .metric = 10, | |
1091 | }, | |
1092 | }, | |
1093 | .flags = F_ISIS_TEST_NODE_SR, | |
1094 | }, | |
1095 | { | |
1096 | .hostname = "rt2", | |
1097 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
1098 | .level = IS_LEVEL_1, | |
1099 | .router_id = "10.0.255.2", | |
1100 | .protocols = { | |
1101 | .ipv4 = true, | |
1102 | }, | |
1103 | .networks = { | |
1104 | "10.0.255.2/32", | |
1105 | }, | |
1106 | .adjacencies = { | |
1107 | { | |
1108 | .hostname = "rt1", | |
1109 | .metric = 10, | |
1110 | }, | |
1111 | { | |
1112 | .hostname = "rt4", | |
1113 | .metric = 10, | |
1114 | }, | |
1115 | }, | |
1116 | .flags = F_ISIS_TEST_NODE_SR, | |
1117 | }, | |
1118 | { | |
1119 | .hostname = "rt3", | |
1120 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
1121 | .level = IS_LEVEL_1, | |
1122 | .router_id = "10.0.255.3", | |
1123 | .protocols = { | |
1124 | .ipv4 = true, | |
1125 | }, | |
1126 | .networks = { | |
1127 | "10.0.255.3/32", | |
1128 | }, | |
1129 | .adjacencies = { | |
1130 | { | |
1131 | .hostname = "rt1", | |
1132 | .metric = 10, | |
1133 | }, | |
1134 | { | |
1135 | .hostname = "rt5", | |
1136 | .metric = 10, | |
1137 | }, | |
1138 | }, | |
1139 | .flags = F_ISIS_TEST_NODE_SR, | |
1140 | }, | |
1141 | { | |
1142 | .hostname = "rt4", | |
1143 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
1144 | .level = IS_LEVEL_1, | |
1145 | .router_id = "10.0.255.4", | |
1146 | .protocols = { | |
1147 | .ipv4 = true, | |
1148 | }, | |
1149 | .networks = { | |
1150 | "10.0.255.4/32", | |
1151 | }, | |
1152 | .adjacencies = { | |
1153 | { | |
1154 | .hostname = "rt2", | |
1155 | .metric = 10, | |
1156 | }, | |
1157 | { | |
1158 | .hostname = "rt6", | |
1159 | .metric = 10, | |
1160 | }, | |
1161 | }, | |
1162 | .flags = F_ISIS_TEST_NODE_SR, | |
1163 | }, | |
1164 | { | |
1165 | .hostname = "rt5", | |
1166 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
1167 | .level = IS_LEVEL_1, | |
1168 | .router_id = "10.0.255.5", | |
1169 | .protocols = { | |
1170 | .ipv4 = true, | |
1171 | }, | |
1172 | .networks = { | |
1173 | "10.0.255.5/32", | |
1174 | }, | |
1175 | .adjacencies = { | |
1176 | { | |
1177 | .hostname = "rt3", | |
1178 | .metric = 200, | |
1179 | }, | |
1180 | { | |
1181 | .hostname = "rt6", | |
1182 | .metric = 50, | |
1183 | }, | |
1184 | { | |
1185 | .hostname = "rt7", | |
1186 | .metric = 10, | |
1187 | }, | |
1188 | }, | |
1189 | .flags = F_ISIS_TEST_NODE_SR, | |
1190 | }, | |
1191 | { | |
1192 | .hostname = "rt6", | |
1193 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
1194 | .level = IS_LEVEL_1, | |
1195 | .router_id = "10.0.255.6", | |
1196 | .protocols = { | |
1197 | .ipv4 = true, | |
1198 | }, | |
1199 | .networks = { | |
1200 | "10.0.255.6/32", | |
1201 | }, | |
1202 | .adjacencies = { | |
1203 | { | |
1204 | .hostname = "rt4", | |
1205 | .metric = 10, | |
1206 | }, | |
1207 | { | |
1208 | .hostname = "rt5", | |
1209 | .metric = 50, | |
1210 | }, | |
1211 | { | |
1212 | .hostname = "rt8", | |
1213 | .metric = 10, | |
1214 | }, | |
1215 | }, | |
1216 | .flags = F_ISIS_TEST_NODE_SR, | |
1217 | }, | |
1218 | { | |
1219 | .hostname = "rt7", | |
1220 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
1221 | .level = IS_LEVEL_1, | |
1222 | .router_id = "10.0.255.7", | |
1223 | .protocols = { | |
1224 | .ipv4 = true, | |
1225 | }, | |
1226 | .networks = { | |
1227 | "10.0.255.7/32", | |
1228 | }, | |
1229 | .adjacencies = { | |
1230 | { | |
1231 | .hostname = "rt5", | |
1232 | .metric = 10, | |
1233 | }, | |
1234 | }, | |
1235 | .flags = F_ISIS_TEST_NODE_SR, | |
1236 | }, | |
1237 | { | |
1238 | .hostname = "rt8", | |
1239 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x08}, | |
1240 | .level = IS_LEVEL_1, | |
1241 | .router_id = "10.0.255.8", | |
1242 | .protocols = { | |
1243 | .ipv4 = true, | |
1244 | }, | |
1245 | .networks = { | |
1246 | "10.0.255.8/32", | |
1247 | }, | |
1248 | .adjacencies = { | |
1249 | { | |
1250 | .hostname = "rt6", | |
1251 | .metric = 10, | |
1252 | }, | |
1253 | }, | |
1254 | .flags = F_ISIS_TEST_NODE_SR, | |
1255 | }, | |
1256 | }, | |
1257 | }, | |
1258 | { | |
1259 | .number = 5, | |
1260 | .nodes = { | |
1261 | { | |
1262 | .hostname = "rt1", | |
1263 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
1264 | .level = IS_LEVEL_1, | |
1265 | .router_id = "10.0.255.1", | |
1266 | .protocols = { | |
1267 | .ipv4 = true, | |
1268 | }, | |
1269 | .networks = { | |
1270 | "10.0.255.1/32", | |
1271 | }, | |
1272 | .adjacencies = { | |
1273 | { | |
1274 | .hostname = "rt2", | |
1275 | .metric = 10, | |
1276 | }, | |
1277 | { | |
1278 | .hostname = "rt3", | |
1279 | .metric = 10, | |
1280 | }, | |
1281 | }, | |
1282 | .flags = F_ISIS_TEST_NODE_SR, | |
1283 | }, | |
1284 | { | |
1285 | .hostname = "rt2", | |
1286 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
1287 | .level = IS_LEVEL_1, | |
1288 | .router_id = "10.0.255.2", | |
1289 | .protocols = { | |
1290 | .ipv4 = true, | |
1291 | }, | |
1292 | .networks = { | |
1293 | "10.0.255.2/32", | |
1294 | }, | |
1295 | .adjacencies = { | |
1296 | { | |
1297 | .hostname = "rt1", | |
1298 | .metric = 10, | |
1299 | }, | |
1300 | { | |
1301 | .hostname = "rt4", | |
1302 | .metric = 10, | |
1303 | }, | |
1304 | }, | |
1305 | .flags = F_ISIS_TEST_NODE_SR, | |
1306 | }, | |
1307 | { | |
1308 | .hostname = "rt3", | |
1309 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
1310 | .level = IS_LEVEL_1, | |
1311 | .router_id = "10.0.255.3", | |
1312 | .protocols = { | |
1313 | .ipv4 = true, | |
1314 | }, | |
1315 | .networks = { | |
1316 | "10.0.255.3/32", | |
1317 | }, | |
1318 | .adjacencies = { | |
1319 | { | |
1320 | .hostname = "rt1", | |
1321 | .metric = 10, | |
1322 | }, | |
1323 | { | |
1324 | .hostname = "rt5", | |
1325 | .metric = 10, | |
1326 | }, | |
1327 | }, | |
1328 | .flags = F_ISIS_TEST_NODE_SR, | |
1329 | }, | |
1330 | { | |
1331 | .hostname = "rt4", | |
1332 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
1333 | .level = IS_LEVEL_1, | |
1334 | .router_id = "10.0.255.4", | |
1335 | .protocols = { | |
1336 | .ipv4 = true, | |
1337 | }, | |
1338 | .networks = { | |
1339 | "10.0.255.4/32", | |
1340 | }, | |
1341 | .adjacencies = { | |
1342 | { | |
1343 | .hostname = "rt2", | |
1344 | .metric = 10, | |
1345 | }, | |
1346 | { | |
1347 | .hostname = "rt6", | |
1348 | .metric = 10, | |
1349 | }, | |
1350 | }, | |
1351 | .flags = F_ISIS_TEST_NODE_SR, | |
1352 | }, | |
1353 | { | |
1354 | .hostname = "rt5", | |
1355 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
1356 | .level = IS_LEVEL_1, | |
1357 | .router_id = "10.0.255.5", | |
1358 | .protocols = { | |
1359 | .ipv4 = true, | |
1360 | }, | |
1361 | .networks = { | |
1362 | "10.0.255.5/32", | |
1363 | }, | |
1364 | .adjacencies = { | |
1365 | { | |
1366 | .hostname = "rt3", | |
1367 | .metric = 10, | |
1368 | }, | |
1369 | { | |
1370 | .hostname = "rt7", | |
1371 | .metric = 10, | |
1372 | }, | |
1373 | }, | |
1374 | .flags = F_ISIS_TEST_NODE_SR, | |
1375 | }, | |
1376 | { | |
1377 | .hostname = "rt6", | |
1378 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
1379 | .level = IS_LEVEL_1, | |
1380 | .router_id = "10.0.255.6", | |
1381 | .protocols = { | |
1382 | .ipv4 = true, | |
1383 | }, | |
1384 | .networks = { | |
1385 | "10.0.255.6/32", | |
1386 | }, | |
1387 | .adjacencies = { | |
1388 | { | |
1389 | .hostname = "rt4", | |
1390 | .metric = 10, | |
1391 | }, | |
1392 | { | |
1393 | .hostname = "rt8", | |
1394 | .metric = 10, | |
1395 | }, | |
1396 | }, | |
1397 | .flags = F_ISIS_TEST_NODE_SR, | |
1398 | }, | |
1399 | { | |
1400 | .hostname = "rt7", | |
1401 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
1402 | .level = IS_LEVEL_1, | |
1403 | .router_id = "10.0.255.7", | |
1404 | .protocols = { | |
1405 | .ipv4 = true, | |
1406 | }, | |
1407 | .networks = { | |
1408 | "10.0.255.7/32", | |
1409 | }, | |
1410 | .adjacencies = { | |
1411 | { | |
1412 | .hostname = "rt5", | |
1413 | .metric = 10, | |
1414 | }, | |
1415 | { | |
1416 | .hostname = "rt8", | |
1417 | .metric = 10, | |
1418 | }, | |
1419 | }, | |
1420 | .flags = F_ISIS_TEST_NODE_SR, | |
1421 | }, | |
1422 | { | |
1423 | .hostname = "rt8", | |
1424 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x08}, | |
1425 | .level = IS_LEVEL_1, | |
1426 | .router_id = "10.0.255.8", | |
1427 | .protocols = { | |
1428 | .ipv4 = true, | |
1429 | }, | |
1430 | .networks = { | |
1431 | "10.0.255.8/32", | |
1432 | }, | |
1433 | .adjacencies = { | |
1434 | { | |
1435 | .hostname = "rt6", | |
1436 | .metric = 10, | |
1437 | }, | |
1438 | { | |
1439 | .hostname = "rt7", | |
1440 | .metric = 10, | |
1441 | }, | |
1442 | }, | |
1443 | .flags = F_ISIS_TEST_NODE_SR, | |
1444 | }, | |
1445 | }, | |
1446 | }, | |
1447 | { | |
1448 | .number = 6, | |
1449 | .nodes = { | |
1450 | { | |
1451 | .hostname = "rt1", | |
1452 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
1453 | .level = IS_LEVEL_1, | |
1454 | .router_id = "10.0.255.1", | |
1455 | .protocols = { | |
1456 | .ipv4 = true, | |
1457 | }, | |
1458 | .networks = { | |
1459 | "10.0.255.1/32", | |
1460 | }, | |
1461 | .adjacencies = { | |
1462 | { | |
1463 | .hostname = "rt2", | |
1464 | .metric = 10, | |
1465 | }, | |
1466 | { | |
1467 | .hostname = "rt3", | |
1468 | .metric = 10, | |
1469 | }, | |
1470 | }, | |
1471 | .flags = F_ISIS_TEST_NODE_SR, | |
1472 | }, | |
1473 | { | |
1474 | .hostname = "rt2", | |
1475 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
1476 | .level = IS_LEVEL_1, | |
1477 | .router_id = "10.0.255.2", | |
1478 | .protocols = { | |
1479 | .ipv4 = true, | |
1480 | }, | |
1481 | .networks = { | |
1482 | "10.0.255.2/32", | |
1483 | }, | |
1484 | .adjacencies = { | |
1485 | { | |
1486 | .hostname = "rt1", | |
1487 | .metric = 10, | |
1488 | }, | |
1489 | { | |
1490 | .hostname = "rt4", | |
1491 | .metric = 10, | |
1492 | }, | |
1493 | }, | |
1494 | .flags = F_ISIS_TEST_NODE_SR, | |
1495 | }, | |
1496 | { | |
1497 | .hostname = "rt3", | |
1498 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
1499 | .level = IS_LEVEL_1, | |
1500 | .router_id = "10.0.255.3", | |
1501 | .protocols = { | |
1502 | .ipv4 = true, | |
1503 | }, | |
1504 | .networks = { | |
1505 | "10.0.255.3/32", | |
1506 | }, | |
1507 | .adjacencies = { | |
1508 | { | |
1509 | .hostname = "rt1", | |
1510 | .metric = 10, | |
1511 | }, | |
1512 | { | |
1513 | .hostname = "rt4", | |
1514 | .metric = 10, | |
1515 | }, | |
1516 | }, | |
1517 | .flags = F_ISIS_TEST_NODE_SR, | |
1518 | }, | |
1519 | { | |
1520 | .hostname = "rt4", | |
1521 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
1522 | .level = IS_LEVEL_1, | |
1523 | .router_id = "10.0.255.4", | |
1524 | .protocols = { | |
1525 | .ipv4 = true, | |
1526 | }, | |
1527 | .networks = { | |
1528 | "10.0.255.4/32", | |
1529 | }, | |
1530 | .adjacencies = { | |
1531 | { | |
1532 | .hostname = "rt2", | |
1533 | .metric = 10, | |
1534 | }, | |
1535 | { | |
1536 | .hostname = "rt3", | |
1537 | .metric = 10, | |
1538 | }, | |
1539 | { | |
1540 | .hostname = "rt6", | |
1541 | .metric = 10, | |
1542 | }, | |
1543 | }, | |
1544 | .flags = F_ISIS_TEST_NODE_SR, | |
1545 | }, | |
1546 | { | |
1547 | .hostname = "rt5", | |
1548 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
1549 | .level = IS_LEVEL_1, | |
1550 | .router_id = "10.0.255.5", | |
1551 | .protocols = { | |
1552 | .ipv4 = true, | |
1553 | }, | |
1554 | .networks = { | |
1555 | "10.0.255.5/32", | |
1556 | }, | |
1557 | .adjacencies = { | |
1558 | { | |
1559 | .hostname = "rt6", | |
1560 | .metric = 10, | |
1561 | }, | |
1562 | { | |
1563 | .hostname = "rt7", | |
1564 | .metric = 10, | |
1565 | }, | |
1566 | }, | |
1567 | .flags = F_ISIS_TEST_NODE_SR, | |
1568 | }, | |
1569 | { | |
1570 | .hostname = "rt6", | |
1571 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
1572 | .level = IS_LEVEL_1, | |
1573 | .router_id = "10.0.255.6", | |
1574 | .protocols = { | |
1575 | .ipv4 = true, | |
1576 | }, | |
1577 | .networks = { | |
1578 | "10.0.255.6/32", | |
1579 | }, | |
1580 | .adjacencies = { | |
1581 | { | |
1582 | .hostname = "rt4", | |
1583 | .metric = 10, | |
1584 | }, | |
1585 | { | |
1586 | .hostname = "rt5", | |
1587 | .metric = 10, | |
1588 | }, | |
1589 | { | |
1590 | .hostname = "rt8", | |
1591 | .metric = 10, | |
1592 | }, | |
1593 | }, | |
1594 | .flags = F_ISIS_TEST_NODE_SR, | |
1595 | }, | |
1596 | { | |
1597 | .hostname = "rt7", | |
1598 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
1599 | .level = IS_LEVEL_1, | |
1600 | .router_id = "10.0.255.7", | |
1601 | .protocols = { | |
1602 | .ipv4 = true, | |
1603 | }, | |
1604 | .networks = { | |
1605 | "10.0.255.7/32", | |
1606 | }, | |
1607 | .adjacencies = { | |
1608 | { | |
1609 | .hostname = "rt5", | |
1610 | .metric = 10, | |
1611 | }, | |
1612 | { | |
1613 | .hostname = "rt8", | |
1614 | .metric = 10, | |
1615 | }, | |
1616 | }, | |
1617 | .flags = F_ISIS_TEST_NODE_SR, | |
1618 | }, | |
1619 | { | |
1620 | .hostname = "rt8", | |
1621 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x08}, | |
1622 | .level = IS_LEVEL_1, | |
1623 | .router_id = "10.0.255.8", | |
1624 | .protocols = { | |
1625 | .ipv4 = true, | |
1626 | }, | |
1627 | .networks = { | |
1628 | "10.0.255.8/32", | |
1629 | }, | |
1630 | .adjacencies = { | |
1631 | { | |
1632 | .hostname = "rt6", | |
1633 | .metric = 10, | |
1634 | }, | |
1635 | { | |
1636 | .hostname = "rt7", | |
1637 | .metric = 10, | |
1638 | }, | |
1639 | }, | |
1640 | .flags = F_ISIS_TEST_NODE_SR, | |
1641 | }, | |
1642 | }, | |
1643 | }, | |
1644 | { | |
1645 | .number = 7, | |
1646 | .nodes = { | |
1647 | { | |
1648 | .hostname = "rt1", | |
1649 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
1650 | .level = IS_LEVEL_1, | |
1651 | .router_id = "10.0.255.1", | |
1652 | .protocols = { | |
1653 | .ipv4 = true, | |
1654 | }, | |
1655 | .networks = { | |
1656 | "10.0.255.1/32", | |
1657 | }, | |
1658 | .adjacencies = { | |
1659 | { | |
1660 | .hostname = "rt2", | |
1661 | .metric = 40, | |
1662 | }, | |
1663 | { | |
1664 | .hostname = "rt4", | |
1665 | .metric = 10, | |
1666 | }, | |
1667 | }, | |
1668 | .flags = F_ISIS_TEST_NODE_SR, | |
1669 | }, | |
1670 | { | |
1671 | .hostname = "rt2", | |
1672 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
1673 | .level = IS_LEVEL_1, | |
1674 | .router_id = "10.0.255.2", | |
1675 | .protocols = { | |
1676 | .ipv4 = true, | |
1677 | }, | |
1678 | .networks = { | |
1679 | "10.0.255.2/32", | |
1680 | }, | |
1681 | .adjacencies = { | |
1682 | { | |
1683 | .hostname = "rt1", | |
1684 | .metric = 40, | |
1685 | }, | |
1686 | { | |
1687 | .hostname = "rt3", | |
1688 | .metric = 10, | |
1689 | }, | |
1690 | { | |
1691 | .hostname = "rt5", | |
1692 | .metric = 10, | |
1693 | }, | |
1694 | }, | |
1695 | .flags = F_ISIS_TEST_NODE_SR, | |
1696 | }, | |
1697 | { | |
1698 | .hostname = "rt3", | |
1699 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
1700 | .level = IS_LEVEL_1, | |
1701 | .router_id = "10.0.255.3", | |
1702 | .protocols = { | |
1703 | .ipv4 = true, | |
1704 | }, | |
1705 | .networks = { | |
1706 | "10.0.255.3/32", | |
1707 | }, | |
1708 | .adjacencies = { | |
1709 | { | |
1710 | .hostname = "rt2", | |
1711 | .metric = 10, | |
1712 | }, | |
1713 | { | |
1714 | .hostname = "rt6", | |
1715 | .metric = 10, | |
1716 | }, | |
1717 | }, | |
1718 | .flags = F_ISIS_TEST_NODE_SR, | |
1719 | }, | |
1720 | { | |
1721 | .hostname = "rt4", | |
1722 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
1723 | .level = IS_LEVEL_1, | |
1724 | .router_id = "10.0.255.4", | |
1725 | .protocols = { | |
1726 | .ipv4 = true, | |
1727 | }, | |
1728 | .networks = { | |
1729 | "10.0.255.4/32", | |
1730 | }, | |
1731 | .adjacencies = { | |
1732 | { | |
1733 | .hostname = "rt1", | |
1734 | .metric = 10, | |
1735 | }, | |
1736 | { | |
1737 | .hostname = "rt5", | |
1738 | .metric = 10, | |
1739 | }, | |
1740 | { | |
1741 | .hostname = "rt7", | |
1742 | .metric = 10, | |
1743 | }, | |
1744 | }, | |
1745 | .flags = F_ISIS_TEST_NODE_SR, | |
1746 | }, | |
1747 | { | |
1748 | .hostname = "rt5", | |
1749 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
1750 | .level = IS_LEVEL_1, | |
1751 | .router_id = "10.0.255.5", | |
1752 | .protocols = { | |
1753 | .ipv4 = true, | |
1754 | }, | |
1755 | .networks = { | |
1756 | "10.0.255.5/32", | |
1757 | }, | |
1758 | .adjacencies = { | |
1759 | { | |
1760 | .hostname = "rt2", | |
1761 | .metric = 10, | |
1762 | }, | |
1763 | { | |
1764 | .hostname = "rt4", | |
1765 | .metric = 10, | |
1766 | }, | |
1767 | { | |
1768 | .hostname = "rt6", | |
1769 | .metric = 10, | |
1770 | }, | |
1771 | { | |
1772 | .hostname = "rt8", | |
1773 | .metric = 10, | |
1774 | }, | |
1775 | }, | |
1776 | .flags = F_ISIS_TEST_NODE_SR, | |
1777 | }, | |
1778 | { | |
1779 | .hostname = "rt6", | |
1780 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
1781 | .level = IS_LEVEL_1, | |
1782 | .router_id = "10.0.255.6", | |
1783 | .protocols = { | |
1784 | .ipv4 = true, | |
1785 | }, | |
1786 | .networks = { | |
1787 | "10.0.255.6/32", | |
1788 | }, | |
1789 | .adjacencies = { | |
1790 | { | |
1791 | .hostname = "rt3", | |
1792 | .metric = 10, | |
1793 | }, | |
1794 | { | |
1795 | .hostname = "rt5", | |
1796 | .metric = 10, | |
1797 | }, | |
1798 | { | |
1799 | .hostname = "rt9", | |
1800 | .metric = 30, | |
1801 | }, | |
1802 | }, | |
1803 | .flags = F_ISIS_TEST_NODE_SR, | |
1804 | }, | |
1805 | { | |
1806 | .hostname = "rt7", | |
1807 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
1808 | .level = IS_LEVEL_1, | |
1809 | .router_id = "10.0.255.7", | |
1810 | .protocols = { | |
1811 | .ipv4 = true, | |
1812 | }, | |
1813 | .networks = { | |
1814 | "10.0.255.7/32", | |
1815 | }, | |
1816 | .adjacencies = { | |
1817 | { | |
1818 | .hostname = "rt4", | |
1819 | .metric = 10, | |
1820 | }, | |
1821 | { | |
1822 | .hostname = "rt8", | |
1823 | .metric = 10, | |
1824 | }, | |
1825 | { | |
1826 | .hostname = "rt10", | |
1827 | .metric = 20, | |
1828 | }, | |
1829 | }, | |
1830 | .flags = F_ISIS_TEST_NODE_SR, | |
1831 | }, | |
1832 | { | |
1833 | .hostname = "rt8", | |
1834 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x08}, | |
1835 | .level = IS_LEVEL_1, | |
1836 | .router_id = "10.0.255.8", | |
1837 | .protocols = { | |
1838 | .ipv4 = true, | |
1839 | }, | |
1840 | .networks = { | |
1841 | "10.0.255.8/32", | |
1842 | }, | |
1843 | .adjacencies = { | |
1844 | { | |
1845 | .hostname = "rt5", | |
1846 | .metric = 10, | |
1847 | }, | |
1848 | { | |
1849 | .hostname = "rt7", | |
1850 | .metric = 10, | |
1851 | }, | |
1852 | { | |
1853 | .hostname = "rt9", | |
1854 | .metric = 10, | |
1855 | }, | |
1856 | { | |
1857 | .hostname = "rt11", | |
1858 | .metric = 10, | |
1859 | }, | |
1860 | }, | |
1861 | .flags = F_ISIS_TEST_NODE_SR, | |
1862 | }, | |
1863 | { | |
1864 | .hostname = "rt9", | |
1865 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x09}, | |
1866 | .level = IS_LEVEL_1, | |
1867 | .router_id = "10.0.255.9", | |
1868 | .protocols = { | |
1869 | .ipv4 = true, | |
1870 | }, | |
1871 | .networks = { | |
1872 | "10.0.255.9/32", | |
1873 | }, | |
1874 | .adjacencies = { | |
1875 | { | |
1876 | .hostname = "rt6", | |
1877 | .metric = 30, | |
1878 | }, | |
1879 | { | |
1880 | .hostname = "rt8", | |
1881 | .metric = 10, | |
1882 | }, | |
1883 | { | |
1884 | .hostname = "rt12", | |
1885 | .metric = 10, | |
1886 | }, | |
1887 | }, | |
1888 | .flags = F_ISIS_TEST_NODE_SR, | |
1889 | }, | |
1890 | { | |
1891 | .hostname = "rt10", | |
1892 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x0a}, | |
1893 | .level = IS_LEVEL_1, | |
1894 | .router_id = "10.0.255.10", | |
1895 | .protocols = { | |
1896 | .ipv4 = true, | |
1897 | }, | |
1898 | .networks = { | |
1899 | "10.0.255.10/32", | |
1900 | }, | |
1901 | .adjacencies = { | |
1902 | { | |
1903 | .hostname = "rt7", | |
1904 | .metric = 20, | |
1905 | }, | |
1906 | { | |
1907 | .hostname = "rt11", | |
1908 | .metric = 10, | |
1909 | }, | |
1910 | }, | |
1911 | .flags = F_ISIS_TEST_NODE_SR, | |
1912 | }, | |
1913 | { | |
1914 | .hostname = "rt11", | |
1915 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x0b}, | |
1916 | .level = IS_LEVEL_1, | |
1917 | .router_id = "10.0.255.11", | |
1918 | .protocols = { | |
1919 | .ipv4 = true, | |
1920 | }, | |
1921 | .networks = { | |
1922 | "10.0.255.11/32", | |
1923 | }, | |
1924 | .adjacencies = { | |
1925 | { | |
1926 | .hostname = "rt8", | |
1927 | .metric = 10, | |
1928 | }, | |
1929 | { | |
1930 | .hostname = "rt10", | |
1931 | .metric = 10, | |
1932 | }, | |
1933 | { | |
1934 | .hostname = "rt12", | |
1935 | .metric = 10, | |
1936 | }, | |
1937 | }, | |
1938 | .flags = F_ISIS_TEST_NODE_SR, | |
1939 | }, | |
1940 | { | |
1941 | .hostname = "rt12", | |
1942 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x0c}, | |
1943 | .level = IS_LEVEL_1, | |
1944 | .router_id = "10.0.255.12", | |
1945 | .protocols = { | |
1946 | .ipv4 = true, | |
1947 | }, | |
1948 | .networks = { | |
1949 | "10.0.255.12/32", | |
1950 | }, | |
1951 | .adjacencies = { | |
1952 | { | |
1953 | .hostname = "rt9", | |
1954 | .metric = 10, | |
1955 | }, | |
1956 | { | |
1957 | .hostname = "rt11", | |
1958 | .metric = 10, | |
1959 | }, | |
1960 | }, | |
1961 | .flags = F_ISIS_TEST_NODE_SR, | |
1962 | }, | |
1963 | }, | |
1964 | }, | |
1965 | { | |
1966 | .number = 8, | |
1967 | .nodes = { | |
1968 | { | |
1969 | .hostname = "rt1", | |
1970 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
1971 | .level = IS_LEVEL_1, | |
1972 | .router_id = "10.0.255.1", | |
1973 | .protocols = { | |
1974 | .ipv4 = true, | |
1975 | }, | |
1976 | .networks = { | |
1977 | "10.0.255.1/32", | |
1978 | }, | |
1979 | .adjacencies = { | |
1980 | { | |
1981 | .hostname = "rt2", | |
1982 | .metric = 10, | |
1983 | }, | |
1984 | { | |
1985 | .hostname = "rt4", | |
1986 | .metric = 10, | |
1987 | }, | |
1988 | }, | |
1989 | .flags = F_ISIS_TEST_NODE_SR, | |
1990 | }, | |
1991 | { | |
1992 | .hostname = "rt2", | |
1993 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
1994 | .level = IS_LEVEL_1, | |
1995 | .router_id = "10.0.255.2", | |
1996 | .protocols = { | |
1997 | .ipv4 = true, | |
1998 | }, | |
1999 | .networks = { | |
2000 | "10.0.255.2/32", | |
2001 | }, | |
2002 | .adjacencies = { | |
2003 | { | |
2004 | .hostname = "rt1", | |
2005 | .metric = 10, | |
2006 | }, | |
2007 | { | |
2008 | .hostname = "rt3", | |
2009 | .metric = 10, | |
2010 | }, | |
2011 | { | |
2012 | .hostname = "rt5", | |
2013 | .metric = 10, | |
2014 | }, | |
2015 | }, | |
2016 | .flags = F_ISIS_TEST_NODE_SR, | |
2017 | }, | |
2018 | { | |
2019 | .hostname = "rt3", | |
2020 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
2021 | .level = IS_LEVEL_1, | |
2022 | .router_id = "10.0.255.3", | |
2023 | .protocols = { | |
2024 | .ipv4 = true, | |
2025 | }, | |
2026 | .networks = { | |
2027 | "10.0.255.3/32", | |
2028 | }, | |
2029 | .adjacencies = { | |
2030 | { | |
2031 | .hostname = "rt2", | |
2032 | .metric = 10, | |
2033 | }, | |
2034 | { | |
2035 | .hostname = "rt6", | |
2036 | .metric = 10, | |
2037 | }, | |
2038 | }, | |
2039 | .flags = F_ISIS_TEST_NODE_SR, | |
2040 | }, | |
2041 | { | |
2042 | .hostname = "rt4", | |
2043 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
2044 | .level = IS_LEVEL_1, | |
2045 | .router_id = "10.0.255.4", | |
2046 | .protocols = { | |
2047 | .ipv4 = true, | |
2048 | }, | |
2049 | .networks = { | |
2050 | "10.0.255.4/32", | |
2051 | }, | |
2052 | .adjacencies = { | |
2053 | { | |
2054 | .hostname = "rt1", | |
2055 | .metric = 10, | |
2056 | }, | |
2057 | { | |
2058 | .hostname = "rt7", | |
2059 | .metric = 10, | |
2060 | }, | |
2061 | }, | |
2062 | .flags = F_ISIS_TEST_NODE_SR, | |
2063 | }, | |
2064 | { | |
2065 | .hostname = "rt5", | |
2066 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
2067 | .level = IS_LEVEL_1, | |
2068 | .router_id = "10.0.255.5", | |
2069 | .protocols = { | |
2070 | .ipv4 = true, | |
2071 | }, | |
2072 | .networks = { | |
2073 | "10.0.255.5/32", | |
2074 | }, | |
2075 | .adjacencies = { | |
2076 | { | |
2077 | .hostname = "rt2", | |
2078 | .metric = 10, | |
2079 | }, | |
2080 | { | |
2081 | .hostname = "rt6", | |
2082 | .metric = 10, | |
2083 | }, | |
2084 | { | |
2085 | .hostname = "rt8", | |
2086 | .metric = 10, | |
2087 | }, | |
2088 | }, | |
2089 | .flags = F_ISIS_TEST_NODE_SR, | |
2090 | }, | |
2091 | { | |
2092 | .hostname = "rt6", | |
2093 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
2094 | .level = IS_LEVEL_1, | |
2095 | .router_id = "10.0.255.6", | |
2096 | .protocols = { | |
2097 | .ipv4 = true, | |
2098 | }, | |
2099 | .networks = { | |
2100 | "10.0.255.6/32", | |
2101 | }, | |
2102 | .adjacencies = { | |
2103 | { | |
2104 | .hostname = "rt3", | |
2105 | .metric = 10, | |
2106 | }, | |
2107 | { | |
2108 | .hostname = "rt5", | |
2109 | .metric = 10, | |
2110 | }, | |
2111 | }, | |
2112 | .flags = F_ISIS_TEST_NODE_SR, | |
2113 | }, | |
2114 | { | |
2115 | .hostname = "rt7", | |
2116 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
2117 | .level = IS_LEVEL_1, | |
2118 | .router_id = "10.0.255.7", | |
2119 | .protocols = { | |
2120 | .ipv4 = true, | |
2121 | }, | |
2122 | .networks = { | |
2123 | "10.0.255.7/32", | |
2124 | }, | |
2125 | .adjacencies = { | |
2126 | { | |
2127 | .hostname = "rt4", | |
2128 | .metric = 10, | |
2129 | }, | |
2130 | { | |
2131 | .hostname = "rt10", | |
2132 | .metric = 10, | |
2133 | }, | |
2134 | }, | |
2135 | .flags = F_ISIS_TEST_NODE_SR, | |
2136 | }, | |
2137 | { | |
2138 | .hostname = "rt8", | |
2139 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x08}, | |
2140 | .level = IS_LEVEL_1, | |
2141 | .router_id = "10.0.255.8", | |
2142 | .protocols = { | |
2143 | .ipv4 = true, | |
2144 | }, | |
2145 | .networks = { | |
2146 | "10.0.255.8/32", | |
2147 | }, | |
2148 | .adjacencies = { | |
2149 | { | |
2150 | .hostname = "rt5", | |
2151 | .metric = 10, | |
2152 | }, | |
2153 | { | |
2154 | .hostname = "rt9", | |
2155 | .metric = 10, | |
2156 | }, | |
2157 | { | |
2158 | .hostname = "rt11", | |
2159 | .metric = 10, | |
2160 | }, | |
2161 | }, | |
2162 | .flags = F_ISIS_TEST_NODE_SR, | |
2163 | }, | |
2164 | { | |
2165 | .hostname = "rt9", | |
2166 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x09}, | |
2167 | .level = IS_LEVEL_1, | |
2168 | .router_id = "10.0.255.9", | |
2169 | .protocols = { | |
2170 | .ipv4 = true, | |
2171 | }, | |
2172 | .networks = { | |
2173 | "10.0.255.9/32", | |
2174 | }, | |
2175 | .adjacencies = { | |
2176 | { | |
2177 | .hostname = "rt8", | |
2178 | .metric = 10, | |
2179 | }, | |
2180 | { | |
2181 | .hostname = "rt12", | |
2182 | .metric = 10, | |
2183 | }, | |
2184 | }, | |
2185 | .flags = F_ISIS_TEST_NODE_SR, | |
2186 | }, | |
2187 | { | |
2188 | .hostname = "rt10", | |
2189 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x0a}, | |
2190 | .level = IS_LEVEL_1, | |
2191 | .router_id = "10.0.255.10", | |
2192 | .protocols = { | |
2193 | .ipv4 = true, | |
2194 | }, | |
2195 | .networks = { | |
2196 | "10.0.255.10/32", | |
2197 | }, | |
2198 | .adjacencies = { | |
2199 | { | |
2200 | .hostname = "rt7", | |
2201 | .metric = 10, | |
2202 | }, | |
2203 | { | |
2204 | .hostname = "rt11", | |
2205 | .metric = 30, | |
2206 | }, | |
2207 | }, | |
2208 | .flags = F_ISIS_TEST_NODE_SR, | |
2209 | }, | |
2210 | { | |
2211 | .hostname = "rt11", | |
2212 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x0b}, | |
2213 | .level = IS_LEVEL_1, | |
2214 | .router_id = "10.0.255.11", | |
2215 | .protocols = { | |
2216 | .ipv4 = true, | |
2217 | }, | |
2218 | .networks = { | |
2219 | "10.0.255.11/32", | |
2220 | }, | |
2221 | .adjacencies = { | |
2222 | { | |
2223 | .hostname = "rt8", | |
2224 | .metric = 10, | |
2225 | }, | |
2226 | { | |
2227 | .hostname = "rt10", | |
2228 | .metric = 30, | |
2229 | }, | |
2230 | { | |
2231 | .hostname = "rt12", | |
2232 | .metric = 10, | |
2233 | }, | |
2234 | }, | |
2235 | .flags = F_ISIS_TEST_NODE_SR, | |
2236 | }, | |
2237 | { | |
2238 | .hostname = "rt12", | |
2239 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x0c}, | |
2240 | .level = IS_LEVEL_1, | |
2241 | .router_id = "10.0.255.12", | |
2242 | .protocols = { | |
2243 | .ipv4 = true, | |
2244 | }, | |
2245 | .networks = { | |
2246 | "10.0.255.12/32", | |
2247 | }, | |
2248 | .adjacencies = { | |
2249 | { | |
2250 | .hostname = "rt9", | |
2251 | .metric = 10, | |
2252 | }, | |
2253 | { | |
2254 | .hostname = "rt11", | |
2255 | .metric = 10, | |
2256 | }, | |
2257 | }, | |
2258 | .flags = F_ISIS_TEST_NODE_SR, | |
2259 | }, | |
2260 | }, | |
2261 | }, | |
2262 | { | |
2263 | .number = 9, | |
2264 | .nodes = { | |
2265 | { | |
2266 | .hostname = "rt1", | |
2267 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
2268 | .level = IS_LEVEL_1, | |
2269 | .router_id = "10.0.255.1", | |
2270 | .protocols = { | |
2271 | .ipv4 = true, | |
2272 | .ipv6 = true, | |
2273 | }, | |
2274 | .networks = { | |
2275 | "10.0.255.1/32", | |
2276 | "2001:db8::1/128", | |
2277 | }, | |
2278 | .adjacencies = { | |
2279 | { | |
2280 | .hostname = "rt2", | |
2281 | .metric = 10, | |
2282 | }, | |
2283 | { | |
2284 | .hostname = "rt3", | |
2285 | .metric = 10, | |
2286 | }, | |
2287 | }, | |
2288 | .flags = F_ISIS_TEST_NODE_SR, | |
2289 | }, | |
2290 | { | |
2291 | .hostname = "rt2", | |
2292 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
2293 | .level = IS_LEVEL_1, | |
2294 | .router_id = "10.0.255.2", | |
2295 | .protocols = { | |
2296 | .ipv4 = true, | |
2297 | .ipv6 = true, | |
2298 | }, | |
2299 | .networks = { | |
2300 | "10.0.255.2/32", | |
2301 | "2001:db8::2/128", | |
2302 | }, | |
2303 | .adjacencies = { | |
2304 | { | |
2305 | .hostname = "rt1", | |
2306 | .metric = 10, | |
2307 | }, | |
2308 | { | |
2309 | .hostname = "rt4", | |
2310 | .metric = 10, | |
2311 | }, | |
2312 | }, | |
2313 | .flags = F_ISIS_TEST_NODE_SR, | |
2314 | }, | |
2315 | { | |
2316 | .hostname = "rt3", | |
2317 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
2318 | .level = IS_LEVEL_1, | |
2319 | .router_id = "10.0.255.3", | |
2320 | .protocols = { | |
2321 | .ipv4 = true, | |
2322 | .ipv6 = true, | |
2323 | }, | |
2324 | .networks = { | |
2325 | "10.0.255.3/32", | |
2326 | "2001:db8::3/128", | |
2327 | }, | |
2328 | .adjacencies = { | |
2329 | { | |
2330 | .hostname = "rt1", | |
2331 | .metric = 10, | |
2332 | }, | |
2333 | { | |
2334 | .hostname = "rt4", | |
2335 | .metric = 100, | |
2336 | }, | |
2337 | }, | |
2338 | .flags = F_ISIS_TEST_NODE_SR, | |
2339 | }, | |
2340 | { | |
2341 | .hostname = "rt4", | |
2342 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
2343 | .level = IS_LEVEL_1, | |
2344 | .router_id = "10.0.255.4", | |
2345 | .protocols = { | |
2346 | .ipv4 = true, | |
2347 | .ipv6 = true, | |
2348 | }, | |
2349 | .networks = { | |
2350 | "10.0.255.4/32", | |
2351 | "2001:db8::4/128", | |
2352 | }, | |
2353 | .adjacencies = { | |
2354 | { | |
2355 | .hostname = "rt2", | |
2356 | .metric = 10, | |
2357 | }, | |
2358 | { | |
2359 | .hostname = "rt3", | |
2360 | .metric = 100, | |
2361 | }, | |
2362 | { | |
2363 | .hostname = "rt5", | |
2364 | .metric = 10, | |
2365 | }, | |
2366 | { | |
2367 | .hostname = "rt6", | |
2368 | .metric = 30, | |
2369 | }, | |
2370 | { | |
2371 | .hostname = "rt7", | |
2372 | .metric = 30, | |
2373 | }, | |
2374 | { | |
2375 | .hostname = "rt8", | |
2376 | .metric = 30, | |
2377 | }, | |
2378 | }, | |
2379 | .flags = F_ISIS_TEST_NODE_SR, | |
2380 | }, | |
2381 | { | |
2382 | .hostname = "rt5", | |
2383 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
2384 | .level = IS_LEVEL_1, | |
2385 | .router_id = "10.0.255.5", | |
2386 | .protocols = { | |
2387 | .ipv4 = true, | |
2388 | .ipv6 = true, | |
2389 | }, | |
2390 | .networks = { | |
2391 | "10.0.255.5/32", | |
2392 | "2001:db8::5/128", | |
2393 | }, | |
2394 | .adjacencies = { | |
2395 | { | |
2396 | .hostname = "rt4", | |
2397 | .metric = 10, | |
2398 | }, | |
2399 | { | |
2400 | .hostname = "rt9", | |
2401 | .metric = 10, | |
2402 | }, | |
2403 | }, | |
2404 | .flags = F_ISIS_TEST_NODE_SR, | |
2405 | }, | |
2406 | { | |
2407 | .hostname = "rt6", | |
2408 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
2409 | .level = IS_LEVEL_1, | |
2410 | .router_id = "10.0.255.6", | |
2411 | .protocols = { | |
2412 | .ipv4 = true, | |
2413 | .ipv6 = true, | |
2414 | }, | |
2415 | .networks = { | |
2416 | "10.0.255.6/32", | |
2417 | "2001:db8::6/128", | |
2418 | }, | |
2419 | .adjacencies = { | |
2420 | { | |
2421 | .hostname = "rt4", | |
2422 | .metric = 30, | |
2423 | }, | |
2424 | { | |
2425 | .hostname = "rt9", | |
2426 | .metric = 10, | |
2427 | }, | |
2428 | }, | |
2429 | .flags = F_ISIS_TEST_NODE_SR, | |
2430 | }, | |
2431 | { | |
2432 | .hostname = "rt7", | |
2433 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
2434 | .level = IS_LEVEL_1, | |
2435 | .router_id = "10.0.255.7", | |
2436 | .protocols = { | |
2437 | .ipv4 = true, | |
2438 | .ipv6 = true, | |
2439 | }, | |
2440 | .networks = { | |
2441 | "10.0.255.7/32", | |
2442 | "2001:db8::7/128", | |
2443 | }, | |
2444 | .adjacencies = { | |
2445 | { | |
2446 | .hostname = "rt4", | |
2447 | .metric = 30, | |
2448 | }, | |
2449 | { | |
2450 | .hostname = "rt9", | |
2451 | .metric = 10, | |
2452 | }, | |
2453 | }, | |
2454 | .flags = F_ISIS_TEST_NODE_SR, | |
2455 | }, | |
2456 | { | |
2457 | .hostname = "rt8", | |
2458 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x08}, | |
2459 | .level = IS_LEVEL_1, | |
2460 | .router_id = "10.0.255.8", | |
2461 | .protocols = { | |
2462 | .ipv4 = true, | |
2463 | .ipv6 = true, | |
2464 | }, | |
2465 | .networks = { | |
2466 | "10.0.255.8/32", | |
2467 | "2001:db8::8/128", | |
2468 | }, | |
2469 | .adjacencies = { | |
2470 | { | |
2471 | .hostname = "rt4", | |
2472 | .metric = 30, | |
2473 | }, | |
2474 | { | |
2475 | .hostname = "rt9", | |
2476 | .metric = 10, | |
2477 | }, | |
2478 | }, | |
2479 | .flags = F_ISIS_TEST_NODE_SR, | |
2480 | }, | |
2481 | { | |
2482 | .hostname = "rt9", | |
2483 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x09}, | |
2484 | .level = IS_LEVEL_1, | |
2485 | .router_id = "10.0.255.9", | |
2486 | .protocols = { | |
2487 | .ipv4 = true, | |
2488 | .ipv6 = true, | |
2489 | }, | |
2490 | .networks = { | |
2491 | "10.0.255.9/32", | |
2492 | "2001:db8::9/128", | |
2493 | }, | |
2494 | .adjacencies = { | |
2495 | { | |
2496 | .hostname = "rt5", | |
2497 | .metric = 10, | |
2498 | }, | |
2499 | { | |
2500 | .hostname = "rt6", | |
2501 | .metric = 10, | |
2502 | }, | |
2503 | { | |
2504 | .hostname = "rt7", | |
2505 | .metric = 10, | |
2506 | }, | |
2507 | { | |
2508 | .hostname = "rt8", | |
2509 | .metric = 10, | |
2510 | }, | |
2511 | }, | |
2512 | .flags = F_ISIS_TEST_NODE_SR, | |
2513 | }, | |
2514 | }, | |
2515 | }, | |
2516 | { | |
2517 | .number = 10, | |
2518 | .nodes = { | |
2519 | { | |
2520 | .hostname = "rt1", | |
2521 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
2522 | .level = IS_LEVEL_1, | |
2523 | .router_id = "10.0.255.1", | |
2524 | .protocols = { | |
2525 | .ipv4 = true, | |
2526 | .ipv6 = true, | |
2527 | }, | |
2528 | .networks = { | |
2529 | "10.0.255.1/32", | |
2530 | "2001:db8::1/128", | |
2531 | }, | |
2532 | .adjacencies = { | |
2533 | { | |
2534 | .hostname = "rt2", | |
2535 | .metric = 10, | |
2536 | }, | |
2537 | { | |
2538 | .hostname = "rt3", | |
2539 | .metric = 20, | |
2540 | }, | |
2541 | { | |
2542 | .hostname = "rt4", | |
2543 | .metric = 20, | |
2544 | }, | |
2545 | }, | |
2546 | .flags = F_ISIS_TEST_NODE_SR, | |
2547 | }, | |
2548 | { | |
2549 | .hostname = "rt2", | |
2550 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
2551 | .level = IS_LEVEL_1, | |
2552 | .router_id = "10.0.255.2", | |
2553 | .protocols = { | |
2554 | .ipv4 = true, | |
2555 | .ipv6 = true, | |
2556 | }, | |
2557 | .networks = { | |
2558 | "10.0.255.2/32", | |
2559 | "2001:db8::2/128", | |
2560 | }, | |
2561 | .adjacencies = { | |
2562 | { | |
2563 | .hostname = "rt1", | |
2564 | .metric = 10, | |
2565 | }, | |
2566 | { | |
2567 | .hostname = "rt5", | |
2568 | .metric = 10, | |
2569 | }, | |
2570 | }, | |
2571 | .flags = F_ISIS_TEST_NODE_SR, | |
2572 | }, | |
2573 | { | |
2574 | .hostname = "rt3", | |
2575 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
2576 | .level = IS_LEVEL_1, | |
2577 | .router_id = "10.0.255.3", | |
2578 | .srgb = { | |
2579 | .lower_bound = 20000, | |
2580 | .range_size = 8000, | |
2581 | }, | |
2582 | .protocols = { | |
2583 | .ipv4 = true, | |
2584 | .ipv6 = true, | |
2585 | }, | |
2586 | .networks = { | |
2587 | "10.0.255.3/32", | |
2588 | "2001:db8::3/128", | |
2589 | }, | |
2590 | .adjacencies = { | |
2591 | { | |
2592 | .hostname = "rt1", | |
2593 | .metric = 20, | |
2594 | }, | |
2595 | { | |
2596 | .hostname = "rt6", | |
2597 | .metric = 10, | |
2598 | }, | |
2599 | }, | |
2600 | .flags = F_ISIS_TEST_NODE_SR, | |
2601 | }, | |
2602 | { | |
2603 | .hostname = "rt4", | |
2604 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
2605 | .level = IS_LEVEL_1, | |
2606 | .router_id = "10.0.255.4", | |
2607 | .protocols = { | |
2608 | .ipv4 = true, | |
2609 | .ipv6 = true, | |
2610 | }, | |
2611 | .networks = { | |
2612 | "10.0.255.4/32", | |
2613 | "2001:db8::4/128", | |
2614 | }, | |
2615 | .adjacencies = { | |
2616 | { | |
2617 | .hostname = "rt1", | |
2618 | .metric = 20, | |
2619 | }, | |
2620 | { | |
2621 | .hostname = "rt7", | |
2622 | .metric = 10, | |
2623 | }, | |
2624 | }, | |
2625 | .flags = F_ISIS_TEST_NODE_SR, | |
2626 | }, | |
2627 | { | |
2628 | .hostname = "rt5", | |
2629 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
2630 | .level = IS_LEVEL_1, | |
2631 | .router_id = "10.0.255.5", | |
2632 | .protocols = { | |
2633 | .ipv4 = true, | |
2634 | .ipv6 = true, | |
2635 | }, | |
2636 | .networks = { | |
2637 | "10.0.255.5/32", | |
2638 | "2001:db8::5/128", | |
2639 | }, | |
2640 | .adjacencies = { | |
2641 | { | |
2642 | .hostname = "rt2", | |
2643 | .metric = 10, | |
2644 | }, | |
2645 | { | |
2646 | .hostname = "rt8", | |
2647 | .metric = 10, | |
2648 | }, | |
2649 | }, | |
2650 | .flags = F_ISIS_TEST_NODE_SR, | |
2651 | }, | |
2652 | { | |
2653 | .hostname = "rt6", | |
2654 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
2655 | .level = IS_LEVEL_1, | |
2656 | .router_id = "10.0.255.6", | |
2657 | .protocols = { | |
2658 | .ipv4 = true, | |
2659 | .ipv6 = true, | |
2660 | }, | |
2661 | .networks = { | |
2662 | "10.0.255.6/32", | |
2663 | "2001:db8::6/128", | |
2664 | }, | |
2665 | .adjacencies = { | |
2666 | { | |
2667 | .hostname = "rt3", | |
2668 | .metric = 10, | |
2669 | }, | |
2670 | { | |
2671 | .hostname = "rt8", | |
2672 | .metric = 50, | |
2673 | }, | |
2674 | }, | |
2675 | .flags = F_ISIS_TEST_NODE_SR, | |
2676 | }, | |
2677 | { | |
2678 | .hostname = "rt7", | |
2679 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
2680 | .level = IS_LEVEL_1, | |
2681 | .router_id = "10.0.255.7", | |
2682 | .protocols = { | |
2683 | .ipv4 = true, | |
2684 | .ipv6 = true, | |
2685 | }, | |
2686 | .networks = { | |
2687 | "10.0.255.7/32", | |
2688 | "2001:db8::7/128", | |
2689 | }, | |
2690 | .adjacencies = { | |
2691 | { | |
2692 | .hostname = "rt4", | |
2693 | .metric = 10, | |
2694 | }, | |
2695 | { | |
2696 | .hostname = "rt8", | |
2697 | .metric = 50, | |
2698 | }, | |
2699 | }, | |
2700 | .flags = F_ISIS_TEST_NODE_SR, | |
2701 | }, | |
2702 | { | |
2703 | .hostname = "rt8", | |
2704 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x08}, | |
2705 | .level = IS_LEVEL_1, | |
2706 | .router_id = "10.0.255.8", | |
2707 | .protocols = { | |
2708 | .ipv4 = true, | |
2709 | .ipv6 = true, | |
2710 | }, | |
2711 | .networks = { | |
2712 | "10.0.255.8/32", | |
2713 | "2001:db8::8/128", | |
2714 | }, | |
2715 | .adjacencies = { | |
2716 | { | |
2717 | .hostname = "rt5", | |
2718 | .metric = 10, | |
2719 | }, | |
2720 | { | |
2721 | .hostname = "rt6", | |
2722 | .metric = 50, | |
2723 | }, | |
2724 | { | |
2725 | .hostname = "rt7", | |
2726 | .metric = 50, | |
2727 | }, | |
2728 | }, | |
2729 | .flags = F_ISIS_TEST_NODE_SR, | |
2730 | }, | |
2731 | }, | |
2732 | }, | |
2733 | { | |
2734 | .number = 11, | |
2735 | .nodes = { | |
2736 | { | |
2737 | .hostname = "rt1", | |
2738 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
2739 | .level = IS_LEVEL_1, | |
2740 | .router_id = "10.0.255.1", | |
2741 | .protocols = { | |
2742 | .ipv4 = true, | |
2743 | .ipv6 = true, | |
2744 | }, | |
2745 | .networks = { | |
2746 | "10.0.255.1/32", | |
2747 | "2001:db8::1/128", | |
2748 | }, | |
2749 | .adjacencies = { | |
2750 | { | |
2751 | .hostname = "rt2", | |
2752 | .pseudonode_id = 1, | |
2753 | .metric = 10, | |
2754 | }, | |
2755 | }, | |
2756 | .flags = F_ISIS_TEST_NODE_SR, | |
2757 | }, | |
2758 | { | |
2759 | .hostname = "rt2", | |
2760 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
2761 | .level = IS_LEVEL_1, | |
2762 | .router_id = "10.0.255.2", | |
2763 | .protocols = { | |
2764 | .ipv4 = true, | |
2765 | .ipv6 = true, | |
2766 | }, | |
2767 | .networks = { | |
2768 | "10.0.255.2/32", | |
2769 | "2001:db8::2/128", | |
2770 | }, | |
2771 | .adjacencies = { | |
2772 | { | |
2773 | .hostname = "rt2", | |
2774 | .pseudonode_id = 1, | |
2775 | .metric = 50, | |
2776 | }, | |
2777 | { | |
2778 | .hostname = "rt4", | |
2779 | .metric = 10, | |
2780 | }, | |
2781 | }, | |
2782 | .flags = F_ISIS_TEST_NODE_SR, | |
2783 | }, | |
2784 | { | |
2785 | .hostname = "rt3", | |
2786 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
2787 | .level = IS_LEVEL_1, | |
2788 | .router_id = "10.0.255.3", | |
2789 | .protocols = { | |
2790 | .ipv4 = true, | |
2791 | .ipv6 = true, | |
2792 | }, | |
2793 | .networks = { | |
2794 | "10.0.255.3/32", | |
2795 | "2001:db8::3/128", | |
2796 | }, | |
2797 | .adjacencies = { | |
2798 | { | |
2799 | .hostname = "rt2", | |
2800 | .pseudonode_id = 1, | |
2801 | .metric = 10, | |
2802 | }, | |
2803 | { | |
2804 | .hostname = "rt5", | |
2805 | .metric = 10, | |
2806 | }, | |
2807 | }, | |
2808 | .flags = F_ISIS_TEST_NODE_SR, | |
2809 | }, | |
2810 | { | |
2811 | .hostname = "rt4", | |
2812 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
2813 | .level = IS_LEVEL_1, | |
2814 | .router_id = "10.0.255.4", | |
2815 | .protocols = { | |
2816 | .ipv4 = true, | |
2817 | .ipv6 = true, | |
2818 | }, | |
2819 | .networks = { | |
2820 | "10.0.255.4/32", | |
2821 | "2001:db8::4/128", | |
2822 | }, | |
2823 | .adjacencies = { | |
2824 | { | |
2825 | .hostname = "rt2", | |
2826 | .metric = 10, | |
2827 | }, | |
2828 | { | |
2829 | .hostname = "rt5", | |
2830 | .metric = 10, | |
2831 | }, | |
2832 | { | |
2833 | .hostname = "rt6", | |
2834 | .metric = 10, | |
2835 | }, | |
2836 | }, | |
2837 | .flags = F_ISIS_TEST_NODE_SR, | |
2838 | }, | |
2839 | { | |
2840 | .hostname = "rt5", | |
2841 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
2842 | .level = IS_LEVEL_1, | |
2843 | .router_id = "10.0.255.5", | |
2844 | .protocols = { | |
2845 | .ipv4 = true, | |
2846 | .ipv6 = true, | |
2847 | }, | |
2848 | .networks = { | |
2849 | "10.0.255.5/32", | |
2850 | "2001:db8::5/128", | |
2851 | }, | |
2852 | .adjacencies = { | |
2853 | { | |
2854 | .hostname = "rt3", | |
2855 | .metric = 10, | |
2856 | }, | |
2857 | { | |
2858 | .hostname = "rt4", | |
2859 | .metric = 10, | |
2860 | }, | |
2861 | { | |
2862 | .hostname = "rt6", | |
2863 | .metric = 10, | |
2864 | }, | |
2865 | }, | |
2866 | .flags = F_ISIS_TEST_NODE_SR, | |
2867 | }, | |
2868 | { | |
2869 | .hostname = "rt6", | |
2870 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
2871 | .level = IS_LEVEL_1, | |
2872 | .router_id = "10.0.255.6", | |
2873 | .protocols = { | |
2874 | .ipv4 = true, | |
2875 | .ipv6 = true, | |
2876 | }, | |
2877 | .networks = { | |
2878 | "10.0.255.6/32", | |
2879 | "2001:db8::6/128", | |
2880 | }, | |
2881 | .adjacencies = { | |
2882 | { | |
2883 | .hostname = "rt4", | |
2884 | .metric = 10, | |
2885 | }, | |
2886 | { | |
2887 | .hostname = "rt5", | |
2888 | .metric = 10, | |
2889 | }, | |
2890 | }, | |
2891 | .flags = F_ISIS_TEST_NODE_SR, | |
2892 | }, | |
2893 | { | |
2894 | .hostname = "rt2", | |
2895 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
2896 | .pseudonode_id = 1, | |
2897 | .level = IS_LEVEL_1, | |
2898 | .adjacencies = { | |
2899 | { | |
2900 | .hostname = "rt1", | |
2901 | .metric = 0, | |
2902 | }, | |
2903 | { | |
2904 | .hostname = "rt2", | |
2905 | .metric = 0, | |
2906 | }, | |
2907 | { | |
2908 | .hostname = "rt3", | |
2909 | .metric = 0, | |
2910 | }, | |
2911 | }, | |
2912 | }, | |
2913 | }, | |
2914 | }, | |
2915 | { | |
2916 | .number = 12, | |
2917 | .nodes = { | |
2918 | { | |
2919 | .hostname = "rt1", | |
2920 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
2921 | .level = IS_LEVEL_1, | |
2922 | .router_id = "10.0.255.1", | |
2923 | .protocols = { | |
2924 | .ipv4 = true, | |
2925 | }, | |
2926 | .networks = { | |
2927 | "10.0.255.1/32", | |
2928 | }, | |
2929 | .adjacencies = { | |
2930 | { | |
2931 | .hostname = "rt2", | |
2932 | .metric = 10, | |
2933 | }, | |
2934 | { | |
2935 | .hostname = "rt3", | |
2936 | .metric = 10, | |
2937 | }, | |
2938 | }, | |
2939 | .flags = F_ISIS_TEST_NODE_SR, | |
2940 | }, | |
2941 | { | |
2942 | .hostname = "rt2", | |
2943 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
2944 | .level = IS_LEVEL_1, | |
2945 | .router_id = "10.0.255.2", | |
2946 | .protocols = { | |
2947 | .ipv4 = true, | |
2948 | }, | |
2949 | .networks = { | |
2950 | "10.0.255.2/32", | |
2951 | }, | |
2952 | .adjacencies = { | |
2953 | { | |
2954 | .hostname = "rt1", | |
2955 | .metric = 10, | |
2956 | }, | |
2957 | { | |
2958 | .hostname = "rt4", | |
2959 | .metric = 10, | |
2960 | }, | |
2961 | }, | |
2962 | .flags = F_ISIS_TEST_NODE_SR, | |
2963 | }, | |
2964 | { | |
2965 | .hostname = "rt3", | |
2966 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
2967 | .level = IS_LEVEL_1, | |
2968 | .router_id = "10.0.255.3", | |
2969 | .protocols = { | |
2970 | .ipv4 = true, | |
2971 | }, | |
2972 | .networks = { | |
2973 | "10.0.255.3/32", | |
2974 | }, | |
2975 | .adjacencies = { | |
2976 | { | |
2977 | .hostname = "rt1", | |
2978 | .metric = 10, | |
2979 | }, | |
2980 | { | |
2981 | .hostname = "rt5", | |
2982 | .metric = 10, | |
2983 | }, | |
2984 | }, | |
2985 | .flags = F_ISIS_TEST_NODE_SR, | |
2986 | }, | |
2987 | { | |
2988 | .hostname = "rt4", | |
2989 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
2990 | .level = IS_LEVEL_1, | |
2991 | .router_id = "10.0.255.4", | |
2992 | .protocols = { | |
2993 | .ipv4 = true, | |
2994 | }, | |
2995 | .networks = { | |
2996 | "10.0.255.4/32", | |
2997 | }, | |
2998 | .adjacencies = { | |
2999 | { | |
3000 | .hostname = "rt2", | |
3001 | .metric = 10, | |
3002 | }, | |
3003 | { | |
3004 | .hostname = "rt6", | |
3005 | .metric = 10, | |
3006 | }, | |
3007 | }, | |
3008 | .flags = F_ISIS_TEST_NODE_SR, | |
3009 | }, | |
3010 | { | |
3011 | .hostname = "rt5", | |
3012 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
3013 | .level = IS_LEVEL_1, | |
3014 | .router_id = "10.0.255.5", | |
3015 | .protocols = { | |
3016 | .ipv4 = true, | |
3017 | }, | |
3018 | .networks = { | |
3019 | "10.0.255.5/32", | |
3020 | }, | |
3021 | .adjacencies = { | |
3022 | { | |
3023 | .hostname = "rt3", | |
3024 | .metric = 400, | |
3025 | }, | |
3026 | { | |
3027 | .hostname = "rt7", | |
3028 | .metric = 10, | |
3029 | }, | |
3030 | }, | |
3031 | .flags = F_ISIS_TEST_NODE_SR, | |
3032 | }, | |
3033 | { | |
3034 | .hostname = "rt6", | |
3035 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
3036 | .level = IS_LEVEL_1, | |
3037 | .router_id = "10.0.255.6", | |
3038 | .protocols = { | |
3039 | .ipv4 = true, | |
3040 | }, | |
3041 | .networks = { | |
3042 | "10.0.255.6/32", | |
3043 | }, | |
3044 | .adjacencies = { | |
3045 | { | |
3046 | .hostname = "rt4", | |
3047 | .metric = 10, | |
3048 | }, | |
3049 | { | |
3050 | .hostname = "rt8", | |
3051 | .metric = 10, | |
3052 | }, | |
3053 | }, | |
3054 | .flags = F_ISIS_TEST_NODE_SR, | |
3055 | }, | |
3056 | { | |
3057 | .hostname = "rt7", | |
3058 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
3059 | .level = IS_LEVEL_1, | |
3060 | .router_id = "10.0.255.7", | |
3061 | .protocols = { | |
3062 | .ipv4 = true, | |
3063 | }, | |
3064 | .networks = { | |
3065 | "10.0.255.7/32", | |
3066 | }, | |
3067 | .adjacencies = { | |
3068 | { | |
3069 | .hostname = "rt5", | |
3070 | .metric = 200, | |
3071 | }, | |
3072 | { | |
3073 | .hostname = "rt8", | |
3074 | .metric = 100, | |
3075 | }, | |
3076 | { | |
3077 | .hostname = "rt9", | |
3078 | .metric = 10, | |
3079 | }, | |
3080 | }, | |
3081 | .flags = F_ISIS_TEST_NODE_SR, | |
3082 | }, | |
3083 | { | |
3084 | .hostname = "rt8", | |
3085 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x08}, | |
3086 | .level = IS_LEVEL_1, | |
3087 | .router_id = "10.0.255.8", | |
3088 | .protocols = { | |
3089 | .ipv4 = true, | |
3090 | }, | |
3091 | .networks = { | |
3092 | "10.0.255.8/32", | |
3093 | }, | |
3094 | .adjacencies = { | |
3095 | { | |
3096 | .hostname = "rt6", | |
3097 | .metric = 10, | |
3098 | }, | |
3099 | { | |
3100 | .hostname = "rt7", | |
3101 | .metric = 100, | |
3102 | }, | |
3103 | { | |
3104 | .hostname = "rt10", | |
3105 | .metric = 10, | |
3106 | }, | |
3107 | }, | |
3108 | .flags = F_ISIS_TEST_NODE_SR, | |
3109 | }, | |
3110 | { | |
3111 | .hostname = "rt9", | |
3112 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x09}, | |
3113 | .level = IS_LEVEL_1, | |
3114 | .router_id = "10.0.255.9", | |
3115 | .protocols = { | |
3116 | .ipv4 = true, | |
3117 | }, | |
3118 | .networks = { | |
3119 | "10.0.255.9/32", | |
3120 | }, | |
3121 | .adjacencies = { | |
3122 | { | |
3123 | .hostname = "rt7", | |
3124 | .metric = 10, | |
3125 | }, | |
3126 | }, | |
3127 | .flags = F_ISIS_TEST_NODE_SR, | |
3128 | }, | |
3129 | { | |
3130 | .hostname = "rt10", | |
3131 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x0a}, | |
3132 | .level = IS_LEVEL_1, | |
3133 | .router_id = "10.0.255.10", | |
3134 | .protocols = { | |
3135 | .ipv4 = true, | |
3136 | }, | |
3137 | .networks = { | |
3138 | "10.0.255.10/32", | |
3139 | }, | |
3140 | .adjacencies = { | |
3141 | { | |
3142 | .hostname = "rt8", | |
3143 | .metric = 10, | |
3144 | }, | |
3145 | }, | |
3146 | .flags = F_ISIS_TEST_NODE_SR, | |
3147 | }, | |
3148 | }, | |
3149 | }, | |
3150 | { | |
3151 | .number = 13, | |
3152 | .nodes = { | |
3153 | { | |
3154 | .hostname = "rt1", | |
3155 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
3156 | .level = IS_LEVEL_1, | |
3157 | .router_id = "10.0.255.1", | |
3158 | .protocols = { | |
3159 | .ipv4 = true, | |
3160 | }, | |
3161 | .networks = { | |
3162 | "10.0.255.1/32", | |
3163 | }, | |
3164 | .adjacencies = { | |
3165 | { | |
3166 | .hostname = "rt2", | |
3167 | .metric = 10, | |
3168 | }, | |
3169 | { | |
3170 | .hostname = "rt3", | |
3171 | .metric = 10, | |
3172 | }, | |
3173 | }, | |
3174 | .flags = F_ISIS_TEST_NODE_SR, | |
3175 | }, | |
3176 | { | |
3177 | .hostname = "rt2", | |
3178 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
3179 | .level = IS_LEVEL_1, | |
3180 | .router_id = "10.0.255.2", | |
3181 | .protocols = { | |
3182 | .ipv4 = true, | |
3183 | }, | |
3184 | .networks = { | |
3185 | "10.0.255.2/32", | |
3186 | }, | |
3187 | .adjacencies = { | |
3188 | { | |
3189 | .hostname = "rt1", | |
3190 | .metric = 10, | |
3191 | }, | |
3192 | { | |
3193 | .hostname = "rt4", | |
3194 | .metric = 10, | |
3195 | }, | |
3196 | }, | |
3197 | .flags = F_ISIS_TEST_NODE_SR, | |
3198 | }, | |
3199 | { | |
3200 | .hostname = "rt3", | |
3201 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
3202 | .level = IS_LEVEL_1, | |
3203 | .router_id = "10.0.255.3", | |
3204 | .protocols = { | |
3205 | .ipv4 = true, | |
3206 | }, | |
3207 | .networks = { | |
3208 | "10.0.255.3/32", | |
3209 | }, | |
3210 | .adjacencies = { | |
3211 | { | |
3212 | .hostname = "rt1", | |
3213 | .metric = 10, | |
3214 | }, | |
3215 | { | |
3216 | .hostname = "rt4", | |
3217 | .metric = 10, | |
3218 | }, | |
3219 | { | |
3220 | .hostname = "rt5", | |
3221 | .metric = 10, | |
3222 | }, | |
3223 | { | |
3224 | .hostname = "rt6", | |
3225 | .metric = 10, | |
3226 | }, | |
3227 | }, | |
3228 | .flags = F_ISIS_TEST_NODE_SR, | |
3229 | }, | |
3230 | { | |
3231 | .hostname = "rt4", | |
3232 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
3233 | .level = IS_LEVEL_1, | |
3234 | .router_id = "10.0.255.4", | |
3235 | .protocols = { | |
3236 | .ipv4 = true, | |
3237 | }, | |
3238 | .networks = { | |
3239 | "10.0.255.4/32", | |
3240 | }, | |
3241 | .adjacencies = { | |
3242 | { | |
3243 | .hostname = "rt2", | |
3244 | .metric = 10, | |
3245 | }, | |
3246 | { | |
3247 | .hostname = "rt3", | |
3248 | .metric = 10, | |
3249 | }, | |
3250 | { | |
3251 | .hostname = "rt5", | |
3252 | .metric = 100, | |
3253 | }, | |
3254 | }, | |
3255 | .flags = F_ISIS_TEST_NODE_SR, | |
3256 | }, | |
3257 | { | |
3258 | .hostname = "rt5", | |
3259 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
3260 | .level = IS_LEVEL_1, | |
3261 | .router_id = "10.0.255.5", | |
3262 | .protocols = { | |
3263 | .ipv4 = true, | |
3264 | }, | |
3265 | .networks = { | |
3266 | "10.0.255.5/32", | |
3267 | }, | |
3268 | .adjacencies = { | |
3269 | { | |
3270 | .hostname = "rt3", | |
3271 | .metric = 10, | |
3272 | }, | |
3273 | { | |
3274 | .hostname = "rt4", | |
3275 | .metric = 100, | |
3276 | }, | |
3277 | { | |
3278 | .hostname = "rt7", | |
3279 | .metric = 10, | |
3280 | }, | |
3281 | }, | |
3282 | .flags = F_ISIS_TEST_NODE_SR, | |
3283 | }, | |
3284 | { | |
3285 | .hostname = "rt6", | |
3286 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x06}, | |
3287 | .level = IS_LEVEL_1, | |
3288 | .router_id = "10.0.255.6", | |
3289 | .protocols = { | |
3290 | .ipv4 = true, | |
3291 | }, | |
3292 | .networks = { | |
3293 | "10.0.255.6/32", | |
3294 | }, | |
3295 | .adjacencies = { | |
3296 | { | |
3297 | .hostname = "rt3", | |
3298 | .metric = 10, | |
3299 | }, | |
3300 | { | |
3301 | .hostname = "rt7", | |
3302 | .metric = 10, | |
3303 | }, | |
3304 | }, | |
3305 | .flags = F_ISIS_TEST_NODE_SR, | |
3306 | }, | |
3307 | { | |
3308 | .hostname = "rt7", | |
3309 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x07}, | |
3310 | .level = IS_LEVEL_1, | |
3311 | .router_id = "10.0.255.7", | |
3312 | .protocols = { | |
3313 | .ipv4 = true, | |
3314 | }, | |
3315 | .networks = { | |
3316 | "10.0.255.7/32", | |
3317 | }, | |
3318 | .adjacencies = { | |
3319 | { | |
3320 | .hostname = "rt5", | |
3321 | .metric = 10, | |
3322 | }, | |
3323 | { | |
3324 | .hostname = "rt6", | |
3325 | .metric = 10, | |
3326 | }, | |
3327 | }, | |
3328 | .flags = F_ISIS_TEST_NODE_SR, | |
3329 | }, | |
3330 | }, | |
3331 | }, | |
c8a4f331 RW |
3332 | { |
3333 | .number = 14, | |
3334 | .nodes = { | |
3335 | { | |
3336 | .hostname = "rt1", | |
3337 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
3338 | .level = IS_LEVEL_1, | |
3339 | .router_id = "10.0.255.1", | |
3340 | .protocols = { | |
3341 | .ipv4 = true, | |
3342 | .ipv6 = true, | |
3343 | }, | |
3344 | .networks = { | |
3345 | "10.0.255.1/32", | |
3346 | "2001:db8::1/128", | |
3347 | }, | |
3348 | .adjacencies = { | |
3349 | { | |
3350 | .hostname = "rt1", | |
3351 | .pseudonode_id = 1, | |
3352 | .metric = 10, | |
3353 | }, | |
3354 | { | |
3355 | .hostname = "rt2", | |
3356 | .metric = 10, | |
3357 | }, | |
3358 | }, | |
3359 | }, | |
3360 | { | |
3361 | .hostname = "rt2", | |
3362 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, | |
3363 | .level = IS_LEVEL_1, | |
3364 | .router_id = "10.0.255.2", | |
3365 | .protocols = { | |
3366 | .ipv4 = true, | |
3367 | .ipv6 = true, | |
3368 | }, | |
3369 | .networks = { | |
3370 | "10.0.255.2/32", | |
3371 | "2001:db8::2/128", | |
3372 | }, | |
3373 | .adjacencies = { | |
3374 | { | |
3375 | .hostname = "rt1", | |
3376 | .metric = 20, | |
3377 | }, | |
3378 | { | |
3379 | .hostname = "rt3", | |
3380 | .metric = 10, | |
3381 | }, | |
3382 | }, | |
3383 | }, | |
3384 | { | |
3385 | .hostname = "rt3", | |
3386 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}, | |
3387 | .level = IS_LEVEL_1, | |
3388 | .router_id = "10.0.255.3", | |
3389 | .protocols = { | |
3390 | .ipv4 = true, | |
3391 | .ipv6 = true, | |
3392 | }, | |
3393 | .networks = { | |
3394 | "10.0.255.3/32", | |
3395 | "2001:db8::3/128", | |
3396 | }, | |
3397 | .adjacencies = { | |
3398 | { | |
3399 | .hostname = "rt1", | |
3400 | .pseudonode_id = 1, | |
3401 | .metric = 10, | |
3402 | }, | |
3403 | { | |
3404 | .hostname = "rt2", | |
3405 | .metric = 10, | |
3406 | }, | |
3407 | { | |
3408 | .hostname = "rt5", | |
3409 | .metric = 50, | |
3410 | }, | |
3411 | }, | |
3412 | }, | |
3413 | { | |
3414 | .hostname = "rt4", | |
3415 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x04}, | |
3416 | .level = IS_LEVEL_1, | |
3417 | .router_id = "10.0.255.4", | |
3418 | .protocols = { | |
3419 | .ipv4 = true, | |
3420 | .ipv6 = true, | |
3421 | }, | |
3422 | .networks = { | |
3423 | "10.0.255.4/32", | |
3424 | "2001:db8::4/128", | |
3425 | }, | |
3426 | .adjacencies = { | |
3427 | { | |
3428 | .hostname = "rt1", | |
3429 | .pseudonode_id = 1, | |
3430 | .metric = 10, | |
3431 | }, | |
3432 | { | |
3433 | .hostname = "rt5", | |
3434 | .metric = 10, | |
3435 | }, | |
3436 | }, | |
3437 | }, | |
3438 | { | |
3439 | .hostname = "rt5", | |
3440 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x05}, | |
3441 | .level = IS_LEVEL_1, | |
3442 | .router_id = "10.0.255.5", | |
3443 | .protocols = { | |
3444 | .ipv4 = true, | |
3445 | .ipv6 = true, | |
3446 | }, | |
3447 | .networks = { | |
3448 | "10.0.255.5/32", | |
3449 | "2001:db8::5/128", | |
3450 | }, | |
3451 | .adjacencies = { | |
3452 | { | |
3453 | .hostname = "rt4", | |
3454 | .metric = 10, | |
3455 | }, | |
3456 | { | |
3457 | .hostname = "rt3", | |
3458 | .metric = 50, | |
3459 | }, | |
3460 | }, | |
3461 | }, | |
3462 | { | |
3463 | .hostname = "rt1", | |
3464 | .sysid = {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, | |
3465 | .pseudonode_id = 1, | |
3466 | .level = IS_LEVEL_1, | |
3467 | .adjacencies = { | |
3468 | { | |
3469 | .hostname = "rt1", | |
3470 | .metric = 0, | |
3471 | }, | |
3472 | { | |
3473 | .hostname = "rt3", | |
3474 | .metric = 0, | |
3475 | }, | |
3476 | { | |
3477 | .hostname = "rt4", | |
3478 | .metric = 0, | |
3479 | }, | |
3480 | }, | |
3481 | }, | |
3482 | }, | |
3483 | }, | |
52a7c25e RW |
3484 | { |
3485 | /* sentinel */ | |
3486 | }, | |
3487 | }; |