mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	cisco_wifi_ctl.py: multiple close
This commit is contained in:
		@@ -472,8 +472,8 @@ def main():
 | 
				
			|||||||
                     logg.info("9800  Closing the connection and try to re-establish loop_count {} i {} j {}".format(loop_count,i,j))
 | 
					                     logg.info("9800  Closing the connection and try to re-establish loop_count {} i {} j {}".format(loop_count,i,j))
 | 
				
			||||||
                     egg.close(force = True)
 | 
					                     egg.close(force = True)
 | 
				
			||||||
                     sleep(1)
 | 
					                     sleep(1)
 | 
				
			||||||
                     #egg.close(force = True)
 | 
					                     egg.close(force = True)
 | 
				
			||||||
                     #sleep(0.2)
 | 
					                     sleep(1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                     # re establish telnet
 | 
					                     # re establish telnet
 | 
				
			||||||
                     cmd = "telnet %s %d"%(host, port)
 | 
					                     cmd = "telnet %s %d"%(host, port)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user