mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	cleanup logout 9800
This commit is contained in:
		@@ -935,7 +935,7 @@ def main():
 | 
			
		||||
 | 
			
		||||
   if (command is None):
 | 
			
		||||
      if args.series == "9800":
 | 
			
		||||
         logg.info("9800 series command completed by earlier logic")
 | 
			
		||||
         logg.info("9800 series command completed by earlier logic: {}".format(command))
 | 
			
		||||
      else:
 | 
			
		||||
         logg.info("No command specified, going to log out.")
 | 
			
		||||
   else:
 | 
			
		||||
@@ -960,13 +960,6 @@ def main():
 | 
			
		||||
            except:
 | 
			
		||||
               logg.info("9800 exception on exit")
 | 
			
		||||
               sleep(1)
 | 
			
		||||
            try:
 | 
			
		||||
               logg.info("9800 send carriage return and linefeed")
 | 
			
		||||
               egg.sendline("\r\n")
 | 
			
		||||
               sleep(0.1)
 | 
			
		||||
            except:
 | 
			
		||||
               logg.info("9800 exception on carriage return and linefeed")
 | 
			
		||||
            break
 | 
			
		||||
         if i == 2:
 | 
			
		||||
            egg.sendline("end")
 | 
			
		||||
            sleep(0.2)
 | 
			
		||||
 
 | 
			
		||||
@@ -597,7 +597,6 @@ def main():
 | 
			
		||||
 | 
			
		||||
                   # Wait a bit for AP to come back up
 | 
			
		||||
                   time.sleep(1)
 | 
			
		||||
                   # TODO figure out equivalent of the advanced command for 9800
 | 
			
		||||
                   if args.series == "9800":
 | 
			
		||||
                       print("9800  cisco_wifi_ctl.py: advanced")
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user