mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-15 17:45:07 +00:00
cisco_wifi_clt.py: debug
This commit is contained in:
@@ -1197,7 +1197,7 @@ def main():
|
||||
print("show wlan summary command to send 2")
|
||||
egg.sendline("show wlan summary")
|
||||
sleep(0.1)
|
||||
i = egg.expect([CCP,CCP_EN,pexpect.TIMEOUT],timeout=1)
|
||||
i = egg.expect_exact([CCP,CCP_EN,pexpect.TIMEOUT],timeout=2)
|
||||
print("CCP: {} CCP_EN: {} ".format(CCP,CCP_EN))
|
||||
if i == 0:
|
||||
logg.info("show wlan summary sent prompt {}".format(CCP))
|
||||
|
||||
Reference in New Issue
Block a user