Skip to content

Commit a806117

Browse files
committed
FRR IS-IS tests for #2538
1 parent c6b2793 commit a806117

31 files changed

+654
-269
lines changed

_html/frr-clab-isis.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h2>
107107
&#x2705;
108108
</a>
109109

110-
<td>2025-07-11 19:21:16</td>
110+
<td>2025-07-12 14:41:08</td>
111111
<td>quay.io/frrouting/frr:10.3.1</td>
112112
<tr>
113113
<td><a title="IPv6" href="https://github.com/ipspace/netlab/blob/dev/tests/integration/isis/02-ipv6.yml">02-ipv6</a></td>
@@ -128,7 +128,7 @@ <h2>
128128
&#x2705;
129129
</a>
130130

131-
<td>2025-07-11 19:21:30</td>
131+
<td>2025-07-12 14:41:21</td>
132132
<td>quay.io/frrouting/frr:10.3.1</td>
133133
<tr>
134134
<td><a title="Dual stack" href="https://github.com/ipspace/netlab/blob/dev/tests/integration/isis/03-dual-stack.yml">03-dual-stack</a></td>
@@ -149,7 +149,7 @@ <h2>
149149
&#x2705;
150150
</a>
151151

152-
<td>2025-07-11 19:21:44</td>
152+
<td>2025-07-12 14:41:35</td>
153153
<td>quay.io/frrouting/frr:10.3.1</td>
154154
<tr>
155155
<td><a title="Point-to-point networks" href="https://github.com/ipspace/netlab/blob/dev/tests/integration/isis/10-network.yml">10-network</a></td>
@@ -170,7 +170,7 @@ <h2>
170170
&#x2705;
171171
</a>
172172

173-
<td>2025-07-11 19:21:56</td>
173+
<td>2025-07-12 14:41:46</td>
174174
<td>quay.io/frrouting/frr:10.3.1</td>
175175
<tr>
176176
<td><a title="Interface metric" href="https://github.com/ipspace/netlab/blob/dev/tests/integration/isis/11-cost.yml">11-cost</a></td>
@@ -191,7 +191,7 @@ <h2>
191191
&#x2705;
192192
</a>
193193

194-
<td>2025-07-11 19:22:07</td>
194+
<td>2025-07-12 14:41:58</td>
195195
<td>quay.io/frrouting/frr:10.3.1</td>
196196
<tr>
197197
<td><a title="Passive interfaces" href="https://github.com/ipspace/netlab/blob/dev/tests/integration/isis/12-passive.yml">12-passive</a></td>
@@ -212,7 +212,7 @@ <h2>
212212
&#x2705;
213213
</a>
214214

215-
<td>2025-07-11 19:22:33</td>
215+
<td>2025-07-12 14:42:23</td>
216216
<td>quay.io/frrouting/frr:10.3.1</td>
217217
<tr>
218218
<td><a title="Route import" href="https://github.com/ipspace/netlab/blob/dev/tests/integration/isis/21-import-ds.yml">21-import-ds</a></td>
@@ -233,7 +233,7 @@ <h2>
233233
&#x2705;
234234
</a>
235235

236-
<td>2025-07-11 19:23:01</td>
236+
<td>2025-07-12 14:43:01</td>
237237
<td>quay.io/frrouting/frr:10.3.1</td>
238238
<tr>
239239
<td><a title="VRF instances" href="https://github.com/ipspace/netlab/blob/dev/tests/integration/isis/30-vrf.yml">30-vrf</a></td>
@@ -254,7 +254,7 @@ <h2>
254254
&#x2705;
255255
</a>
256256

257-
<td>2025-07-11 19:23:27</td>
257+
<td>2025-07-12 14:43:26</td>
258258
<td>quay.io/frrouting/frr:10.3.1</td>
259259
</table>
260260
<p><b>Notes:</b></p>

frr/clab/isis/01-ipv4.yml-initial.log

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,14 +410,14 @@ TASK [include_tasks] ***********************************************************
410410
included: /home/pipi/net101/tools/netsim/ansible/tasks/frr/deploy-config.yml for dut, x1, x2
411411

