mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
lf_cisco_power.py: removed exit if could not get dBm from controller it is handled later in the code.
This commit is contained in:
@@ -728,7 +728,7 @@ def main():
|
|||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
# Wait a bit for AP to come back up
|
# Wait a bit for AP to come back up
|
||||||
time.sleep(1)
|
time.sleep(2)
|
||||||
if args.series == "9800":
|
if args.series == "9800":
|
||||||
try:
|
try:
|
||||||
print("9800 cisco_wifi_ctl.py: advanced")
|
print("9800 cisco_wifi_ctl.py: advanced")
|
||||||
@@ -782,8 +782,7 @@ def main():
|
|||||||
# Could not talk to controller?
|
# Could not talk to controller?
|
||||||
err = "ERROR: Could not query dBm from controller, maybe controller died?"
|
err = "ERROR: Could not query dBm from controller, maybe controller died?"
|
||||||
print(err)
|
print(err)
|
||||||
print("Exiting: check controller and AP , Command on AP to erase the config: capwap ap erase all")
|
print("Check controller and AP , Command on AP to erase the config: capwap ap erase all")
|
||||||
exit(1)
|
|
||||||
e_tot += err
|
e_tot += err
|
||||||
e_tot += " "
|
e_tot += " "
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user