2 * Copyright (C) 2020 NetDEF, Inc.
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)
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
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
22 #include "isisd/isisd.h"
24 #include "test_common.h"
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 overridden).
42 * +----------+ +----------+
48 * +----+----+ +----+----+
53 * +----+----+ +----+----+
57 * +---+-+---+ +----+----+
62 * +----+----+ +----+----+
69 * +----------+ +----------+
79 * +----------+ +----------+
85 * +----+----+ | +----+----+
90 * +----+----+ | +----+----+
94 * +----+----+ | +----+----+
97 * | +----------+----------+ |
99 * +----+----+ +----+----+
106 * +----------+ +----------+
116 * +----------+ +----------+
122 * +----+----+ +----+----+
125 * | +---------------------+ |
127 * +----+----+ +----+----+
131 * +----+----+ +----+----+
134 * | +---------------------+ |
136 * +----+----+ +----+----+
143 * +----------+ +----------+
150 * +---------+ +---------+
153 * | +---------------------+ |
155 * +---+-----+ +------+--+
159 * +---+-----+ +------+--+
164 * +---+-----+ +------+--+
168 * +---+-----+ +------+--+
171 * | +---------------------+ |
173 * +---+-----+ +------+--+
177 * +---+-----+ +------+--+
182 * +---------+ +---------+
187 * +---------+ +---------+
190 * | +---------------------+ |
192 * +---+-----+ +------+--+
196 * +---+-----+ +------+--+
201 * +---+-----+ +------+--+
205 * +---+-----+ +------+--+
210 * +---+-----+ +------+--+
214 * +---+-----+ +------+--+
217 * | +---------------------+ |
219 * +---------+ +---------+
224 * +---------+ +---------+
227 * | +---------------------+ |
229 * +---+-----+ +------+--+
233 * +---+-----+ +------+--+
236 * | +---------------------+ |
238 * +---------+ +------+--+
242 * +---------+ +------+--+
245 * | +---------------------+ |
247 * +---+-----+ +------+--+
251 * +---+-----+ +------+--+
254 * | +---------------------+ |
256 * +---------+ +---------+
261 * +---------+ +---------+ +---------+
263 * | RT1 | 40 | RT2 | | RT3 |
264 * | +---------------------+ +---------------------+ |
266 * +---+-----+ +----+----+ +------+--+
270 * +---+-----+ +----+----+ +------+--+
272 * | RT4 | | RT5 | | RT6 |
273 * | +---------------------+ +---------------------+ |
275 * +---+-----+ +----+----+ +------+--+
279 * +---+-----+ +----+----+ +------+--+
281 * | RT7 | | RT8 | | RT9 |
282 * | +---------------------+ +---------------------+ |
284 * +---+-----+ +----+----+ +------+--+
288 * +---+-----+ +----+----+ +------+--+
290 * | RT10 | | RT11 | | RT12 |
291 * | +---------------------+ +---------------------+ |
293 * +---------+ +---------+ +---------+
298 * +---------+ +---------+ +---------+
300 * | RT1 | | RT2 | | RT3 |
301 * | +---------------------+ +---------------------+ |
303 * +---+-----+ +----+----+ +------+--+
307 * +---+-----+ +----+----+ +------+--+
309 * | RT4 | | RT5 | | RT6 |
310 * | | | +---------------------+ |
312 * +---+-----+ +----+----+ +---------+
316 * +---+-----+ +----+----+ +---------+
318 * | RT7 | | RT8 | | RT9 |
319 * | | | +---------------------+ |
321 * +---+-----+ +----+----+ +------+--+
325 * +---+-----+ +----+----+ +------+--+
327 * | RT10 | | RT11 | | RT12 |
328 * | +---------------------+ +---------------------+ |
330 * +---------+ +---------+ +---------+
338 * +----------+ +----------+
344 * +----+----+ +----+----+
349 * +----+----+ +------+--+
355 * +----------+ RT4 +------------+
356 * +----------------| |----------------+
358 * | | +---------+ | |
362 * +----+----+ +----+----+ +----+----+ +----+----+
364 * | RT5 | | RT6 | | RT7 | | RT8 |
367 * +----+----+ +----+----+ +----+----+ +----+----+
371 * | | +---------+ | |
373 * +----------------+ RT9 +----------------+
384 * +----------+ +----------+
390 * +----+----+ +----+----+ +----+----+
392 * | RT2 | | RT3 | | RT4 |
395 * +----+----+ +----+----+ +----+----+
399 * +----+----+ +----+----+ +----+----+
401 * | RT5 | | RT6 | | RT7 |
404 * +----+----+ +----+----+ +----+----+
410 * +----------+ RT8 +----------+
427 * +---------+ | +---------+
429 * | RT2 |50 | | RT3 |
430 * | +----------+----------+ |
432 * +----+----+ +----+----+
436 * +----+----+ +----+----+
439 * | +---------------------+ |
441 * +----+----+ +----+----+
448 * +----------+ +----------+
455 * +---------+ +---------+
458 * | +---------------------+ |
460 * +---+-----+ +------+--+
464 * +---+-----+ +------+--+
469 * +---+-----+ +------+--+
473 * +---+-----+ +------+--+
478 * +---+-----+ +------+--+
482 * +---+-----+ +------+--+
485 * | +---------------------+ |
487 * +---+-----+ +------+--+
491 * +---+-----+ +------+--+
496 * +---------+ +---------+
501 * +---------+ +---------+
504 * | +---------------------+ |
506 * +---+-----+ +----+----+
512 * | +----------+ RT4 |
516 * | RT3 +----------+ |
517 * | +----------+ |100
519 * +---+-----+ | +----+----+
528 * +---+-----+ +----+----+
531 * | +---------------------+ |
533 * +---------+ +---------+
538 * +---------+ +---------+
541 * | +--------------+ |
543 * +----+----+ +----+----+
550 * +-------------------+ |
556 * +----+----+ +----+----+
559 * | +--------------+ |
561 * +---------+ +---------+
564 struct isis_topology test_topologies
[] = {
570 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
572 .router_id
= "10.0.255.1",
591 .flags
= F_ISIS_TEST_NODE_SR
,
595 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
597 .router_id
= "10.0.255.2",
616 .flags
= F_ISIS_TEST_NODE_SR
,
620 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
622 .router_id
= "10.0.255.3",
641 .flags
= F_ISIS_TEST_NODE_SR
,
645 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
647 .router_id
= "10.0.255.4",
666 .flags
= F_ISIS_TEST_NODE_SR
,
670 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
672 .router_id
= "10.0.255.5",
691 .flags
= F_ISIS_TEST_NODE_SR
,
695 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
697 .router_id
= "10.0.255.6",
716 .flags
= F_ISIS_TEST_NODE_SR
,
725 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
727 .router_id
= "10.0.255.1",
751 .flags
= F_ISIS_TEST_NODE_SR
,
755 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
757 .router_id
= "10.0.255.2",
776 .flags
= F_ISIS_TEST_NODE_SR
,
780 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
782 .router_id
= "10.0.255.3",
801 .flags
= F_ISIS_TEST_NODE_SR
,
805 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
807 .router_id
= "10.0.255.4",
831 .flags
= F_ISIS_TEST_NODE_SR
,
835 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
837 .router_id
= "10.0.255.5",
861 .flags
= F_ISIS_TEST_NODE_SR
,
865 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
867 .router_id
= "10.0.255.6",
886 .flags
= F_ISIS_TEST_NODE_SR
,
890 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
915 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
917 .router_id
= "10.0.255.1",
934 .flags
= F_ISIS_TEST_NODE_SR
,
938 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
940 .router_id
= "10.0.255.2",
961 .flags
= F_ISIS_TEST_NODE_SR
,
965 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
967 .router_id
= "10.0.255.3",
988 .flags
= F_ISIS_TEST_NODE_SR
,
992 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
994 .router_id
= "10.0.255.4",
1015 .flags
= F_ISIS_TEST_NODE_SR
,
1019 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
1020 .level
= IS_LEVEL_1
,
1021 .router_id
= "10.0.255.5",
1042 .flags
= F_ISIS_TEST_NODE_SR
,
1046 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
1047 .level
= IS_LEVEL_1
,
1048 .router_id
= "10.0.255.6",
1065 .flags
= F_ISIS_TEST_NODE_SR
,
1074 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
1075 .level
= IS_LEVEL_1
,
1076 .router_id
= "10.0.255.1",
1093 .flags
= F_ISIS_TEST_NODE_SR
,
1097 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
1098 .level
= IS_LEVEL_1
,
1099 .router_id
= "10.0.255.2",
1116 .flags
= F_ISIS_TEST_NODE_SR
,
1120 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
1121 .level
= IS_LEVEL_1
,
1122 .router_id
= "10.0.255.3",
1139 .flags
= F_ISIS_TEST_NODE_SR
,
1143 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
1144 .level
= IS_LEVEL_1
,
1145 .router_id
= "10.0.255.4",
1162 .flags
= F_ISIS_TEST_NODE_SR
,
1166 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
1167 .level
= IS_LEVEL_1
,
1168 .router_id
= "10.0.255.5",
1189 .flags
= F_ISIS_TEST_NODE_SR
,
1193 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
1194 .level
= IS_LEVEL_1
,
1195 .router_id
= "10.0.255.6",
1216 .flags
= F_ISIS_TEST_NODE_SR
,
1220 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
1221 .level
= IS_LEVEL_1
,
1222 .router_id
= "10.0.255.7",
1235 .flags
= F_ISIS_TEST_NODE_SR
,
1239 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x08},
1240 .level
= IS_LEVEL_1
,
1241 .router_id
= "10.0.255.8",
1254 .flags
= F_ISIS_TEST_NODE_SR
,
1263 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
1264 .level
= IS_LEVEL_1
,
1265 .router_id
= "10.0.255.1",
1282 .flags
= F_ISIS_TEST_NODE_SR
,
1286 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
1287 .level
= IS_LEVEL_1
,
1288 .router_id
= "10.0.255.2",
1305 .flags
= F_ISIS_TEST_NODE_SR
,
1309 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
1310 .level
= IS_LEVEL_1
,
1311 .router_id
= "10.0.255.3",
1328 .flags
= F_ISIS_TEST_NODE_SR
,
1332 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
1333 .level
= IS_LEVEL_1
,
1334 .router_id
= "10.0.255.4",
1351 .flags
= F_ISIS_TEST_NODE_SR
,
1355 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
1356 .level
= IS_LEVEL_1
,
1357 .router_id
= "10.0.255.5",
1374 .flags
= F_ISIS_TEST_NODE_SR
,
1378 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
1379 .level
= IS_LEVEL_1
,
1380 .router_id
= "10.0.255.6",
1397 .flags
= F_ISIS_TEST_NODE_SR
,
1401 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
1402 .level
= IS_LEVEL_1
,
1403 .router_id
= "10.0.255.7",
1420 .flags
= F_ISIS_TEST_NODE_SR
,
1424 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x08},
1425 .level
= IS_LEVEL_1
,
1426 .router_id
= "10.0.255.8",
1443 .flags
= F_ISIS_TEST_NODE_SR
,
1452 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
1453 .level
= IS_LEVEL_1
,
1454 .router_id
= "10.0.255.1",
1471 .flags
= F_ISIS_TEST_NODE_SR
,
1475 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
1476 .level
= IS_LEVEL_1
,
1477 .router_id
= "10.0.255.2",
1494 .flags
= F_ISIS_TEST_NODE_SR
,
1498 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
1499 .level
= IS_LEVEL_1
,
1500 .router_id
= "10.0.255.3",
1517 .flags
= F_ISIS_TEST_NODE_SR
,
1521 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
1522 .level
= IS_LEVEL_1
,
1523 .router_id
= "10.0.255.4",
1544 .flags
= F_ISIS_TEST_NODE_SR
,
1548 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
1549 .level
= IS_LEVEL_1
,
1550 .router_id
= "10.0.255.5",
1567 .flags
= F_ISIS_TEST_NODE_SR
,
1571 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
1572 .level
= IS_LEVEL_1
,
1573 .router_id
= "10.0.255.6",
1594 .flags
= F_ISIS_TEST_NODE_SR
,
1598 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
1599 .level
= IS_LEVEL_1
,
1600 .router_id
= "10.0.255.7",
1617 .flags
= F_ISIS_TEST_NODE_SR
,
1621 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x08},
1622 .level
= IS_LEVEL_1
,
1623 .router_id
= "10.0.255.8",
1640 .flags
= F_ISIS_TEST_NODE_SR
,
1649 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
1650 .level
= IS_LEVEL_1
,
1651 .router_id
= "10.0.255.1",
1668 .flags
= F_ISIS_TEST_NODE_SR
,
1672 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
1673 .level
= IS_LEVEL_1
,
1674 .router_id
= "10.0.255.2",
1695 .flags
= F_ISIS_TEST_NODE_SR
,
1699 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
1700 .level
= IS_LEVEL_1
,
1701 .router_id
= "10.0.255.3",
1718 .flags
= F_ISIS_TEST_NODE_SR
,
1722 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
1723 .level
= IS_LEVEL_1
,
1724 .router_id
= "10.0.255.4",
1745 .flags
= F_ISIS_TEST_NODE_SR
,
1749 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
1750 .level
= IS_LEVEL_1
,
1751 .router_id
= "10.0.255.5",
1776 .flags
= F_ISIS_TEST_NODE_SR
,
1780 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
1781 .level
= IS_LEVEL_1
,
1782 .router_id
= "10.0.255.6",
1803 .flags
= F_ISIS_TEST_NODE_SR
,
1807 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
1808 .level
= IS_LEVEL_1
,
1809 .router_id
= "10.0.255.7",
1830 .flags
= F_ISIS_TEST_NODE_SR
,
1834 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x08},
1835 .level
= IS_LEVEL_1
,
1836 .router_id
= "10.0.255.8",
1861 .flags
= F_ISIS_TEST_NODE_SR
,
1865 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x09},
1866 .level
= IS_LEVEL_1
,
1867 .router_id
= "10.0.255.9",
1888 .flags
= F_ISIS_TEST_NODE_SR
,
1892 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x0a},
1893 .level
= IS_LEVEL_1
,
1894 .router_id
= "10.0.255.10",
1911 .flags
= F_ISIS_TEST_NODE_SR
,
1915 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x0b},
1916 .level
= IS_LEVEL_1
,
1917 .router_id
= "10.0.255.11",
1938 .flags
= F_ISIS_TEST_NODE_SR
,
1942 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x0c},
1943 .level
= IS_LEVEL_1
,
1944 .router_id
= "10.0.255.12",
1961 .flags
= F_ISIS_TEST_NODE_SR
,
1970 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
1971 .level
= IS_LEVEL_1
,
1972 .router_id
= "10.0.255.1",
1989 .flags
= F_ISIS_TEST_NODE_SR
,
1993 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
1994 .level
= IS_LEVEL_1
,
1995 .router_id
= "10.0.255.2",
2016 .flags
= F_ISIS_TEST_NODE_SR
,
2020 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
2021 .level
= IS_LEVEL_1
,
2022 .router_id
= "10.0.255.3",
2039 .flags
= F_ISIS_TEST_NODE_SR
,
2043 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
2044 .level
= IS_LEVEL_1
,
2045 .router_id
= "10.0.255.4",
2062 .flags
= F_ISIS_TEST_NODE_SR
,
2066 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
2067 .level
= IS_LEVEL_1
,
2068 .router_id
= "10.0.255.5",
2089 .flags
= F_ISIS_TEST_NODE_SR
,
2093 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
2094 .level
= IS_LEVEL_1
,
2095 .router_id
= "10.0.255.6",
2112 .flags
= F_ISIS_TEST_NODE_SR
,
2116 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
2117 .level
= IS_LEVEL_1
,
2118 .router_id
= "10.0.255.7",
2135 .flags
= F_ISIS_TEST_NODE_SR
,
2139 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x08},
2140 .level
= IS_LEVEL_1
,
2141 .router_id
= "10.0.255.8",
2162 .flags
= F_ISIS_TEST_NODE_SR
,
2166 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x09},
2167 .level
= IS_LEVEL_1
,
2168 .router_id
= "10.0.255.9",
2185 .flags
= F_ISIS_TEST_NODE_SR
,
2189 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x0a},
2190 .level
= IS_LEVEL_1
,
2191 .router_id
= "10.0.255.10",
2208 .flags
= F_ISIS_TEST_NODE_SR
,
2212 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x0b},
2213 .level
= IS_LEVEL_1
,
2214 .router_id
= "10.0.255.11",
2235 .flags
= F_ISIS_TEST_NODE_SR
,
2239 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x0c},
2240 .level
= IS_LEVEL_1
,
2241 .router_id
= "10.0.255.12",
2258 .flags
= F_ISIS_TEST_NODE_SR
,
2267 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
2268 .level
= IS_LEVEL_1
,
2269 .router_id
= "10.0.255.1",
2288 .flags
= F_ISIS_TEST_NODE_SR
,
2292 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
2293 .level
= IS_LEVEL_1
,
2294 .router_id
= "10.0.255.2",
2313 .flags
= F_ISIS_TEST_NODE_SR
,
2317 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
2318 .level
= IS_LEVEL_1
,
2319 .router_id
= "10.0.255.3",
2338 .flags
= F_ISIS_TEST_NODE_SR
,
2342 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
2343 .level
= IS_LEVEL_1
,
2344 .router_id
= "10.0.255.4",
2379 .flags
= F_ISIS_TEST_NODE_SR
,
2383 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
2384 .level
= IS_LEVEL_1
,
2385 .router_id
= "10.0.255.5",
2404 .flags
= F_ISIS_TEST_NODE_SR
,
2408 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
2409 .level
= IS_LEVEL_1
,
2410 .router_id
= "10.0.255.6",
2429 .flags
= F_ISIS_TEST_NODE_SR
,
2433 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
2434 .level
= IS_LEVEL_1
,
2435 .router_id
= "10.0.255.7",
2454 .flags
= F_ISIS_TEST_NODE_SR
,
2458 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x08},
2459 .level
= IS_LEVEL_1
,
2460 .router_id
= "10.0.255.8",
2479 .flags
= F_ISIS_TEST_NODE_SR
,
2483 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x09},
2484 .level
= IS_LEVEL_1
,
2485 .router_id
= "10.0.255.9",
2512 .flags
= F_ISIS_TEST_NODE_SR
,
2521 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
2522 .level
= IS_LEVEL_1
,
2523 .router_id
= "10.0.255.1",
2546 .flags
= F_ISIS_TEST_NODE_SR
,
2550 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
2551 .level
= IS_LEVEL_1
,
2552 .router_id
= "10.0.255.2",
2571 .flags
= F_ISIS_TEST_NODE_SR
,
2575 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
2576 .level
= IS_LEVEL_1
,
2577 .router_id
= "10.0.255.3",
2579 .lower_bound
= 20000,
2600 .flags
= F_ISIS_TEST_NODE_SR
,
2604 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
2605 .level
= IS_LEVEL_1
,
2606 .router_id
= "10.0.255.4",
2625 .flags
= F_ISIS_TEST_NODE_SR
,
2629 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
2630 .level
= IS_LEVEL_1
,
2631 .router_id
= "10.0.255.5",
2650 .flags
= F_ISIS_TEST_NODE_SR
,
2654 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
2655 .level
= IS_LEVEL_1
,
2656 .router_id
= "10.0.255.6",
2675 .flags
= F_ISIS_TEST_NODE_SR
,
2679 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
2680 .level
= IS_LEVEL_1
,
2681 .router_id
= "10.0.255.7",
2700 .flags
= F_ISIS_TEST_NODE_SR
,
2704 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x08},
2705 .level
= IS_LEVEL_1
,
2706 .router_id
= "10.0.255.8",
2729 .flags
= F_ISIS_TEST_NODE_SR
,
2738 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
2739 .level
= IS_LEVEL_1
,
2740 .router_id
= "10.0.255.1",
2756 .flags
= F_ISIS_TEST_NODE_SR
,
2760 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
2761 .level
= IS_LEVEL_1
,
2762 .router_id
= "10.0.255.2",
2782 .flags
= F_ISIS_TEST_NODE_SR
,
2786 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
2787 .level
= IS_LEVEL_1
,
2788 .router_id
= "10.0.255.3",
2808 .flags
= F_ISIS_TEST_NODE_SR
,
2812 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
2813 .level
= IS_LEVEL_1
,
2814 .router_id
= "10.0.255.4",
2837 .flags
= F_ISIS_TEST_NODE_SR
,
2841 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
2842 .level
= IS_LEVEL_1
,
2843 .router_id
= "10.0.255.5",
2866 .flags
= F_ISIS_TEST_NODE_SR
,
2870 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
2871 .level
= IS_LEVEL_1
,
2872 .router_id
= "10.0.255.6",
2891 .flags
= F_ISIS_TEST_NODE_SR
,
2895 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
2897 .level
= IS_LEVEL_1
,
2920 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
2921 .level
= IS_LEVEL_1
,
2922 .router_id
= "10.0.255.1",
2939 .flags
= F_ISIS_TEST_NODE_SR
,
2943 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
2944 .level
= IS_LEVEL_1
,
2945 .router_id
= "10.0.255.2",
2962 .flags
= F_ISIS_TEST_NODE_SR
,
2966 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
2967 .level
= IS_LEVEL_1
,
2968 .router_id
= "10.0.255.3",
2985 .flags
= F_ISIS_TEST_NODE_SR
,
2989 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
2990 .level
= IS_LEVEL_1
,
2991 .router_id
= "10.0.255.4",
3008 .flags
= F_ISIS_TEST_NODE_SR
,
3012 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
3013 .level
= IS_LEVEL_1
,
3014 .router_id
= "10.0.255.5",
3031 .flags
= F_ISIS_TEST_NODE_SR
,
3035 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
3036 .level
= IS_LEVEL_1
,
3037 .router_id
= "10.0.255.6",
3054 .flags
= F_ISIS_TEST_NODE_SR
,
3058 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
3059 .level
= IS_LEVEL_1
,
3060 .router_id
= "10.0.255.7",
3081 .flags
= F_ISIS_TEST_NODE_SR
,
3085 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x08},
3086 .level
= IS_LEVEL_1
,
3087 .router_id
= "10.0.255.8",
3108 .flags
= F_ISIS_TEST_NODE_SR
,
3112 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x09},
3113 .level
= IS_LEVEL_1
,
3114 .router_id
= "10.0.255.9",
3127 .flags
= F_ISIS_TEST_NODE_SR
,
3131 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x0a},
3132 .level
= IS_LEVEL_1
,
3133 .router_id
= "10.0.255.10",
3146 .flags
= F_ISIS_TEST_NODE_SR
,
3155 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
3156 .level
= IS_LEVEL_1
,
3157 .router_id
= "10.0.255.1",
3174 .flags
= F_ISIS_TEST_NODE_SR
,
3178 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
3179 .level
= IS_LEVEL_1
,
3180 .router_id
= "10.0.255.2",
3197 .flags
= F_ISIS_TEST_NODE_SR
,
3201 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
3202 .level
= IS_LEVEL_1
,
3203 .router_id
= "10.0.255.3",
3228 .flags
= F_ISIS_TEST_NODE_SR
,
3232 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
3233 .level
= IS_LEVEL_1
,
3234 .router_id
= "10.0.255.4",
3255 .flags
= F_ISIS_TEST_NODE_SR
,
3259 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
3260 .level
= IS_LEVEL_1
,
3261 .router_id
= "10.0.255.5",
3282 .flags
= F_ISIS_TEST_NODE_SR
,
3286 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
3287 .level
= IS_LEVEL_1
,
3288 .router_id
= "10.0.255.6",
3305 .flags
= F_ISIS_TEST_NODE_SR
,
3309 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x07},
3310 .level
= IS_LEVEL_1
,
3311 .router_id
= "10.0.255.7",
3328 .flags
= F_ISIS_TEST_NODE_SR
,
3337 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
3338 .level
= IS_LEVEL_1
,
3339 .router_id
= "10.0.255.1",
3362 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x02},
3363 .level
= IS_LEVEL_1
,
3364 .router_id
= "10.0.255.2",
3386 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x03},
3387 .level
= IS_LEVEL_1
,
3388 .router_id
= "10.0.255.3",
3415 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x04},
3416 .level
= IS_LEVEL_1
,
3417 .router_id
= "10.0.255.4",
3440 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x05},
3441 .level
= IS_LEVEL_1
,
3442 .router_id
= "10.0.255.5",
3464 .sysid
= {0x00, 0x00, 0x00, 0x00, 0x00, 0x01},
3466 .level
= IS_LEVEL_1
,