mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
cleanup logout 9800
This commit is contained in:
@@ -935,7 +935,7 @@ def main():
|
|||||||
|
|
||||||
if (command is None):
|
if (command is None):
|
||||||
if args.series == "9800":
|
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:
|
else:
|
||||||
logg.info("No command specified, going to log out.")
|
logg.info("No command specified, going to log out.")
|
||||||
else:
|
else:
|
||||||
@@ -960,13 +960,6 @@ def main():
|
|||||||
except:
|
except:
|
||||||
logg.info("9800 exception on exit")
|
logg.info("9800 exception on exit")
|
||||||
sleep(1)
|
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:
|
if i == 2:
|
||||||
egg.sendline("end")
|
egg.sendline("end")
|
||||||
sleep(0.2)
|
sleep(0.2)
|
||||||
|
|||||||
@@ -597,7 +597,6 @@ def main():
|
|||||||
|
|
||||||
# Wait a bit for AP to come back up
|
# Wait a bit for AP to come back up
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
# TODO figure out equivalent of the advanced command for 9800
|
|
||||||
if args.series == "9800":
|
if args.series == "9800":
|
||||||
print("9800 cisco_wifi_ctl.py: advanced")
|
print("9800 cisco_wifi_ctl.py: advanced")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user