TEST REPORT

SUMMARY

Description               "scenario_isis" result report

Start Time                   2026-10-03T06:49:16.448458

Index Scenario Time Stamp Pass/Fail
1 Print Topology Image 06:50:24 1 / 0
2 Session Check 06:50:24 5 / 0
3 Assign IP Address 06:50:24 32 / 0
4 Set Default Network 06:54:02 13 / 0
5 Set Router Level 06:55:47 17 / 0
6 Set Circuit Level 06:57:20 6 / 0
7 Set Circuit Metric 06:57:53 10 / 0
8 Set Circuit Authentication - Text 06:59:03 10 / 0
9 Delete Circuit Authentication - Text 07:17:14 5 / 0
10 Set Circuit Authentication - MD5 07:17:41 10 / 0
11 Delete Circuit Authentication - MD5 07:33:06 6 / 0
12 Set Circuit Priority 07:33:39 7 / 0
13 Delete Circuit Priority 07:34:17 1 / 0

SESSIONS

Name Connection Type Host Address Port Login User
R-1ssh10.250.0.5122admin
R-2ssh10.250.0.5222admin
R-3ssh10.250.0.5322admin
R-4ssh10.250.0.5422admin
R-5ssh10.250.0.5522admin

RESULT

Index Action Session Time Stamp Pass/Fail
1 print topo img caller 06:50:24 Pass
Parameter topo-L2-L3.jpg
Response /data/NetAutoTestFW/tests/converter_report/topology_img/topo-L2-L3.jpg
 
2 session check R-1 R-1 06:50:24 Pass
Parameter None
Response Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 05:53:12 2026 from 10.250.0.1

admin@R-1:~$
3 session check R-2 R-2 06:50:24 Pass
Parameter None
Response Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 05:53:15 2026 from 10.250.0.1

admin@R-2:~$
4 session check R-3 R-3 06:50:24 Pass
Parameter None
Response Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 05:53:18 2026 from 10.250.0.1

admin@R-3:~$
5 session check R-4 R-4 06:50:24 Pass
Parameter None
Response Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 05:53:19 2026 from 10.250.0.1

admin@R-4:~$
6 session check R-5 R-5 06:50:24 Pass
Parameter None
Response Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --

Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.

Help: https://sonic-net.github.io/SONiC/

Last login: Sat Oct 3 05:53:22 2026 from 10.250.0.1

admin@R-5:~$
 
7 Assign IP Address R-1 06:50:24 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 06:50:22 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

8 Assign IP Address R-1 06:50:32 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 06:50:29 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

9 Assign IP Address R-1 06:50:39 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 06:50:37 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

10 Assign IP Address R-1 06:50:46 Pass
Parameter ~$ sudo config interface ip add Ethernet0 21.1.1.2/24
Response Success
11 Assign IP Address R-1 06:50:52 Pass
Parameter ~$ sudo config interface ip add Ethernet4 30.1.1.2/24
Response Success
12 Assign IP Address R-1 06:50:58 Pass
Parameter ~$ sudo config interface ip add Ethernet8 20.1.1.2/24
Response Success
13 Assign IP Address R-2 06:51:03 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 06:51:02 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

14 Assign IP Address R-2 06:51:11 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 06:51:09 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

15 Assign IP Address R-2 06:51:18 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 06:51:17 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

16 Assign IP Address R-2 06:51:25 Pass
Parameter ~$ sudo config interface ip add Ethernet0 22.1.1.4/24
Response Success
17 Assign IP Address R-2 06:51:31 Pass
Parameter ~$ sudo config interface ip add Ethernet4 30.1.1.4/24
Response Success
18 Assign IP Address R-3 06:51:37 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 06:51:35 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

19 Assign IP Address R-3 06:51:44 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 06:51:43 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

20 Assign IP Address R-3 06:51:52 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 06:51:50 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

21 Assign IP Address R-3 06:51:59 Pass
Parameter ~$ sudo config interface ip add Ethernet0 20.1.1.3/24
Response Success
22 Assign IP Address R-3 06:52:05 Pass
Parameter ~$ sudo config interface ip add Ethernet4 10.0.100.1/24
Response Success
23 Assign IP Address R-4 06:52:10 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 06:52:09 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

24 Assign IP Address R-4 06:52:18 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 06:52:16 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

25 Assign IP Address R-4 06:52:25 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 06:52:23 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

26 Assign IP Address R-4 06:52:32 Pass
Parameter ~$ sudo config interface ip add Ethernet0 22.1.1.11/24
Response Success
27 Assign IP Address R-4 06:52:38 Pass
Parameter ~$ sudo config interface ip add Ethernet4 50.1.1.2/24
Response Success
28 Assign IP Address R-5 06:52:44 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ripd &"
Response
2026/10/03 06:52:43 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

29 Assign IP Address R-5 06:52:52 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/isisd &"
Response
2026/10/03 06:52:51 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

30 Assign IP Address R-5 06:52:59 Pass
Parameter ~$ docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"
Response
2026/10/03 06:52:58 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Judgement Success

inter-conditional operator : and

31 Assign IP Address R-5 06:53:06 Pass
Parameter ~$ sudo config interface ip add Ethernet0 50.1.1.3/24
Response Success
32 Assign IP Address R-5 06:53:12 Pass
Parameter ~$ sudo config interface ip add Ethernet4 40.0.100.1/24
Response Success
33 ping test R-1 06:53:18 Pass
Parameter ~$ ping 30.1.1.4 -c 3
Response PING 30.1.1.4 (30.1.1.4) 56(84) bytes of data.
64 bytes from 30.1.1.4: icmp_seq=1 ttl=64 time=1.49 ms
64 bytes from 30.1.1.4: icmp_seq=2 ttl=64 time=0.838 ms
64 bytes from 30.1.1.4: icmp_seq=3 ttl=64 time=1.03 ms

--- 30.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.838/1.120/1.492/0.274 ms
Judgement Success

inter-conditional operator : and
contain string: bytes from 30.1.1.4
34 ping test R-1 06:53:25 Pass
Parameter ~$ ping 20.1.1.3 -c 3
Response PING 20.1.1.3 (20.1.1.3) 56(84) bytes of data.
64 bytes from 20.1.1.3: icmp_seq=1 ttl=64 time=1.37 ms
64 bytes from 20.1.1.3: icmp_seq=2 ttl=64 time=1.12 ms
64 bytes from 20.1.1.3: icmp_seq=3 ttl=64 time=0.795 ms

--- 20.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.795/1.095/1.373/0.236 ms
Judgement Success

inter-conditional operator : and
contain string: bytes from 20.1.1.3
35 ping test R-2 06:53:33 Pass
Parameter ~$ ping 30.1.1.2 -c 3
Response PING 30.1.1.2 (30.1.1.2) 56(84) bytes of data.
64 bytes from 30.1.1.2: icmp_seq=1 ttl=64 time=1.03 ms
64 bytes from 30.1.1.2: icmp_seq=2 ttl=64 time=0.996 ms
64 bytes from 30.1.1.2: icmp_seq=3 ttl=64 time=1.18 ms

--- 30.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.996/1.068/1.177/0.078 ms
Judgement Success

inter-conditional operator : and
contain string: bytes from 30.1.1.2
36 ping test R-3 06:53:40 Pass
Parameter ~$ ping 20.1.1.2 -c 3
Response PING 20.1.1.2 (20.1.1.2) 56(84) bytes of data.
64 bytes from 20.1.1.2: icmp_seq=1 ttl=64 time=0.950 ms
64 bytes from 20.1.1.2: icmp_seq=2 ttl=64 time=0.953 ms
64 bytes from 20.1.1.2: icmp_seq=3 ttl=64 time=0.890 ms

--- 20.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.890/0.931/0.953/0.029 ms
Judgement Success

inter-conditional operator : and
contain string: bytes from 20.1.1.2
37 ping test R-4 06:53:47 Pass
Parameter ~$ ping 22.1.1.4 -c 3
Response PING 22.1.1.4 (22.1.1.4) 56(84) bytes of data.
64 bytes from 22.1.1.4: icmp_seq=1 ttl=64 time=1.35 ms
64 bytes from 22.1.1.4: icmp_seq=2 ttl=64 time=0.842 ms
64 bytes from 22.1.1.4: icmp_seq=3 ttl=64 time=0.825 ms

--- 22.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2027ms
rtt min/avg/max/mdev = 0.825/1.005/1.349/0.243 ms
Judgement Success

inter-conditional operator : and
contain string: bytes from 22.1.1.4
38 ping test R-4 06:53:55 Pass
Parameter ~$ ping 50.1.1.3 -c 3
Response PING 50.1.1.3 (50.1.1.3) 56(84) bytes of data.
64 bytes from 50.1.1.3: icmp_seq=1 ttl=64 time=1.50 ms
64 bytes from 50.1.1.3: icmp_seq=2 ttl=64 time=0.691 ms
64 bytes from 50.1.1.3: icmp_seq=3 ttl=64 time=0.997 ms

--- 50.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2024ms
rtt min/avg/max/mdev = 0.691/1.062/1.499/0.333 ms
Judgement Success

inter-conditional operator : and
contain string: bytes from 50.1.1.3
 