412412
TASK [template] ****************************************************************
413-
changed: [x2]
414413
changed: [dut]
414+
changed: [x2]
415415
changed: [x1]
416416

417417
TASK [set_fact] ****************************************************************
418418
ok: [dut]
419-
ok: [x1]
420419
ok: [x2]
420+
ok: [x1]
421421

422422
TASK [run /tmp/config.sh to deploy initial config from /home/pipi/net101/tools/netsim/ansible/templates/initial/frr.j2] ***
423423
changed: [x1]
@@ -570,8 +570,8 @@ skipping: [x1]
570570
skipping: [x2]
571571

572572
TASK [run vtysh to import isis config from /home/pipi/net101/tools/netsim/ansible/templates/isis/frr.j2] ***
573-
changed: [x2]
574573
changed: [x1]
574+
changed: [x2]
575575
changed: [dut]
576576

577577
PLAY [Deploy custom deployment templates] **************************************

frr/clab/isis/01-ipv4.yml-snapshot.yml

Lines changed: 63 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ message: |
55
router with two LAN interfaces connected to adjacent IS-IS routers. One of
66
the adjacent routers is a level-1-2 router to catch the potential router
77
level mismatch.
8-
module:
9-
- isis
108
defaults:
119
provider: clab
1210
providers:
@@ -1223,6 +1221,8 @@ defaults:
12231221
eos:
12241222
serialnumber: str
12251223
systemmacaddr: mac
1224+
warnings:
1225+
ospf_stub: false
12261226
fortios:
12271227
description: Fortinet FortiOS firewall
12281228
interface_name: port{ifindex}
@@ -1769,6 +1769,9 @@ defaults:
17691769
- pvrst
17701770
enable_per_port: true
17711771
port_type: true
1772+
lag:
1773+
mlag: false
1774+
passive: true
17721775
external:
17731776
image: none
17741777
graphite:
@@ -1789,6 +1792,7 @@ defaults:
17891792
kind: cisco_iol
17901793
type: l2
17911794
mtu: 1500
1795+
lag_interface_name: Port-channel{lag.ifindex}
17921796
iosv:
17931797
description: Cisco IOSv
17941798
loopback_interface_name: Loopback{ifindex}
@@ -2104,6 +2108,9 @@ defaults:
21042108
- pvrst
21052109
enable_per_port: true
21062110
port_type: true
2111+
lag:
2112+
mlag: false
2113+
passive: true
21072114
external:
21082115
image: none
21092116
graphite:
@@ -2126,6 +2133,7 @@ defaults:
21262133
interface:
21272134
name: eth{ifindex}
21282135
build: https://github.com/hellt/vrnetlab/tree/master/viosl2
2136+
lag_interface_name: Port-channel{lag.ifindex}
21292137
iosxr:
21302138
description: Cisco IOS XRv
21312139
mgmt_if: MgmtEth0/RP0/CPU0/0
@@ -2911,6 +2919,8 @@ defaults:
29112919
image: none
29122920
graphite:
29132921
icon: router
2922+
warnings:
2923+
loopback_ipv6: false
29142924
unknown:
29152925
description: Generic Unknown Device
29162926
interface_name: eth{ifindex}
@@ -3412,6 +3422,7 @@ defaults:
34123422
description: VyOS VM/container
34133423
interface_name: eth{ifindex}
34143424
loopback_interface_name: dum{ifindex}
3425+
lag_interface_name: bond{lag.ifindex}
34153426
mgmt_if: eth0
34163427
libvirt:
34173428
image: vyos/current
@@ -3446,6 +3457,8 @@ defaults:
34463457
protocol:
34473458
- vrrp
34483459
isis: {}
3460+
lag:
3461+
passive: false
34493462
mpls:
34503463
ldp: true
34513464
vpn:
@@ -4089,13 +4102,13 @@ defaults:
40894102
suzieq:
40904103
runtime: docker
40914104
docker:
4092-
up: docker run --rm -itd --name '{name}_suzieq' {sys.docker_net} -v
4093-
'{name}_suzieq':/parquet -v './suzieq':/suzieq netenglabs/suzieq-demo
4094-
-c 'sq-poller -I /suzieq/suzieq-inventory.yml'
4105+
up: docker run -itd --name '{name}_suzieq' {sys.docker_net} -v
4106+
'{name}_suzieq_data':/parquet -v './suzieq':/suzieq
4107+
netenglabs/suzieq-demo -c 'sq-poller -I /suzieq/suzieq-inventory.yml'
40954108
message: Use 'netlab connect suzieq' to start SuzieQ CLI
40964109
connect: docker exec -it '{name}_suzieq' /usr/local/bin/suzieq-cli
4097-
down: docker kill '{name}_suzieq'
4098-
cleanup: docker volume rm '{name}_suzieq'
4110+
down: docker kill '{name}_suzieq'; docker rm '{name}_suzieq'
4111+
cleanup: docker volume rm '{name}_suzieq_data'
40994112
config:
41004113
- dest: suzieq-inventory.yml
41014114
template: suzieq.inventory.j2
@@ -4771,6 +4784,33 @@ defaults:
47714784
ifname:
47724785
neighbors: 5
47734786
maxlength: 255
4787+
validate:
4788+
ping: 5
4789+
ping_long: 15
4790+
vxlan_ping: 20
4791+
ping_xx_long: 40
4792+
ra_send: 30
4793+
ospfv2_adj_p2p: 30
4794+
ospfv2_adj_lan: 50
4795+
ospfv2_spf: 10
4796+
ospfv3_adj_p2p: 30
4797+
ospfv3_adj_lan: 50
4798+
ospfv3_spf: 10
4799+
ospf_import: 20
4800+
ebgp_session: 30
4801+
ibgp_session: 30
4802+
bgp_scan_time: 5
4803+
bgp_scan_long: 15
4804+
bgp_ios_redist: 60
4805+
isis_adj_p2p: 20
4806+
isis_adj_lan: 50
4807+
isis_spf: 15
4808+
isis_spf_long: 45
4809+
rip_start: 60
4810+
rip_update: 20
4811+
ldp_adj: 30
4812+
stp_forwarding: 40
4813+
lacp_setup: 10
47744814
hints:
47754815
evpn:
47764816
irb_group: >
@@ -4955,6 +4995,8 @@ defaults:
49554995
netconf: 830
49564996
warnings:
49574997
duplicate_address: true
4998+
providers:
4999+
change: false
49585000
bfd:
49595001
min_echo_rx: 0
49605002
multiplier: 3
@@ -5743,11 +5785,14 @@ defaults:
57435785
dnsmasq: true
57445786
eos: true
57455787
frr: true
5788+
ioll2: true
5789+
iosvl2: true
57465790
linux: true
57475791
none: true
57485792
vjunos-switch: true
57495793
vptx: true
57505794
vsrx: true
5795+
vyos: true
57515796
mpls:
57525797
config_after:
57535798
- vlan
@@ -6825,13 +6870,15 @@ defaults:
68256870
netlab_show_config: true
68266871
members: []
68276872
_default_group: true
6828-
interfaces:
6829-
mtu: 1500
68306873
sources:
6874+
extra:
6875+
- ../wait_times.yml
6876+
- ../warnings.yml
68316877
list: []
6832-
extra: []
68336878
user: []
68346879
system: []
6880+
interfaces:
6881+
mtu: 1500
68356882
workdir: /work/netlab_cicd
68366883
device: frr
68376884
plugin:
@@ -6859,6 +6906,8 @@ defaults:
68596906
module:
68606907
- isis
68616908
name: ml_17
6909+
module:
6910+
- isis
68626911
groups:
68636912
probes:
68646913
device: frr
@@ -7101,7 +7150,7 @@ links:
71017150
validate:
71027151
- description: Check IS-IS adjacencies
71037152
wait_msg: Waiting for IS-IS adjacency process to complete
7104-
wait: 30
7153+
wait: 20
71057154
nodes:
71067155
- x1
71077156
- x2
@@ -7131,13 +7180,15 @@ validate:
71317180
name: sys_id
71327181
- description: End-to-end connectivity test
71337182
wait_msg: Waiting for IS-IS SPF run
7134-
wait: 10
7183+
wait: 15
71357184
nodes:
71367185
- x1
71377186
plugin: ping(nodes.x2.loopback.ipv4,src=nodes.x1.loopback.ipv4)
71387187
name: ping
71397188
input:
71407189
- /home/pipi/net101/tools/tests/integration/isis/01-ipv4.yml
7190+
- /home/pipi/net101/tools/tests/integration/wait_times.yml
7191+
- /home/pipi/net101/tools/tests/integration/warnings.yml
71417192
- /home/pipi/net101/tools/tests/integration/isis/topology-defaults.yml
71427193
- /home/pipi/.netlab.yml
71437194
- package:topology-defaults.yml

