diff --git a/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl b/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl index 2f48e8c..8aec742 100644 --- a/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl +++ b/src/Script_ABC_Blanton/1_Blanton_Script_A.ttl @@ -110,13 +110,20 @@ endif ; ========== TAKE DATA ========== include "utils/setup_pmon.ttl" include "utils/show_dmesg.ttl" -wait prompt_sonic_root ;include "utils/xxx.ttl" ;wait prompt_sonic_root ;flushrecv ; ========== 100G Port Status ========== +wait prompt_sonic_root +sendln "config interface -n asic0 startup Ethernet513" +wait prompt_sonic_root +sendln "config interface -n asic0 shutdown Ethernet513" +wait prompt_sonic_root +sendln "config interface -n asic1 startup Ethernet514" +sendln "config save -y" + wait prompt_sonic_root sendln "show interfaces status Ethernet513,Ethernet514" diff --git a/src/Script_ABC_Blanton/utils/wait_init.ttl b/src/Script_ABC_Blanton/utils/wait_init.ttl index 87202bb..30215e0 100644 --- a/src/Script_ABC_Blanton/utils/wait_init.ttl +++ b/src/Script_ABC_Blanton/utils/wait_init.ttl @@ -61,7 +61,7 @@ if SWB_UNIT0 = 1 then str2int wt_up0 groupmatchstr1 endif wait prompt_sonic_root - if wt_up0 <= WT_MIN then + if wt_up0 < WT_MIN then wt_ok = 0 endif endif @@ -74,7 +74,7 @@ if SWB_UNIT1 = 1 then str2int wt_up1 groupmatchstr1 endif wait prompt_sonic_root - if wt_up1 <= WT_MIN then + if wt_up1 < WT_MIN then wt_ok = 0 endif endif