39 Run Daemon - isisd R-1 06:54:02 Pass
Parameter ~$ docker exec -i bgp bash -c "cd /usr/lib/frr && ./isisd &"
Response
2026/10/03 06:54:00 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
2026/10/03 06:54:00 ISIS: [NTCMZ-C8X80][EC 100663303] Could not lock pid_file /var/run/frr/isisd.pid (Resource temporarily unavailable), exiting. Please ensure that the daemon is not already running
Judgement Success

inter-conditional operator : and

40 Run Daemon - isisd R-2 06:54:08 Pass
Parameter ~$ docker exec -i bgp bash -c "cd /usr/lib/frr && ./isisd &"
Response
2026/10/03 06:54:06 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
2026/10/03 06:54:06 ISIS: [NTCMZ-C8X80][EC 100663303] Could not lock pid_file /var/run/frr/isisd.pid (Resource temporarily unavailable), exiting. Please ensure that the daemon is not already running
Judgement Success

inter-conditional operator : and

41 Run Daemon - isisd R-3 06:54:13 Pass
Parameter ~$ docker exec -i bgp bash -c "cd /usr/lib/frr && ./isisd &"
Response
2026/10/03 06:54:12 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
2026/10/03 06:54:12 ISIS: [NTCMZ-C8X80][EC 100663303] Could not lock pid_file /var/run/frr/isisd.pid (Resource temporarily unavailable), exiting. Please ensure that the daemon is not already running
Judgement Success

inter-conditional operator : and

42 Run Daemon - isisd R-4 06:54:19 Pass
Parameter ~$ docker exec -i bgp bash -c "cd /usr/lib/frr && ./isisd &"
Response
2026/10/03 06:54:17 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
2026/10/03 06:54:17 ISIS: [NTCMZ-C8X80][EC 100663303] Could not lock pid_file /var/run/frr/isisd.pid (Resource temporarily unavailable), exiting. Please ensure that the daemon is not already running
Judgement Success

inter-conditional operator : and

43 Set default network R-1 06:54:24 Pass
Parameter ~$ vtysh -c "config" \
-c "router isis AREA-1" \
-c "net 49.0001.1000.0000.0001.00" \
-c "exit" \
-c "interface Ethernet4" \
-c "ip router isis AREA-1" \
-c "exit" \
-c "interface Ethernet8" \
-c "ip router isis AREA-1" \
-c "end"
Response Success
44 Set default network R-3 06:54:29 Pass
Parameter ~$ vtysh -c "config" \
-c "router isis AREA-1" \
-c "net 49.0001.1000.0000.0002.00" \
-c "exit" \
-c "interface Ethernet4" \
-c "ip router isis AREA-1" \
-c "exit" \
-c "interface Ethernet0" \
-c "ip router isis AREA-1" \
-c "end"
Response Success
45 Set default network R-2 06:54:35 Pass
Parameter ~$ vtysh -c "config" \
-c "router isis AREA-2" \
-c "net 49.0002.2000.0000.0001.00" \
-c "exit" \
-c "interface Ethernet0" \
-c "ip router isis AREA-2" \
-c "exit" \
-c "interface Ethernet4" \
-c "ip router isis AREA-2" \
-c "end"
Response Success
46 Set default network R-4 06:54:40 Pass
Parameter ~$ vtysh -c "config" \
-c "router isis AREA-2" \
-c "net 49.0002.2000.0000.0002.00" \
-c "exit" \
-c "interface Ethernet0" \
-c "ip router isis AREA-2" \
-c "exit" \
-c "interface Ethernet4" \
-c "ip router isis AREA-2" \
-c "end"
Response Success
47 Check IP ROUTE R-1 06:54:46 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/20] via 20.1.1.3, Ethernet8, 00:00:07
C>*10.250.0.0/24 is directly connected, eth0, 00:14:02
I 20.1.1.0/24 [115/20] via 20.1.1.3, Ethernet8, inactive 00:00:07
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:04:20
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:04:31
I>*22.1.1.0/24 [115/20] via 30.1.1.4, Ethernet4, 00:00:13
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:04:26
I>*50.1.1.0/24 [115/30] via 30.1.1.4, Ethernet4, 00:00:07
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:02
Judgement Success

inter-conditional operator : and
contain string: I>*10.0.100.0/24
contain string: I>*22.1.1.0/24
contain string: I>*50.1.1.0/24
48 Check IP ROUTE R-2 06:55:23 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/30] via 30.1.1.2, Ethernet4, 00:00:18
C>*10.250.0.0/24 is directly connected, eth0, 00:12:18
I>*20.1.1.0/24 [115/20] via 30.1.1.2, Ethernet4, 00:00:18
I 22.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, inactive 00:00:13
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:57
K 22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:57
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:52
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:52
I>*50.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, 00:00:13
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:12:18
Judgement Success

inter-conditional operator : and
contain string: I>*10.0.100.0/24
contain string: I>*20.1.1.0/24
contain string: I>*50.1.1.0/24
49 Check IP ROUTE R-3 06:55:29 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

C>*10.0.100.0/24 is directly connected, Ethernet4, 00:03:24
C>*10.250.0.0/24 is directly connected, eth0, 00:11:00
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:00:18
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:03:30
I>*22.1.1.0/24 [115/30] via 20.1.1.2, Ethernet0, 00:00:24
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:00:18
I>*50.1.1.0/24 [115/40] via 20.1.1.2, Ethernet0, 00:00:18
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:11:00
Judgement Success

inter-conditional operator : and
contain string: I>*22.1.1.0/24
contain string: I>*30.1.1.0/24
contain string: I>*50.1.1.0/24
50 Check IP ROUTE R-4 06:55:34 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/40] via 22.1.1.4, Ethernet0, 00:00:24
C>*10.250.0.0/24 is directly connected, eth0, 00:09:41
I>*20.1.1.0/24 [115/30] via 22.1.1.4, Ethernet0, 00:00:24
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:24
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:02
K 22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:02
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:24
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:02:56
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:09:41
Judgement Success

inter-conditional operator : and
contain string: I>*10.0.100.0/24
contain string: I>*20.1.1.0/24
contain string: I>*30.1.1.0/24
51 Send ping for network connection test R-4 06:55:40 Pass
Parameter ~$ ping 10.0.100.1 -c 3
Response PING 10.0.100.1 (10.0.100.1) 56(84) bytes of data.
64 bytes from 10.0.100.1: icmp_seq=1 ttl=62 time=2.94 ms
64 bytes from 10.0.100.1: icmp_seq=2 ttl=62 time=2.41 ms
64 bytes from 10.0.100.1: icmp_seq=3 ttl=62 time=2.36 ms

--- 10.0.100.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.361/2.569/2.936/0.260 ms
Judgement Success

inter-conditional operator : and
contain string: 64 bytes from 10.0.100.1
 
52 set router level R-3 06:55:47 Pass
Parameter ~$ vtysh -c "config" \
-c "router isis AREA-1" \
-c "is-type level-1" \
-c "end"
Response Success
53 set router level R-4 06:55:53 Pass
Parameter ~$ vtysh -c "config" \
-c "router isis AREA-2" \
-c "is-type level-1" \
-c "end"
Response Success
54 Check isis database R-4 06:55:58 Pass
Parameter ~$ vtysh -c "show isis database"
Response Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
2000.0000.0001.00-00 91 0x00000002 0x8d20 1144 1/0/0
2000.0000.0001.6b-00 51 0x00000001 0x7186 1066 1/0/0
R-4.00-00 * 91 0x00000003 0x9ace 1166 0/0/0
3 LSPs
Judgement Success

inter-conditional operator : and

not contain string: IS-IS Level-2 link-state database
55 Check isis interface R-4 06:56:04 Pass
Parameter ~$ vtysh -c "show isis interface"
Response Area AREA-2:
Interface CircId State Type Level
Ethernet0 0x6a Up lan L1
Ethernet4 0x6b Up lan L1
Judgement Success

inter-conditional operator : and
contain string: Up lan L1
56 Check isis neighbor R-4 06:56:09 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0001 Ethernet0 1 Up 30 22ab.a8e9.aa8f
Judgement Success

inter-conditional operator : and
contain string: 2000.0000.0001 Ethernet0 1 Up
not contain string: 2000.0000.0001 Ethernet0 2 up
57 Check isis summary R-4 06:56:14 Pass
Parameter ~$ vtysh -c "show isis summary"
Response vrf : default
Process Id : 167
System Id : 2000.0000.0002
Up time : 00:01:34 ago
Number of areas : 1
Area AREA-2:
Net: 49.0002.2000.0000.0002.00
TX counters per PDU type:
L1 IIH: 68
L2 IIH: 53
L1 LSP: 3
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 35
L2 IIH: 34
L1 LSP: 3
L2 LSP: 9
L1 CSNP: 10
L2 CSNP: 10
Drop counters per PDU type:
L2 IIH: 7
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 3
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:22 ago
last run duration : 58 usec
run count : 6
Judgement Success

inter-conditional operator : and

not contain string: Level-2:
58 Check isis topology R-4 06:56:20 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------------------------
R-4
22.1.1.0/24 IP internal 0 R-4(4)
50.1.1.0/24 IP internal 0 R-4(4)
2000.0000.0001 TE-IS 10 2000.0000.0001 Ethernet0 R-4(4)
0.0.0.0/0 IP internal 10 2000.0000.0001 Ethernet0 R-4(4)
2000.0000.0001(4)
2000.0000.0001 pseudo_TE-IS 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
22.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
30.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
Judgement Success

