mirror of
				https://github.com/Telecominfraproject/wlan-testing.git
				synced 2025-10-30 18:38:06 +00:00 
			
		
		
		
	Add support for cig194c DUT type.
And example for configuring it in nola-15 testbed. Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
		| @@ -103,7 +103,7 @@ def add_base_parse_args(parser): | |||||||
|                              help="Force upgrading firmware even if it is already current version", |                              help="Force upgrading firmware even if it is already current version", | ||||||
|                              default=False) |                              default=False) | ||||||
|     parser.add_argument("-m", "--model", type=str, |     parser.add_argument("-m", "--model", type=str, | ||||||
|                              choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', 'wf188n', 'eap102', 'None'], |                              choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', 'wf188n', 'eap102', 'eap101', 'cig194c', 'None'], | ||||||
|                              help="AP model to be run", required=True) |                              help="AP model to be run", required=True) | ||||||
|     parser.add_argument("--equipment-id", type=str, |     parser.add_argument("--equipment-id", type=str, | ||||||
|                              help="AP model ID, as exists in the cloud-sdk.  -1 to auto-detect.", |                              help="AP model ID, as exists in the cloud-sdk.  -1 to auto-detect.", | ||||||
|   | |||||||
| @@ -111,16 +111,21 @@ Testbed 12 (Basic, wf188n) | |||||||
|  |  | ||||||
| Testbed-15 | Testbed-15 | ||||||
|  |  | ||||||
| # Set AP profile on NOLA-15 | # Set AP profile on NOLA-15 (ap-1) | ||||||
| ./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ | ./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ | ||||||
|    --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --lanforge-ip-address localhost --lanforge-port-number 8952 \ |    --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --lanforge-ip-address localhost --lanforge-port-number 8952 \ | ||||||
|    --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ |    --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ | ||||||
|    --skip-radius --skip-wpa --verbose --testbed "NOLA-15" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ |    --skip-radius --skip-wpa --verbose --testbed "NOLA-15" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ | ||||||
|    --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge |    --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge | ||||||
|  |  | ||||||
| # Update firmware | # Update firmware (ap-1) | ||||||
| ./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ | ./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ | ||||||
|    --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --testbed \"NOLA-15\" \ |    --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --testbed \"NOLA-15\" \ | ||||||
|    --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build --force-upgrade true |    --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build --force-upgrade true | ||||||
|  |  | ||||||
|  | # Set AP profile on NOLA-15 (ap-2, cig194c) | ||||||
|  | ./sdk_set_profile.py --testrail-user-id NONE --model cig194c --ap-jumphost-address localhost --ap-jumphost-port 8953 \ | ||||||
|  |    --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP5 --lanforge-ip-address localhost --lanforge-port-number 8952 \ | ||||||
|  |    --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ | ||||||
|  |    --skip-radius --skip-wpa --verbose --testbed "NOLA-15b" --ssid-5g-wpa2 Default-SSID-5gl-cig --psk-5g-wpa2 12345678 \ | ||||||
|  |    --ssid-2g-wpa2 Default-SSID-2g-cig --psk-2g-wpa2 12345678 --mode bridge | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ben Greear
					Ben Greear