From 491e807cf8f34db7f2d56442ac48ec21377d0faf Mon Sep 17 00:00:00 2001 From: ETWen Date: Thu, 20 Aug 2026 23:51:28 +0800 Subject: [PATCH] feat(ttl): Log 100G port status, run traffic on both switch units Script A and B: `show interfaces status Ethernet513,Ethernet514` before the traffic stage, so the uplink state is on record next to the counters it explains. In B this takes the slot the empty "eye measurement" placeholder held. Script B: drop -u 0 from the traffic calls. A and C already defaulted to TL_UNITS="0 1", so B was pinned to unit 0 while C stopped both -- the soak only ever loaded one switch board, and C's stop hit a unit that was never initialised. All three scripts now cover both units. Script B: post-clear settle 10 s -> 15 s, matching A. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_014RetWKFZFG1ZHcitQAyhwM --- src/Script_ABC_Blanton/1_Blanton_Script_A.ttl | 4 ++++ src/Script_ABC_Blanton/2_Blanton_Script_B.ttl | 18 +++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl b/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl index eab0d02..2cb07bf 100644 --- a/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl +++ b/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl @@ -102,6 +102,10 @@ wait prompt_sonic_root ;wait prompt_sonic_root ;flushrecv +; ========== 100G Port Status ========== +wait prompt_sonic_root +sendln "show interfaces status Ethernet513,Ethernet514" + ; ========== First Traffic Test ========== wait prompt_sonic_root sendln "blanton_traffic_linespeed ps" diff --git a/src/Script_ABC_Blanton/2_Blanton_Script_B.ttl b/src/Script_ABC_Blanton/2_Blanton_Script_B.ttl index 0defb46..0dad193 100644 --- a/src/Script_ABC_Blanton/2_Blanton_Script_B.ttl +++ b/src/Script_ABC_Blanton/2_Blanton_Script_B.ttl @@ -51,20 +51,24 @@ sendln "python ~/hammer/tools/stress_usb.py &" wait prompt_sonic_root sendln "jobs" -; ========== Take one round of eye measurement on uplink ports ========== + +; ========== 100G Port Status ========== +wait prompt_sonic_root +sendln "show interfaces status Ethernet513,Ethernet514" + ; ========== Traffic START ========== wait prompt_sonic_root -sendln "blanton_traffic_linespeed ps -u 0" +sendln "blanton_traffic_linespeed ps" wait prompt_sonic_root -sendln "blanton_traffic_linespeed init -u 0" +sendln "blanton_traffic_linespeed init" wait prompt_sonic_root -sendln "blanton_traffic_linespeed clear -u 0" +sendln "blanton_traffic_linespeed clear" wait prompt_sonic_root -pause 10 -sendln "blanton_traffic_linespeed show -u 0" +pause 15 +sendln "blanton_traffic_linespeed show" wait prompt_sonic_root -sendln "blanton_traffic_linespeed start -u 0" +sendln "blanton_traffic_linespeed start"