inter-conditional operator : and

not contain string: IS-IS paths to level-2 routers that speak IP
59 Check ip route R-4 06:56:25 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*0.0.0.0/0 [115/10] via 22.1.1.4, Ethernet0, 00:00:33
C>*10.250.0.0/24 is directly connected, eth0, 00:10:32
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:33
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:53
K 22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:53
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:33
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:03:47
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:10:32
Judgement Success

inter-conditional operator : and

not contain string: I>*20.1.1.0/24
not contain string: I>*10.0.100.0/24
60 Check isis database R-3 06:56:31 Pass
Parameter ~$ vtysh -c "show isis database"
Response Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000003 0xd006 1141 1/0/0
R-3.00-00 * 91 0x00000004 0x6a3f 1141 0/0/0
R-3.6a-00 * 51 0x00000002 0xf838 1098 0/0/0
3 LSPs
Judgement Success

inter-conditional operator : and

not contain string: IS-IS Level-2 link-state database
61 Check isis interface R-3 06:56:36 Pass
Parameter ~$ vtysh -c "show isis interface"
Response Area AREA-1:
Interface CircId State Type Level
Ethernet4 0x6b Up lan L1
Ethernet0 0x6a Up lan L1
Judgement Success

inter-conditional operator : and
contain string: Up lan L1
62 Check isis neighbor R-3 06:56:42 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 28 220f.1ec7.caa5
Judgement Success

inter-conditional operator : and

not contain string: R-1 Ethernet4 2 up
63 Check isis summary R-3 06:56:47 Pass
Parameter ~$ vtysh -c "show isis summary"
Response vrf : default
Process Id : 156
System Id : 1000.0000.0002
Up time : 00:02:18 ago
Number of areas : 1
Area AREA-1:
Net: 49.0001.1000.0000.0002.00
TX counters per PDU type:
L1 IIH: 99
L2 IIH: 57
L1 LSP: 6
L2 LSP: 3
L1 CSNP: 14
L2 CSNP: 7
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 50
L2 IIH: 50
L1 LSP: 3
L2 LSP: 8
L1 PSNP: 1
L2 PSNP: 1
Drop counters per PDU type:
L2 IIH: 21
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 4
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:29 ago
last run duration : 270 usec
run count : 9
Judgement Success

inter-conditional operator : and

not contain string: Level-2:
64 Check isis topology R-3 06:56:53 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-1(4)
R-3
30.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
Judgement Success

inter-conditional operator : and

not contain string: IS-IS paths to level-2 routers that speak IP
65 Check ip route R-3 06:56:58 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:01:10
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:04:53
C>*10.250.0.0/24 is directly connected, eth0, 00:12:29
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:01:11
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:04:59
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:01:11
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:12:29
Judgement Success

inter-conditional operator : and

not contain string: I>*22.1.1.0/24
not contain string: I>*50.1.1.0/24
66 Check isis database R-1 06:57:04 Pass
Parameter ~$ vtysh -c "show isis database"
Response Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0xd006 1108 1/0/0
R-3.00-00 91 0x00000004 0x6a3f 1109 0/0/0
R-3.6a-00 51 0x00000002 0xf838 1066 0/0/0
3 LSPs

IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 102 0x00000003 0x3dfe 1103 0/0/0
R-3.00-00 91 0x00000002 0x7039 1043 0/0/0
R-3.6a-00 51 0x00000001 0xfc33 1014 0/0/0
R-2.00-00 91 0x00000003 0xa80b 1103 0/0/0
R-2.6b-00 27 0x00000001 0x6708 (19) 0/0/0
R-2.6c-00 51 0x00000001 0x5db2 1006 0/0/0
R-4.00-00 91 0x00000002 0x9ec9 1070 0/0/0
7 LSPs
Judgement Success

inter-conditional operator : and

not contain string: ROUTER-D
67 Check isis neighbor R-1 06:57:09 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 22ab.a8e9.aa8f
R-3 Ethernet8 1 Up 27 227d.743e.3597
Judgement Success

inter-conditional operator : and

not contain string: R-3 Ethernet8 2 Up
68 Check isis neighbor R-2 06:57:15 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-2:
System Id Interface L State Holdtime SNPA
R-4 Ethernet0 1 Up 29 22a2.3bc3.b2a4
R-1 Ethernet4 2 Up 29 220f.1ec7.caa5
Judgement Success

inter-conditional operator : and

not contain string: R-4 Ethernet0 2 Up
 
69 set circuit level R-1 06:57:20 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet4" \
-c "isis circuit-type level-2-only" \
-c "exit" \
-c "interface Ethernet8" \
-c "isis circuit-type level-1" \
-c "end"
Response Success
70 set circuit level R-2 06:57:26 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet0" \
-c "isis circuit-type level-1" \
-c "exit" \
-c "interface Ethernet4" \
-c "isis circuit-type level-2-only" \
-c "end"
Response Success
71 Check isis interface Ethernet0 R-2 06:57:31 Pass
Parameter ~$ vtysh -c "show isis interface Ethernet0"
Response Area AREA-2:
Interface: Ethernet0, State: Up, Active, Circuit Id: 0x6b
Type: lan, Level: L1, SNPA: 22ab.a8e9.aa8f
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: yes
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
22.1.1.4/24
IPv6 Link-Locals:
fe80::20ab:a8ff:fee9:aa8f/64
Judgement Success

inter-conditional operator : and
contain string: Level: L1
72 Check isis interface Ethernet4 R-2 06:57:37 Pass
Parameter ~$ vtysh -c "show isis interface Ethernet4"
Response Area AREA-2:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x6c
Type: lan, Level: L2, SNPA: 22ab.a8e9.aa8f
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: yes
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
30.1.1.4/24
IPv6 Link-Locals:
fe80::20ab:a8ff:fee9:aa8f/64
Judgement Success

inter-conditional operator : and
contain string: Level: L2
73 Check isis interface Ethernet4 R-1 06:57:42 Pass
Parameter ~$ vtysh -c "show isis interface Ethernet4"
Response Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x6c
Type: lan, Level: L2, SNPA: 220f.1ec7.caa5
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: yes
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::200f:1eff:fec7:caa5/64
Judgement Success

inter-conditional operator : and
contain string: Level: L2
74 Check isis interface Ethernet8 R-1 06:57:48 Pass
Parameter ~$ vtysh -c "show isis interface Ethernet8"
Response Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0x6d
Type: lan, Level: L1, SNPA: 220f.1ec7.caa5
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: yes
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::200f:1eff:fec7:caa5/64
Judgement Success

inter-conditional operator : and
contain string: Level: L1
 
75 set circuit metric R-1 06:57:53 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet4" \
-c "isis metric 222" \
-c "exit" \
-c "interface Ethernet8" \
-c "isis metric 111" \
-c "end" \
-c "clear isis neighbor" \
-c "end"
Response Success
76 Check isis interface Ethernet4 R-1 06:57:58 Pass
Parameter ~$ vtysh -c "show isis interface Ethernet4"
Response Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x6c
Type: lan, Level: L2, SNPA: 220f.1ec7.caa5
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: yes
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::200f:1eff:fec7:caa5/64
Judgement Success

inter-conditional operator : and
contain string: Metric: 222
77 Check isis interface Ethernet8 R-1 06:58:04 Pass
Parameter ~$ vtysh -c "show isis interface Ethernet8"
Response Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0x6d
Type: lan, Level: L1, SNPA: 220f.1ec7.caa5
Level-1 Information:
Metric: 111, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: yes
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::200f:1eff:fec7:caa5/64
Judgement Success

inter-conditional operator : and
contain string: Metric: 111
78 Check isis topology R-1 06:58:09 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)


IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
Judgement Success

inter-conditional operator : and
contain string: 20.1.1.0/24 IP internal 0 R-1
contain string: R-3 TE-IS 111 R-3 Ethernet8 R-1
contain string: 10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3
contain string: 20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3
contain string: 30.1.1.0/24 IP internal 0 R-1
contain string: R-2 TE-IS 222 R-2 Ethernet4 R-1
contain string: 22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2
contain string: 30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2
79 Check ip route R-1 06:58:30 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:06
C>*10.250.0.0/24 is directly connected, eth0, 00:17:14
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:04
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:07:32
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:07:43
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:06
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:07:38
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:17:14
Judgement Success

inter-conditional operator : and
contain string: I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8
contain string: I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4
80 Check isis database detail R-2 06:58:36 Pass
Parameter ~$ vtysh -c "show isis database detail"
Response Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x00000006 0x8524 1135 1/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.6b (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)

R-2.6b-00 * 51 0x00000001 0x7186 909 1/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 2000.0000.0002.00 (Metric: 0)

R-4.00-00 91 0x00000004 0x98cf 1023 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.6b (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)

3 LSPs

IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0x5566 1144 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.6c (Metric: 222)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)

R-3.00-00 91 0x00000002 0x7039 951 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
Extended Reachability: 1000.0000.0002.6a (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)

R-3.6a-00 51 0x00000001 0xfc33 922 0/0/0
Extended Reachability: 1000.0000.0002.00 (Metric: 0)
Extended Reachability: 1000.0000.0001.00 (Metric: 0)

