mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
cisco_wifi_ctl.py : bug fixes
This commit is contained in:
@@ -1284,7 +1284,7 @@ def main():
|
|||||||
loop_count = 0
|
loop_count = 0
|
||||||
while logged_out_9800 == False and loop_count <= 6:
|
while logged_out_9800 == False and loop_count <= 6:
|
||||||
loop_count += 1
|
loop_count += 1
|
||||||
i = egg.expect_exact(["CCP","CCP_EN", "CCP_CONFIG","(config-wlan)#",CCP_POLICY_TAG,CCP_POLICY_TAG,pexpect.TIMEOUT],timeout=5)
|
i = egg.expect_exact(["CCP","CCP_EN", "CCP_CONFIG",CCP_CONFIG_WLAN,CCP_POLICY_TAG,CCP_CONFIG_LINE,pexpect.TIMEOUT],timeout=5)
|
||||||
print (egg.before.decode('utf-8', 'ignore'))
|
print (egg.before.decode('utf-8', 'ignore'))
|
||||||
if i == 0:
|
if i == 0:
|
||||||
logg.info("{} prompt received can send logout".format(CCP))
|
logg.info("{} prompt received can send logout".format(CCP))
|
||||||
|
|||||||
Reference in New Issue
Block a user