mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 10:48:02 +00:00 
			
		
		
		
	cisco_wifi_ctl.py : try to restablish connection on timeout
This commit is contained in:
		| @@ -699,6 +699,14 @@ def main(): | ||||
|                      sleep(1) | ||||
|                      egg.close(force = True) | ||||
|                      sleep(1) | ||||
|                      # re establish telnet | ||||
|                      cmd = "telnet %s %d"%(host, port) | ||||
|                      logg.info("Spawn: "+cmd+NL) | ||||
|                      egg = pexpect.spawn(cmd) | ||||
|                      egg.logfile = FileAdapter(logg) | ||||
|                      time.sleep(2) | ||||
|                      logged_in_9800 = False | ||||
|                      found_escape = False | ||||
|  | ||||
|                 | ||||
|                if i == 1: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chuck SmileyRekiere
					Chuck SmileyRekiere