R-2.00-00 * 91 0x00000006 0xa20e 1183 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.6c (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)

R-2.6b-00 * 27 0x00000001 0x6708 (1067) 0/0/0

R-2.6c-00 * 51 0x00000002 0x5bb3 1153 0/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0001.00 (Metric: 0)

R-4.00-00 91 0x00000002 0x9ec9 978 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.6b (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)

7 LSPs
Judgement Success

inter-conditional operator : and
contain string: Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
contain string: Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
81 Check isis topology R-2 06:58:41 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-4 TE-IS 10 R-4 Ethernet0 R-2(4)
R-2
22.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
50.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)


IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-1 TE-IS 10 R-1 Ethernet4 R-2(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1(4)
R-2
30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1(4)
Judgement Success

inter-conditional operator : and
contain string: 30.1.1.0/24 IP internal 0 R-2
contain string: 20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1
contain string: 30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1
82 Check isis database detail R-3 06:58:47 Pass
Parameter ~$ vtysh -c "show isis database detail"
Response Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0xdb58 1119 1/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 1000.0000.0002.6a (Metric: 111)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)

R-3.00-00 * 91 0x00000006 0x6641 1160 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 1000.0000.0002.6a (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)

R-3.6a-00 * 51 0x00000003 0xf639 1123 0/0/0
Extended Reachability: 1000.0000.0002.00 (Metric: 0)
Extended Reachability: 1000.0000.0001.00 (Metric: 0)

3 LSPs
Judgement Success

inter-conditional operator : and
contain string: Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
contain string: Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
83 Check isis topology R-3 06:58:52 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-1(4)
R-3
20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1(4)
Judgement Success

inter-conditional operator : and
contain string: 10.0.100.0/24 IP internal 0 R-3
contain string: 20.1.1.0/24 IP internal 0 R-3
contain string: 20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1
contain string: 30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1
84 Check ip route R-3 06:58:57 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:00:33
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:06:53
C>*10.250.0.0/24 is directly connected, eth0, 00:14:29
I 20.1.1.0/24 [115/121] via 20.1.1.2, Ethernet0, inactive 00:00:33
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:06:59
I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0, 00:00:33
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:29
Judgement Success

inter-conditional operator : and
contain string: I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0
 
85 set circuit authentication - text R-1 06:59:03 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet8" \
-c "isis password clear sonicText" \
-c "end"
Response Success
86 Check isis neighbor R-1 06:59:09 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 22ab.a8e9.aa8f
Judgement Success

inter-conditional operator : and

not contain string: R-3 Ethernet8 1 Up
87 Check isis topology R-1 06:59:45 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 R-1(4)
1000.0000.0002 pseudo_TE-IS 121 1000.0000.0002(4)
10.0.100.0/24 IP TE 121 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002(4)


IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
Judgement Success

inter-conditional operator : and

not contain string: R-3
88 Check ip route R-1 07:16:35 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

C>*10.250.0.0/24 is directly connected, eth0, 00:35:20
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:18:10
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:25:38
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:25:49
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:18:12
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:25:44
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:35:20
Judgement Success

inter-conditional operator : and

not contain string: I>*10.0.100.0/24
89 Check isis neighbor R-3 07:16:41 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Initializing 29 220f.1ec7.caa5
Judgement Success

inter-conditional operator : or
contain string: 1000.0000.0001 Ethernet0 1 Initializing
contain string: R-1 Ethernet0 1 Initializing
90 set circuit authentication - text R-3 07:16:47 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet0" \
-c "isis password clear sonicText" \
-c "end"
Response Success
91 Check isis neighbor R-3 07:16:52 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 29 220f.1ec7.caa5
Judgement Success

inter-conditional operator : or
contain string: R-1 Ethernet0 1 Up
contain string: 1000.0000.0001 Ethernet0 1 Up
92 Check isis neighbor R-1 07:16:57 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 22ab.a8e9.aa8f
R-3 Ethernet8 1 Up 27 227d.743e.3597
Judgement Success

inter-conditional operator : and
contain string: R-3 Ethernet8 1 Up
93 Check isis topology R-1 07:17:03 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-3 pseudo_TE-IS 121 R-3 Ethernet8 R-3(4)
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)


IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
Judgement Success

inter-conditional operator : and
contain string: R-3
94 Check ip route R-1 07:17:08 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:20
C>*10.250.0.0/24 is directly connected, eth0, 00:35:53
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:19
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:26:11
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:26:22
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:18:45
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:26:17
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:35:53
Judgement Success

inter-conditional operator : and
contain string: I>*10.0.100.0/24
 
95 delete circuit authentication - text R-1 07:17:14 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet8" \
-c "no isis password" \
-c "end"
Response Success
96 delete circuit authentication - text R-3 07:17:19 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet0" \
-c "no isis password" \
-c "end"
Response Success
97 Check isis neighbor R-1 07:17:25 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 30 22ab.a8e9.aa8f
R-3 Ethernet8 1 Up 29 227d.743e.3597
Judgement Success

inter-conditional operator : and
contain string: R-3 Ethernet8 1 Up
98 Check isis topology R-1 07:17:30 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-3 pseudo_TE-IS 121 R-3 Ethernet8 R-3(4)
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)


IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
Judgement Success

inter-conditional operator : and
contain string: R-3
99 Check ip route R-1 07:17:36 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:47
C>*10.250.0.0/24 is directly connected, eth0, 00:36:20
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:46
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:26:38
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:26:49
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:19:12
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:26:44
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:36:20
Judgement Success

inter-conditional operator : and
contain string: I>*10.0.100.0/24
 
100 set circuit authentication - md5 R-1 07:17:41 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet4" \
-c "isis password md5 sonicMd5" \
-c "end"
Response Success
101 Check ip route R-1 07:17:47 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:02:04
C>*10.250.0.0/24 is directly connected, eth0, 00:37:37
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:42
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:27:55
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:28:06
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:28:01
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:37:37
Judgement Success

inter-conditional operator : and

not contain string: I>*22.1.1.0/24
102 Check isis neighbor R-1 07:18:58 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-3 Ethernet8 1 Up 29 227d.743e.3597
Judgement Success

inter-conditional operator : and

not contain string: R-2 Ethernet4 2 Up
103 Check isis topology R-1 07:19:04 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-3 pseudo_TE-IS 121 R-3 Ethernet8 R-3(4)
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)


IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
Judgement Success

inter-conditional operator : and

not contain string: R-2
104 Check isis neighbor R-2 07:32:33 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-2:
System Id Interface L State Holdtime SNPA
R-4 Ethernet0 1 Up 28 22a2.3bc3.b2a4
R-1 Ethernet4 2 Initializing 29 220f.1ec7.caa5
Judgement Success

inter-conditional operator : and
contain string: R-1 Ethernet4 2 Initializing
105 set circuit authentication - md5 R-2 07:32:39 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet4" \
-c "isis password md5 sonicMd5" \
-c "end"
Response Success
106 Check isis neighbor R-2 07:32:44 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-2:
System Id Interface L State Holdtime SNPA
R-4 Ethernet0 1 Up 28 22a2.3bc3.b2a4
R-1 Ethernet4 2 Up 28 220f.1ec7.caa5
Judgement Success

inter-conditional operator : and
contain string: R-1 Ethernet4 2 Up
107 Check isis neighbor R-1 07:32:49 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 22ab.a8e9.aa8f
R-3 Ethernet8 1 Up 29 227d.743e.3597
Judgement Success

inter-conditional operator : and
contain string: R-2 Ethernet4 2 Up
108 Check isis topology R-1 07:32:55 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-3 pseudo_TE-IS 121 R-3 Ethernet8 R-3(4)
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)


IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
Judgement Success

inter-conditional operator : and
contain string: R-2
109 Check ip route R-1 07:33:00 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:16:11
C>*10.250.0.0/24 is directly connected, eth0, 00:51:44
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:12
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:42:02
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:42:13
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:12
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:42:08
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:51:44
Judgement Success

inter-conditional operator : and
contain string: I>*22.1.1.0/24
 
110 delete circuit authentication - md5 R-1 07:33:06 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet4" \
-c "no isis password" \
-c "end"
Response Success
111 delete circuit authentication - md5 R-2 07:33:11 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet4" \
-c "no isis password" \
-c "end"
Response Success
112 Check isis neighbor R-2 07:33:17 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-2:
System Id Interface L State Holdtime SNPA
R-4 Ethernet0 1 Up 28 22a2.3bc3.b2a4
R-1 Ethernet4 2 Up 30 220f.1ec7.caa5
Judgement Success

inter-conditional operator : and
contain string: R-1 Ethernet4 2 Up
113 Check isis neighbor R-1 07:33:22 Pass
Parameter ~$ vtysh -c "show isis neighbor"
Response Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 27 22ab.a8e9.aa8f
R-3 Ethernet8 1 Up 29 227d.743e.3597
Judgement Success

inter-conditional operator : and
contain string: R-2 Ethernet4 2 Up
114 Check isis topology R-1 07:33:27 Pass
Parameter ~$ vtysh -c "show isis topology"
Response Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-3 pseudo_TE-IS 121 R-3 Ethernet8 R-3(4)
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)


IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
Judgement Success

inter-conditional operator : and
contain string: R-2
115 Check ip route R-1 07:33:33 Pass
Parameter ~$ show ip route
Response Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route

