mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 02:38:03 +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: | ||||||
| @@ -837,12 +836,12 @@ def main(): | |||||||
|                           print(err) |                           print(err) | ||||||
|                           e_tot += err |                           e_tot += err | ||||||
|                           e_tot += "  " |                           e_tot += "  " | ||||||
|                           print("3504 test_parameters cc_mac: read : {}".format(cc_mac)) |                        print("3504 test_parameters cc_mac: read : {}".format(cc_mac)) | ||||||
|                           print("3504 test_parameters cc_count: read : {}".format(cc_ch_count)) |                        print("3504 test_parameters cc_count: read : {}".format(cc_ch_count)) | ||||||
|                           print("3504 test_parameters cc_bw: read : {}".format(cc_bw)) |                        print("3504 test_parameters cc_bw: read : {}".format(cc_bw)) | ||||||
|                           print("3504 test_parameters cc_power: read : {}".format(cc_power)) |                        print("3504 test_parameters cc_power: read : {}".format(cc_power)) | ||||||
|                           print("3504 test_parameters cc_dbm: read : {}".format(cc_dbm)) |                        print("3504 test_parameters cc_dbm: read : {}".format(cc_dbm)) | ||||||
|                           print("3504 test_parameters cc_ch: read : {}".format(cc_ch)) |                        print("3504 test_parameters cc_ch: read : {}".format(cc_ch)) | ||||||
|  |  | ||||||
|  |  | ||||||
|                    # Up station |                    # Up station | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Chuck SmileyRekiere
					Chuck SmileyRekiere