frr/clab/isis/01-ipv4.yml-up.log

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
19:21:08 INFO Containerlab started version=0.68.0
2-
19:21:08 INFO Parsing & checking topology file=clab.yml
3-
19:21:08 INFO Removing directory path=/work/netlab_cicd/clab-ml_17
4-
19:21:08 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet="" MTU=0
5-
19:21:08 INFO Creating lab directory path=/work/netlab_cicd/clab-ml_17
6-
19:21:09 INFO Creating container name=x2
7-
19:21:09 INFO Creating container name=dut
8-
19:21:09 INFO Creating container name=x1
9-
19:21:09 INFO Created link: dut:eth2 ▪┄┄▪ x2:eth1
10-
19:21:09 INFO Created link: dut:eth1 ▪┄┄▪ x1:eth1
11-
19:21:09 INFO Adding host entries path=/etc/hosts
12-
19:21:09 INFO Adding SSH config for nodes path=/etc/ssh/ssh_config.d/clab-ml_17.conf
1+
14:41:00 INFO Containerlab started version=0.68.0
2+
14:41:00 INFO Parsing & checking topology file=clab.yml
3+
14:41:00 INFO Removing directory path=/work/netlab_cicd/clab-ml_17
4+
14:41:00 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet="" MTU=0
5+
14:41:00 INFO Creating lab directory path=/work/netlab_cicd/clab-ml_17
6+
14:41:00 INFO Creating container name=x2
7+
14:41:00 INFO Creating container name=dut
8+
14:41:00 INFO Creating container name=x1
9+
14:41:01 INFO Created link: dut:eth1 ▪┄┄▪ x1:eth1
10+
14:41:01 INFO Created link: dut:eth2 ▪┄┄▪ x2:eth1
11+
14:41:01 INFO Adding host entries path=/etc/hosts
12+
14:41:01 INFO Adding SSH config for nodes path=/etc/ssh/ssh_config.d/clab-ml_17.conf
1313
╭────────────────┬──────────────────────────────┬─────────┬────────────────╮
1414
│ Name │ Kind/Image │ State │ IPv4/6 Address │
1515
├────────────────┼──────────────────────────────┼─────────┼────────────────┤