I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:16:44
C>*10.250.0.0/24 is directly connected, eth0, 00:52:17
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:31
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:42:35
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:42:46
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:45
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:42:41
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:52:17
Judgement Success

inter-conditional operator : and
contain string: I>*22.1.1.0/24
 
116 Set Interface Priority of R-1 Ethernet4 R-1 07:33:39 Pass
Parameter ~$ vtysh -c "config" -c "interface Ethernet4" -c "isis priority 100" -c "end"
Response Success
117 Check interface priority of R-1 R-1 07:33:44 Pass
Parameter ~$ vtysh -c "show isis interface Ethernet4"
Response Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x6c
Type: lan, Level: L2, SNPA: 220f.1ec7.caa5
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: yes
CNSP interval: 10, PSNP interval: 2
LAN Priority: 100, is DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::200f:1eff:fec7:caa5/64
Judgement Success

inter-conditional operator : and
contain string: LAN Priority: 100, is DIS
118 Check isis neighbor R-1 R-2 07:33:49 Pass
Parameter ~$ vtysh -c "show isis neighbor R-1"
Response Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 28s
Adjacency flaps: 3, Last: 1m10s ago
Circuit type: L2, Speaks: IPv4
SNPA: 220f.1ec7.caa5, LAN id: R-1.6c
LAN Priority: 100, is DIS, DIS flaps: 2, Last: 10s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
Judgement Success

inter-conditional operator : and
contain string: LAN Priority: 100, is DIS
119 Check circuit priority R-1 07:33:55 Pass
Parameter ~$ vtysh -c "show isis neighbor R-2"
Response Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 1, Last: 1m15s ago
Circuit type: L2, Speaks: IPv4
SNPA: 22ab.a8e9.aa8f, LAN id: 1000.0000.0001.6c
LAN Priority: 64, is not DIS, DIS flaps: 2, Last: 15s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
Judgement Success

inter-conditional operator : and
contain string: LAN Priority: 64, is not DIS
120 Set circuit priority R-1 07:34:00 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet4" \
-c "isis priority 60" \
-c "end"
Response Success
121 Check isis neighbor R-1 R-2 07:34:06 Pass
Parameter ~$ vtysh -c "show isis neighbor R-1"
Response Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 3, Last: 1m26s ago
Circuit type: L2, Speaks: IPv4
SNPA: 220f.1ec7.caa5, LAN id: 2000.0000.0001.6c
LAN Priority: 60, is not DIS, DIS flaps: 3, Last: 3s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
Judgement Success

inter-conditional operator : and
contain string: LAN Priority: 60, is not DIS
122 Check circuit priority R-1 07:34:11 Pass
Parameter ~$ vtysh -c "show isis neighbor R-2"
Response Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 1, Last: 1m32s ago
Circuit type: L2, Speaks: IPv4
SNPA: 22ab.a8e9.aa8f, LAN id: R-2.6c
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 10s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
Judgement Success

inter-conditional operator : and
contain string: LAN Priority: 64, is DIS
 
123 Delete circuit priority R-1 07:34:17 Pass
Parameter ~$ vtysh -c "config" \
-c "interface Ethernet4" \
-c "no isis priority" \
-c "end"
Response Success
 
Parameter AssertionError: Test failed after 10 retries for command: vtysh -c "show isis neighbor R-1"
Cause duthosts = [<MultiAsicSonicHost R-1>, <MultiAsicSonicHost R-2>, <MultiAsicSonicHost R-3>, <MultiAsicSonicHost R-4>, <MultiAsicSonicHost R-5>]
ubuntus = []
vmhost = <tests.common.devices.vmhost.VMHost object at 0x7b903476d130>
parse_scenario = <tests.common.parse_scenario.ParseScenario object at 0x7b90346d2fa0>
record_property = <function record_property.<locals>.append_property at 0x7b9034aa2820>
reload_config = None
sonic_paramiko_ssh = (['R-1', 'R-2', 'R-3', 'R-4', 'R-5'], ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Sat Oct 3 05:53:22 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ '])
ubuntu_paramiko_ssh = ([], [])

def test_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonic_paramiko_ssh, ubuntu_paramiko_ssh):
sonicHostname, sonic_ssh_prompt = sonic_paramiko_ssh
ubuntuHostname, ubuntu_ssh_prompt = ubuntu_paramiko_ssh
> run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt)

duthosts = [<MultiAsicSonicHost R-1>, <MultiAsicSonicHost R-2>, <MultiAsicSonicHost R-3>, <MultiAsicSonicHost R-4>, <MultiAsicSonicHost R-5>]
parse_scenario = <tests.common.parse_scenario.ParseScenario object at 0x7b90346d2fa0>
record_property = <function record_property.<locals>.append_property at 0x7b9034aa2820>
reload_config = None
sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_paramiko_ssh = (['R-1', 'R-2', 'R-3', 'R-4', 'R-5'],
['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:12 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-1:~$ ',
'Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:15 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-2:~$ ',
'Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:18 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-3:~$ ',
'Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:19 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-4:~$ ',
'Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:22 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-5:~$ '])
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:12 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-1:~$ ',
'Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:15 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-2:~$ ',
'Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:18 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-3:~$ ',
'Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:19 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-4:~$ ',
'Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:22 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-5:~$ ']
ubuntuHostname = []
ubuntu_paramiko_ssh = ([], [])
ubuntu_ssh_prompt = []
ubuntus = []
vmhost = <tests.common.devices.vmhost.VMHost object at 0x7b903476d130>

test_sonic/test_sonic.py:413:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

duthosts = [<MultiAsicSonicHost R-1>, <MultiAsicSonicHost R-2>, <MultiAsicSonicHost R-3>, <MultiAsicSonicHost R-4>, <MultiAsicSonicHost R-5>]
ubuntus = []
vmhost = <tests.common.devices.vmhost.VMHost object at 0x7b903476d130>
parse_scenario = <tests.common.parse_scenario.ParseScenario object at 0x7b90346d2fa0>
record_property = <function record_property.<locals>.append_property at 0x7b9034aa2820>
reload_config = None, sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Sat Oct 3 05:53:22 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
ubuntuHostname = [], ubuntu_ssh_prompt = []

def run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt):
duthost = duthosts
ubuntu = ubuntus
server = vmhost

logger.info('test device hostname: {}'.format(duthost.hostname))
logger.info('server hostname: {}'.format(server.hostname))

# Parsing Scenario data
scenario = parse_scenario
logger.info('step 0) scenario_data:\n{}'.format(scenario))

# This Section, parsed data save to variable for test
for keys in scenario:
scenario_name = keys['scenario_name']
logger.info('\nstep 1) scenario name:{}'.format(scenario_name))
record_property("Scenario_name","{}".format(scenario_name))
for tasks in keys['steps']:
sub_scenario_name = tasks['name']
if scenario_name == "Print Topology Image":
topo_img_path = tasks['img_path']
topo_img_name = tasks['img_name']
sum_img_path = topo_img_path + '/' + topo_img_name

start_time = datetime.now().strftime('%H:%M:%S')

assert sum_img_path, record_property("Fail", "Fail")

record_property('Action', sub_scenario_name)
record_property('Session','caller')
record_property('Time Stamp',start_time)
record_property('Pass/Fail','Pass')
record_property('Parameter',topo_img_name)
record_property('Response',sum_img_path)

elif scenario_name == "Session Check":
session_node_name = tasks['node']
logger.info('nodes: {}'.format(session_node_name))


device = sonicHostname + ubuntuHostname
ssh_prompt = sonic_ssh_prompt + ubuntu_ssh_prompt

for dev, ssh in zip(device, ssh_prompt):
if dev == session_node_name:
logger.info('step 1)\nHostname:\n{}\nnode name:\n{}'.format(dev, session_node_name))
logger.info('step 2)\nssh_prompt:\n{}'.format(ssh))

start_time = datetime.now().strftime('%H:%M:%S')

assert dev == session_node_name, record_property("Fail", "Fail")
logger.info('step 3)\n pass')
record_property("Action", sub_scenario_name)
record_property("Session","{}".format(dev))
record_property("Time Stamp",start_time)
record_property("Pass/Fail","Pass")
record_property("Parameter","None")
record_property("Response","{}".format(ssh))

elif 'source' in tasks and 'packet' in tasks:
# Duck-typing: If a step has 'source' and 'packet', it is a Traffic Generation test
logger.info('\nstep 1) Traffic Generation test detected: {}'.format(sub_scenario_name))
start_time = datetime.now().strftime('%H:%M:%S')
execute_traffic_step(tasks, duthost, ubuntu)

# If it successfully returns without assertion failure, we record PASS
record_property("Action", sub_scenario_name)
record_property("Session", tasks['source']['node'])
record_property("Time Stamp", start_time)
record_property("Pass/Fail", "Pass")
record_property("Parameter", "Snappi TRex Traffic ({} pkts)".format(tasks['packet']['tx_packets']))
record_property("Response", "Traffic validation succeeded")
record_property("Judgement", "Success")

else:
node_name = tasks['node']
logger.info('\nstep 1-1) sub scenario name: {}\nnode name: {}'.format(sub_scenario_name, node_name))

if 'template' in tasks:
import yaml
from jinja2 import Template

