mirror of
				https://github.com/Telecominfraproject/wlan-testing.git
				synced 2025-10-31 19:08:01 +00:00 
			
		
		
		
	added examples on NOLA-01 with latest sdk base url, and some cloudsdk fix
This commit is contained in:
		| @@ -93,7 +93,7 @@ class CloudSDK: | |||||||
|         return True |         return True | ||||||
|  |  | ||||||
|     def should_upgrade_ap_fw(self, force_upgrade, skip_upgrade, report_data, latest_ap_image, fw_model, ap_cli_fw, |     def should_upgrade_ap_fw(self, force_upgrade, skip_upgrade, report_data, latest_ap_image, fw_model, ap_cli_fw, | ||||||
|                              logger): |                              logger, key): | ||||||
|         do_upgrade = False |         do_upgrade = False | ||||||
|         if ap_cli_fw == latest_ap_image and force_upgrade != True: |         if ap_cli_fw == latest_ap_image and force_upgrade != True: | ||||||
|             print('FW does not require updating') |             print('FW does not require updating') | ||||||
| @@ -135,7 +135,7 @@ class CloudSDK: | |||||||
|     # client is testrail client |     # client is testrail client | ||||||
|     def do_upgrade_ap_fw(self, command_line_args, report_data, test_cases, testrail_client, ap_image, cloudModel, model, |     def do_upgrade_ap_fw(self, command_line_args, report_data, test_cases, testrail_client, ap_image, cloudModel, model, | ||||||
|                          jfrog_user, jfrog_pwd, testrails_rid, customer_id, equipment_id, logger): |                          jfrog_user, jfrog_pwd, testrails_rid, customer_id, equipment_id, logger): | ||||||
|         ###Test Create Firmware Version |         # Test Create Firmware Version | ||||||
|         key = model |         key = model | ||||||
|         rid = testrails_rid |         rid = testrails_rid | ||||||
|         cloudSDK_url = self.base_url |         cloudSDK_url = self.base_url | ||||||
|   | |||||||
| @@ -25,9 +25,11 @@ The ports are used as: | |||||||
| Testbed-01 | Testbed-01 | ||||||
|  |  | ||||||
| # Set AP profile on NOLA-01 | # Set AP profile on NOLA-01 | ||||||
| ./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803   --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --lanforge-ip-address localhost --lanforge-port-number 8802   --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc.cicd.lab.wlan.tip.build   --skip-radius --skip-wpa --verbose --testbed "NOLA-01" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678   --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge | ./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803   --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --lanforge-ip-address localhost --lanforge-port-number 8802   --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc.cicd.lab.wlan.tip.build   --skip-radius --skip-wpa --verbose --testbed "NOLA-01" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678   --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-01r" --lanforge-ip-address localhost --lanforge-port-number 8802 --default_ap_profile TipWlan-2-Radios --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 --skip-upgrade True --testrail-milestone milestone-1 --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build | ||||||
|  |  | ||||||
|  |  | ||||||
| Testbed-09 (perfecto) | Testbed-09 (perfecto) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 shivam
					shivam