frr/clab/isis/02-ipv6.yml-initial.log

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ TASK [include_tasks] ***********************************************************
429429
included: /home/pipi/net101/tools/netsim/ansible/tasks/frr/deploy-config.yml for dut, x1, x2
430430

431431
TASK [template] ****************************************************************
432-
changed: [x1]
433-
changed: [x2]
434432
changed: [dut]
433+
changed: [x2]
434+
changed: [x1]
435435

436436
TASK [set_fact] ****************************************************************
437437
ok: [dut]
@@ -440,8 +440,8 @@ ok: [x2]
440440

441441
TASK [run /tmp/config.sh to deploy initial config from /home/pipi/net101/tools/netsim/ansible/templates/initial/frr.j2] ***
442442
changed: [x1]
443-
changed: [dut]
444443
changed: [x2]
444+
changed: [dut]
445445

446446
TASK [run vtysh to import initial config from /home/pipi/net101/tools/netsim/ansible/templates/initial/frr.j2] ***
447447
skipping: [dut]
@@ -580,8 +580,8 @@ TASK [Deploy isis configuration] ***********************************************
580580
included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/frr.yml for dut, x1, x2
581581

582582
TASK [template] ****************************************************************
583-
changed: [dut]
584583
changed: [x1]
584+
changed: [dut]
585585
changed: [x2]
586586

587587
TASK [set_fact] ****************************************************************

0 commit comments

Comments
 (0)