scenario_path = getattr(parse_scenario, 'scenario_filename', '')
if "bgp/" in scenario_path or "bgp_policy/" in scenario_path:
ip_profile = "bgp_ip"
elif "ospf_routemap_redistribute/" in scenario_path:
ip_profile = "ospf_redist_ip"
else:
ip_profile = "common_ip"

if "vlan/" in scenario_path or "lacp/" in scenario_path or "ip/" in scenario_path:
start_daemons = False
else:
start_daemons = True

try:
with open("/data/NetAutoTestFW/ansible/vsonic_vtb", "r") as f:
vtb = yaml.safe_load(f)
ip_map = vtb['all']['children']['sonic_r']['vars'].get(ip_profile, {})
target_ips = ip_map.get(node_name, [])
except Exception as e:
logger.error(f"Failed to load IP profile from vsonic_vtb: {e}")
target_ips = []

template_path = tasks['template']
with open(f"/data/NetAutoTestFW/{template_path}", "r") as f:
template_content = f.read()

rendered = Template(template_content).render(ip_list=target_ips, start_daemons=start_daemons)
cmds = [cmd.strip() for cmd in rendered.strip().split('\n') if cmd.strip() and not cmd.strip().startswith('#')]

tasks['actions'] = [{'command': cmd} for cmd in cmds]
tasks['expect'] = {'mode': 'and', 'values': [[] for _ in cmds]}
tasks['not_expect'] = {'mode': 'and', 'values': [[] for _ in cmds]}

sub_scenario_actions = tasks['actions']
sub_scenario_expect = tasks.get('expect', {'mode': 'and', 'values': []})
sub_scenario_not_expect = tasks.get('not_expect', {'mode': 'and', 'values': []})
sub_scenario_retries = tasks.get('retries', 5)
sub_scenario_delay = tasks.get('delay', 1)

sub_sce_exp_mode = sub_scenario_expect.get('mode', 'and')
sub_sce_exp_values = sub_scenario_expect.get('values', [])
sub_sce_not_exp_values = sub_scenario_not_expect.get('values', [])

logger.info('\nstep 1-2) sub scenario actions: {}\nsub scenario expect mode: {}\nsub scenario expect values: {}\nsub scenario not expect values: {}\nsub scenario retries: {}\nsub scenario delay: {}'.format(sub_scenario_actions, sub_sce_exp_mode, sub_sce_exp_values, sub_sce_not_exp_values, sub_scenario_retries, sub_scenario_delay))

# This Section, command execute to SONiC Test Device
for dut in duthost:
if node_name == dut.hostname:
for act_command, expect_values, not_expect_values in zip(sub_scenario_actions, sub_sce_exp_values, sub_sce_not_exp_values):
logger.info('\nstep 1-3) act command: {}\nexpect values: {}\nnot expect values: {}'.format(act_command, expect_values, not_expect_values))

single_command = act_command.get('command')
timestamps = datetime.now().strftime('%H:%M:%S')
contain_str = '\n'.join("contain string: {}".format(v) for v in expect_values)
not_contain_str = '\n'.join("not contain string: {}".format(n) for n in not_expect_values)

# trace success function
trace_success = False
output = ""

# This Section, repeat until the output contains the intended value.
for attempt in range(sub_scenario_retries):
execute_cmd = dut.shell(single_command, module_ignore_errors=True)
time.sleep(5)
stdout = execute_cmd.get('stdout', '')
stderr = execute_cmd.get('stderr', '')
output = stdout + '\n' + stderr
nomalized_lines = [' '.join(line.split()) for line in output.splitlines()]

logger.info('\nexecute command result:\n{}'.format(output))
logger.info('\nexpect value in result:\n{}'.format(expect_values))

import re
if 'neighbor' in single_command and 'remote-as' in single_command:
match = re.search(r'neighbor\s+([0-9\.]+)\s+remote-as', single_command)
if match:
neighbor_ip = match.group(1)
logger.info(f"[{node_name}] Auto Ping Verification to neighbor: {neighbor_ip}")
ping_result = dut.shell(f"ping {neighbor_ip} -c 3", module_ignore_errors=True)
logger.info(f"[{node_name}] Ping result:\n{ping_result.get('stdout', '')}")
if ping_result.get('rc', -1) != 0:
logger.warning(f"[{node_name}] Ping failed to {neighbor_ip}")

expect_ok = False

if not expect_values:
expect_ok = True
elif sub_sce_exp_mode == "and":
expect_ok = all(any(val in line for line in nomalized_lines) for val in expect_values)
elif sub_sce_exp_mode == "or":
expect_ok = any(any(val in line for line in nomalized_lines) for val in expect_values)

not_expect_ok = not not_expect_values or all(all(val not in line for line in nomalized_lines) for val in not_expect_values)

condition_met = expect_ok and not_expect_ok

if condition_met:
logger.info('The expected value is included in the printed result.\noutput:\n{}'.format(output))

trace_success = True

if isinstance(output, str) and output.strip():
if not_expect_values == "":
exist_only_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, contain_str, record_property)
elif not_expect_values != "" and expect_values == "":
exist_only_not_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, not_contain_str, record_property)
elif not_expect_values != "" and expect_values != "":
exist_not_expect_and_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, contain_str, not_contain_str, record_property)
else:
empty_expect_and_not_expect_values(sub_scenario_name, node_name, timestamps, single_command, record_property)
break
else:
logger.info('Contidion not met. Retrying in {} seconds...(({}/{} attempts)'.format(sub_scenario_delay, attempt + 1, sub_scenario_retries))
time.sleep(sub_scenario_delay)
if not trace_success:
# If generated AssertionError when test failed
error_message = "Test failed after {} retries for command: {}".format(sub_scenario_retries, single_command)
logger.error(error_message)
logger.error("Final output was:\n{}".format(output))
> assert False, error_message
E AssertionError: Test failed after 10 retries for command: vtysh -c "show isis neighbor R-1"

Template = <class 'jinja2.environment.Template'>
act_command = {'command': 'vtysh -c "show isis neighbor R-1"'}
attempt = 9
cmds = ['docker exec -i bgp bash -c "/usr/lib/frr/ripd &"',
'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"',
'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"',
'sudo config interface ip add Ethernet0 50.1.1.3/24',
'sudo config interface ip add Ethernet4 40.0.100.1/24']
condition_met = False
contain_str = 'contain string: LAN Priority: 64, is DIS'
dev = 'R-5'
device = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
dut = <MultiAsicSonicHost R-2>
duthost = [<MultiAsicSonicHost R-1>, <MultiAsicSonicHost R-2>, <MultiAsicSonicHost R-3>, <MultiAsicSonicHost R-4>, <MultiAsicSonicHost R-5>]
duthosts = [<MultiAsicSonicHost R-1>, <MultiAsicSonicHost R-2>, <MultiAsicSonicHost R-3>, <MultiAsicSonicHost R-4>, <MultiAsicSonicHost R-5>]
error_message = 'Test failed after 10 retries for command: vtysh -c "show isis neighbor R-1"'
execute_cmd = {'_ansible_no_log': None,
'changed': True,
'cmd': 'vtysh -c "show isis neighbor R-1"',
'delta': '0:00:00.095988',
'end': '2026-10-03 07:36:39.901933',
'failed': False,
'invocation': {'module_args': {'_raw_params': 'vtysh -c "show isis neighbor '
'R-1"',
'_uses_shell': True,
'argv': None,
'chdir': None,
'creates': None,
'executable': None,
'removes': None,
'stdin': None,
'stdin_add_newline': True,
'strip_empty_ends': True,
'warn': False}},
'msg': '',
'rc': 0,
'start': '2026-10-03 07:36:39.805945',
'stderr': '',
'stderr_lines': [],
'stdout': 'Area AREA-2:\n'
' R-1 \n'
' Interface: Ethernet4, Level: 2, State: Up, Expires in 29s\n'
' Adjacency flaps: 3, Last: 4m1s ago\n'
' Circuit type: L2, Speaks: IPv4\n'
' SNPA: 220f.1ec7.caa5, LAN id: 2000.0000.0001.6c\n'
' LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 2m38s ago\n'
' Area Address(es):\n'
' 49.0001\n'
' IPv4 Address(es):\n'
' 30.1.1.2',
'stdout_lines': ['Area AREA-2:',
' R-1 ',
' Interface: Ethernet4, Level: 2, State: Up, Expires in '
'29s',
' Adjacency flaps: 3, Last: 4m1s ago',
' Circuit type: L2, Speaks: IPv4',
' SNPA: 220f.1ec7.caa5, LAN id: 2000.0000.0001.6c',
' LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 2m38s '
'ago',
' Area Address(es):',
' 49.0001',
' IPv4 Address(es):',
' 30.1.1.2']}
expect_ok = False
expect_values = ['LAN Priority: 64, is DIS']
f = <_io.TextIOWrapper name='/data/NetAutoTestFW/tests/common/templates/common_setup.j2' mode='r' encoding='UTF-8'>
ip_map = {'R-1': [{'intf': 'Ethernet0', 'ip': '21.1.1.2/24'},
{'intf': 'Ethernet4', 'ip': '30.1.1.2/24'},
{'intf': 'Ethernet8', 'ip': '20.1.1.2/24'}],
'R-2': [{'intf': 'Ethernet0', 'ip': '22.1.1.4/24'},
{'intf': 'Ethernet4', 'ip': '30.1.1.4/24'}],
'R-3': [{'intf': 'Ethernet0', 'ip': '20.1.1.3/24'},
{'intf': 'Ethernet4', 'ip': '10.0.100.1/24'}],
'R-4': [{'intf': 'Ethernet0', 'ip': '22.1.1.11/24'},
{'intf': 'Ethernet4', 'ip': '50.1.1.2/24'}],
'R-5': [{'intf': 'Ethernet0', 'ip': '50.1.1.3/24'},
{'intf': 'Ethernet4', 'ip': '40.0.100.1/24'}],
'R-6': [{'intf': 'Ethernet0', 'ip': '21.1.1.3/24'},
{'intf': 'Ethernet4', 'ip': '10.0.100.3/24'}]}
ip_profile = 'common_ip'
keys = {'scenario_name': 'Delete Circuit Priority',
'steps': [{'actions': [{'command': 'vtysh -c "config" \\\n'
'-c "interface Ethernet4" \\\n'
'-c "no isis priority" \\\n'
'-c "end"\n'}],
'expect': {'mode': 'and', 'values': [[]]},
'name': 'Delete circuit priority',
'node': 'R-1',
'not_expect': {'values': [[]]}},
{'actions': [{'command': 'vtysh -c "show isis neighbor R-1"'}],
'delay': 10,
'expect': {'mode': 'and', 'values': [['LAN Priority: 64, is DIS']]},
'name': 'Check isis neighbor R-1',
'node': 'R-2',
'not_expect': {'values': [[]]},
'retries': 10},
{'actions': [{'command': 'vtysh -c "show isis neighbor R-2"'}],
'delay': 10,
'expect': {'mode': 'and',
'values': [['LAN Priority: 64, is not DIS']]},
'name': 'Check circuit priority',
'node': 'R-1',
'not_expect': {'values': [[]]},
'retries': 10}]}
node_name = 'R-2'
nomalized_lines = ['Area AREA-2:',
'R-1',
'Interface: Ethernet4, Level: 2, State: Up, Expires in 29s',
'Adjacency flaps: 3, Last: 4m1s ago',
'Circuit type: L2, Speaks: IPv4',
'SNPA: 220f.1ec7.caa5, LAN id: 2000.0000.0001.6c',
'LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 2m38s ago',
'Area Address(es):',
'49.0001',
'IPv4 Address(es):',
'30.1.1.2']
not_contain_str = ''
not_expect_ok = True
not_expect_values = []
output = ('Area AREA-2:\n'
' R-1 \n'
' Interface: Ethernet4, Level: 2, State: Up, Expires in 29s\n'
' Adjacency flaps: 3, Last: 4m1s ago\n'
' Circuit type: L2, Speaks: IPv4\n'
' SNPA: 220f.1ec7.caa5, LAN id: 2000.0000.0001.6c\n'
' LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 2m38s ago\n'
' Area Address(es):\n'
' 49.0001\n'
' IPv4 Address(es):\n'
' 30.1.1.2\n')
parse_scenario = <tests.common.parse_scenario.ParseScenario object at 0x7b90346d2fa0>
re = <module 're' from '/usr/lib/python3.8/re.py'>
record_property = <function record_property.<locals>.append_property at 0x7b9034aa2820>
reload_config = None
rendered = ('\n'
'# Start daemons\n'
'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"\n'
'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"\n'
'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"\n'
'\n'
'\n'
'# Set IPs\n'
'\n'
'sudo config interface ip add Ethernet0 50.1.1.3/24\n'
'\n'
'sudo config interface ip add Ethernet4 40.0.100.1/24\n')
scenario = <tests.common.parse_scenario.ParseScenario object at 0x7b90346d2fa0>
scenario_name = 'Delete Circuit Priority'
scenario_path = 'test_sonic/isis/scenario_isis.yaml'
server = <tests.common.devices.vmhost.VMHost object at 0x7b903476d130>
session_node_name = 'R-5'
single_command = 'vtysh -c "show isis neighbor R-1"'
sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:12 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-1:~$ ',
'Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:15 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-2:~$ ',
'Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:18 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-3:~$ ',
'Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:19 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-4:~$ ',
'Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:22 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-5:~$ ']
ssh = ('Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:22 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-5:~$ ')
ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:12 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-1:~$ ',
'Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:15 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-2:~$ ',
'Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:18 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-3:~$ ',
'Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:19 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-4:~$ ',
'Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 '
'(2025-01-02) x86_64\r\n'
'You are on\r\n'
' ____ ___ _ _ _ ____\r\n'
' / ___| / _ \\| \\ | (_)/ ___|\r\n'
' \\___ \\| | | | \\| | | |\r\n'
' ___) | |_| | |\\ | | |___\r\n'
' |____/ \\___/|_| \\_|_|\\____|\r\n'
'\r\n'
'-- Software for Open Networking in the Cloud --\r\n'
'\r\n'
'Unauthorized access and/or use are prohibited.\r\n'
'All access and/or use are subject to monitoring.\r\n'
'\r\n'
'Help: https://sonic-net.github.io/SONiC/\r\n'
'\r\n'
'Last login: Sat Oct 3 05:53:22 2026 from 10.250.0.1\r'
'\r\n'
'admin@R-5:~$ ']
start_daemons = True
start_time = '06:50:24'
stderr = ''
stdout = ('Area AREA-2:\n'
' R-1 \n'
' Interface: Ethernet4, Level: 2, State: Up, Expires in 29s\n'
' Adjacency flaps: 3, Last: 4m1s ago\n'
' Circuit type: L2, Speaks: IPv4\n'
' SNPA: 220f.1ec7.caa5, LAN id: 2000.0000.0001.6c\n'
' LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 2m38s ago\n'
' Area Address(es):\n'
' 49.0001\n'
' IPv4 Address(es):\n'
' 30.1.1.2')
sub_sce_exp_mode = 'and'
sub_sce_exp_values = [['LAN Priority: 64, is DIS']]
sub_sce_not_exp_values = [[]]
sub_scenario_actions = [{'command': 'vtysh -c "show isis neighbor R-1"'}]
sub_scenario_delay = 10
sub_scenario_expect = {'mode': 'and', 'values': [['LAN Priority: 64, is DIS']]}
sub_scenario_name = 'Check isis neighbor R-1'
sub_scenario_not_expect = {'values': [[]]}
sub_scenario_retries = 10
sum_img_path = '/data/NetAutoTestFW/tests/converter_report/topology_img/topo-L2-L3.jpg'
target_ips = [{'intf': 'Ethernet0', 'ip': '50.1.1.3/24'},
{'intf': 'Ethernet4', 'ip': '40.0.100.1/24'}]
tasks = {'actions': [{'command': 'vtysh -c "show isis neighbor R-1"'}],
'delay': 10,
'expect': {'mode': 'and', 'values': [['LAN Priority: 64, is DIS']]},
'name': 'Check isis neighbor R-1',
'node': 'R-2',
'not_expect': {'values': [[]]},
'retries': 10}
template_content = ('{% if start_daemons %}\n'
'# Start daemons\n'
'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"\n'
'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"\n'
'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"\n'
'{% endif %}\n'
'\n'
'# Set IPs\n'
'{% for item in ip_list %}\n'
'sudo config interface ip add {{ item.intf }} {{ item.ip }}\n'
'{% endfor %}\n')
template_path = 'tests/common/templates/common_setup.j2'
timestamps = '07:34:22'
topo_img_name = 'topo-L2-L3.jpg'
topo_img_path = '/data/NetAutoTestFW/tests/converter_report/topology_img'
trace_success = False
ubuntu = []
ubuntuHostname = []
ubuntu_ssh_prompt = []
ubuntus = []
vmhost = <tests.common.devices.vmhost.VMHost object at 0x7b903476d130>
vtb = {'all': {'children': {'TGS': {'hosts': {'TG-1': {'ansible_host': '10.250.0.108',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'first_mac': '52:54:00:20:01:02',
'mac_addr': '52:54:00:20:01:01',
'second_mac': '52:54:00:20:01:03',
'type': 'kvm'}},
'vars': {'ansible_altpassword': 'YourPaSsWoRd',
'ansible_connection': 'multi_passwd_ssh',
'mgmt_subnet_mask_length': 24,
'mgmt_subnet_v6_mask_length': 64}},
'onie': {'hosts': {'dhcp-server': {'ansible_host': '10.250.0.2',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'type': 'kvm'},
'http-server': {'ansible_host': '10.250.0.3',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'type': 'kvm'}},
'vars': {'ansible_altpassword': 'YourPaSsWoRd',
'ansible_connection': 'multi_passwd_ssh',
'mgmt_subnet_mask_length': 24,
'mgmt_subnet_v6_mask_length': 64}},
'servers': {'children': {'server_1': {'children': {'TGS': None,
'onie': None,
'sonic_r': None,
'sonic_sw': None,
'ubuntu': None,
'vm_host_1': None},
'vars': {'host_var_file': 'host_vars/STR-ACS-VSERV-01.yml'}}},
'vars': {'topologies': ['etri',
'etri_bgp',
'etri_l2']}},
'sonic_r': {'hosts': {'R-1': {'ansible_host': '10.250.0.51',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:01',
'os_name': 'sonic-vs.bin',
'serial_port': 7001,
'symbolic_link': 'onie-installer-vs-1',
'type': 'kvm'},
'R-2': {'ansible_host': '10.250.0.52',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:02',
'os_name': 'sonic-vs.bin',
'serial_port': 7002,
'symbolic_link': 'onie-installer-vs-2',
'type': 'kvm'},
'R-3': {'ansible_host': '10.250.0.53',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:03',
'os_name': 'sonic-vs.bin',
'serial_port': 7003,
'symbolic_link': 'onie-installer-vs-3',
'type': 'kvm'},
'R-4': {'ansible_host': '10.250.0.54',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:04',
'os_name': 'sonic-vs.bin',
'serial_port': 7004,
'symbolic_link': 'onie-installer-vs-4',
'type': 'kvm'},
'R-5': {'ansible_host': '10.250.0.55',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:05',
'os_name': 'sonic-vs.bin',
'serial_port': 7005,
'symbolic_link': 'onie-installer-vs-5',
'type': 'kvm'},
'R-6': {'ansible_host': '10.250.0.56',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:06',
'os_name': 'sonic-vs.bin',
'serial_port': 7006,
'symbolic_link': 'onie-installer-vs-6',
'type': 'kvm'}},
'vars': {'ansible_altpassword': 'YourPaSsWoRd',
'ansible_connection': 'multi_passwd_ssh',
'bgp_ip': {'R-1': [{'intf': 'Ethernet4',
'ip': '10.1.1.1/30'},
{'intf': 'Ethernet8',
'ip': '10.1.1.9/30'},
{'intf': 'Ethernet12',
'ip': '10.1.1.5/30'},
{'intf': 'Ethernet16',
'ip': '10.10.1.1/24'},
{'intf': 'Ethernet20',
'ip': '10.10.2.1/24'}],
'R-2': [{'intf': 'Ethernet4',
'ip': '10.1.1.2/30'},
{'intf': 'Ethernet8',
'ip': '10.1.1.6/30'},
{'intf': 'Ethernet12',
'ip': '10.1.3.1/24'},
{'intf': 'Ethernet16',
'ip': '10.20.0.1/24'},
{'intf': 'Ethernet20',
'ip': '10.20.1.1/24'}],
'R-3': [{'intf': 'Ethernet0',
'ip': '10.1.1.10/30'},
{'intf': 'Ethernet8',
'ip': '10.1.3.2/24'},
{'intf': 'Ethernet12',
'ip': '10.30.0.1/24'},
{'intf': 'Ethernet16',
'ip': '10.30.1.1/24'}],
'R-4': [{'intf': 'Ethernet4',
'ip': '10.1.4.1/24'},
{'intf': 'Ethernet8',
'ip': '10.1.3.3/24'},
{'intf': 'Ethernet12',
'ip': '10.40.0.1/24'},
{'intf': 'Ethernet16',
'ip': '10.40.1.1/24'}],
'R-5': [{'intf': 'Ethernet0',
'ip': '10.1.4.2/24'},
{'intf': 'Ethernet8',
'ip': '10.50.0.1/24'},
{'intf': 'Ethernet12',
'ip': '10.50.1.1/24'}]},
'common_ip': {'R-1': [{'intf': 'Ethernet0',
'ip': '21.1.1.2/24'},
{'intf': 'Ethernet4',
'ip': '30.1.1.2/24'},
{'intf': 'Ethernet8',
'ip': '20.1.1.2/24'}],
'R-2': [{'intf': 'Ethernet0',
'ip': '22.1.1.4/24'},
{'intf': 'Ethernet4',
'ip': '30.1.1.4/24'}],
'R-3': [{'intf': 'Ethernet0',
'ip': '20.1.1.3/24'},
{'intf': 'Ethernet4',
'ip': '10.0.100.1/24'}],
'R-4': [{'intf': 'Ethernet0',
'ip': '22.1.1.11/24'},
{'intf': 'Ethernet4',
'ip': '50.1.1.2/24'}],
'R-5': [{'intf': 'Ethernet0',
'ip': '50.1.1.3/24'},
{'intf': 'Ethernet4',
'ip': '40.0.100.1/24'}],
'R-6': [{'intf': 'Ethernet0',
'ip': '21.1.1.3/24'},
{'intf': 'Ethernet4',
'ip': '10.0.100.3/24'}]},
'mgmt_subnet_mask_length': 24,
'mgmt_subnet_v6_mask_length': 64,
'ospf_redist_ip': {'R-1': [{'intf': 'Ethernet4',
'ip': '30.1.1.2/24'},
{'intf': 'Ethernet8',
'ip': '20.1.1.2/24'}],
'R-2': [{'intf': 'Ethernet4',
'ip': '30.1.1.4/24'}],
'R-3': [{'intf': 'Ethernet0',
'ip': '20.1.1.3/24'},
{'intf': 'Ethernet4',
'ip': '10.0.100.1/24'},
{'intf': 'Ethernet8',
'ip': '10.1.100.1/24'},
{'intf': 'Ethernet12',
'ip': '10.2.100.1/24'},
{'intf': 'Ethernet16',
'ip': '10.3.100.1/24'}]}}},
'sonic_sw': {'hosts': {'SW-1': {'ansible_host': '10.250.0.10',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:07',
'os_name': 'sonic-vs.bin',
'serial_port': 8001,
'symbolic_link': 'onie-installer-vs-7',
'type': 'kvm'},
'SW-2': {'ansible_host': '10.250.0.11',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:08',
'os_name': 'sonic-vs.bin',
'serial_port': 8002,
'symbolic_link': 'onie-installer-vs-8',
'type': 'kvm'},
'SW-3': {'ansible_host': '10.250.0.12',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:09',
'os_name': 'sonic-vs.bin',
'serial_port': 8003,
'symbolic_link': 'onie-installer-vs-9',
'type': 'kvm'},
'SW-4': {'ansible_host': '10.250.0.13',
'ansible_password': 'password',
'ansible_user': 'admin',
'hwsku': 'Force10-S6000',
'mgmt_mac': '52:54:00:00:00:10',
'os_name': 'sonic-vs.bin',
'serial_port': 8004,
'symbolic_link': 'onie-installer-vs-10',
'type': 'kvm'}},
'vars': {'ansible_altpassword': 'YourPaSsWoRd',
'ansible_connection': 'multi_passwd_ssh',
'mgmt_subnet_mask_length': 24,
'mgmt_subnet_v6_mask_length': 64}},
'ubuntu': {'hosts': {'H-1': {'ansible_host': '10.250.0.101',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'dest_ip': '40.0.100.0/24',
'dp_ip': '10.0.100.10/24',
'first_mac': '52:54:00:10:02:01',
'mac_addr': '52:54:00:10:01:01',
'src_ip': '10.0.100.1',
'type': 'kvm'},
'H-2': {'ansible_host': '10.250.0.102',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'dest_ip': '40.0.100.0/24',
'dp_ip': '10.0.100.11/24',
'first_mac': '52:54:00:10:02:02',
'mac_addr': '52:54:00:10:01:02',
'src_ip': '10.0.100.1',
'type': 'kvm'},
'H-3': {'ansible_host': '10.250.0.103',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'dest_ip': '40.0.100.0/24',
'dp_ip': '10.0.100.12/24',
'first_mac': '52:54:00:10:02:03',
'mac_addr': '52:54:00:10:01:03',
'src_ip': '10.0.100.1',
'type': 'kvm'},
'H-4': {'ansible_host': '10.250.0.104',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'dest_ip': '40.0.100.0/24',
'dp_ip': '10.0.100.13/24',
'first_mac': '52:54:00:10:02:04',
'mac_addr': '52:54:00:10:01:04',
'src_ip': '10.0.100.1',
'type': 'kvm'},
'H-5': {'ansible_host': '10.250.0.105',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'dest_ip': '10.0.100.0/24',
'dp_ip': '40.0.100.105/24',
'first_mac': '52:54:00:10:02:05',
'mac_addr': '52:54:00:10:01:05',
'src_ip': '40.0.100.1',
'type': 'kvm'},
'H-6': {'ansible_host': '10.250.0.106',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'dest_ip': '40.0.100.0/24',
'dp_ip': '10.0.100.14/24',
'first_mac': '52:54:00:10:02:06',
'mac_addr': '52:54:00:10:01:06',
'src_ip': '10.0.100.1',
'type': 'kvm'},
'H-7': {'ansible_host': '10.250.0.107',
'ansible_password': 'password',
'ansible_user': 'ubuntu',
'dest_ip': '40.0.100.0/24',
'dp_ip': '10.0.100.15/24',
'first_mac': '52:54:00:10:02:07',
'mac_addr': '52:54:00:10:01:07',
'src_ip': '10.0.100.1',
'type': 'kvm'}},
'vars': {'ansible_altpassword': 'YourPaSsWoRd',
'ansible_connection': 'multi_passwd_ssh',
'mgmt_subnet_mask_length': 24,
'mgmt_subnet_v6_mask_length': 64}},
'vm_host': {'children': {'vm_host_1': {'hosts': {'STR-ACS-VSERV-01': {'ansible_host': '172.17.0.1',
'ansible_user': 'jenkins',
'vm_host_user': 'jenkins'}}}}}}}}
yaml = <module 'yaml' from '/usr/local/lib/python3.8/dist-packages/yaml/__init__.py'>

test_sonic/test_sonic.py:294: AssertionError