mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
Merge /home/greearb/git/tip/wlan-lanforge-scripts
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -11,8 +11,13 @@ This script is used to look for and test new firmware available for the APs. AP
|
|||||||
1. Check current AP firmware *(If AP already running newest firmware, test will skip)*
|
1. Check current AP firmware *(If AP already running newest firmware, test will skip)*
|
||||||
2. Create Testrail test run with required test cases included
|
2. Create Testrail test run with required test cases included
|
||||||
3. Upgrade AP via CloudSDK API
|
3. Upgrade AP via CloudSDK API
|
||||||
4. Check if AP upgrade and CloudSDK connection successful
|
4. Check if AP upgrade and CloudSDK connection successful
|
||||||
5. Test client connectivity on SSID modes, marking TestRail and report_data.json with pass/fail
|
5. For each SSID mode (bridge, NAT and VLAN), marking TestRail and report_data.json with pass/fail:
|
||||||
|
1. Create SSID Profiles for various security modes and radio types
|
||||||
|
2. Create AP Profile for SSID mode
|
||||||
|
3. Apply AP profile to AP
|
||||||
|
5. Check that SSID have been applied properly on AP
|
||||||
|
4. Perform client connectivity tests
|
||||||
6. Update sanity_status.json with **overall** pass/fail
|
6. Update sanity_status.json with **overall** pass/fail
|
||||||
|
|
||||||
## Throughput Test
|
## Throughput Test
|
||||||
|
|||||||
@@ -71,13 +71,11 @@ from lab_ap_info import profile_info_dict
|
|||||||
from lab_ap_info import ap_models
|
from lab_ap_info import ap_models
|
||||||
from lab_ap_info import mimo_2dot4g
|
from lab_ap_info import mimo_2dot4g
|
||||||
from lab_ap_info import mimo_5g
|
from lab_ap_info import mimo_5g
|
||||||
|
from lab_ap_info import customer_id
|
||||||
|
from lab_ap_info import cloud_type
|
||||||
#import json file to determine if throughput should be run for specific AP model
|
#import json file to determine if throughput should be run for specific AP model
|
||||||
sanity_status = json.load(open("sanity_status.json"))
|
sanity_status = json.load(open("sanity_status.json"))
|
||||||
|
|
||||||
|
|
||||||
#bearer = CloudSDK.get_bearer(cloudSDK_url)
|
|
||||||
#print(bearer)
|
|
||||||
|
|
||||||
#create CSV file for test run
|
#create CSV file for test run
|
||||||
today = str(date.today())
|
today = str(date.today())
|
||||||
csv_file = csv_path+"throughput_test_"+today+".csv"
|
csv_file = csv_path+"throughput_test_"+today+".csv"
|
||||||
@@ -100,9 +98,8 @@ for key in equipment_id_dict:
|
|||||||
if sanity_status['sanity_status'][key] == "passed":
|
if sanity_status['sanity_status'][key] == "passed":
|
||||||
logger.info("Running throughput test on " + key)
|
logger.info("Running throughput test on " + key)
|
||||||
##Get Bearer Token to make sure its valid (long tests can require re-auth)
|
##Get Bearer Token to make sure its valid (long tests can require re-auth)
|
||||||
bearer = CloudSDK.get_bearer(cloudSDK_url)
|
bearer = CloudSDK.get_bearer(cloudSDK_url, cloud_type)
|
||||||
###Get Current AP Firmware
|
###Get Current AP Firmware
|
||||||
customer_id = "2"
|
|
||||||
equipment_id = equipment_id_dict[key]
|
equipment_id = equipment_id_dict[key]
|
||||||
ap_fw = CloudSDK.ap_firmware(customer_id, equipment_id, cloudSDK_url, bearer)
|
ap_fw = CloudSDK.ap_firmware(customer_id, equipment_id, cloudSDK_url, bearer)
|
||||||
fw_model = ap_fw.partition("-")[0]
|
fw_model = ap_fw.partition("-")[0]
|
||||||
@@ -131,7 +128,7 @@ for key in equipment_id_dict:
|
|||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
sta_list = station
|
sta_list = station
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model]["fiveG_WPA2-EAP_SSID"]
|
ssid_name = profile_info_dict[fw_model]["fiveG_WPA2-EAP_SSID"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
eap_type = "TTLS"
|
eap_type = "TTLS"
|
||||||
@@ -145,7 +142,7 @@ for key in equipment_id_dict:
|
|||||||
#5G WPA2 UDP DS/US and TCP DS/US
|
#5G WPA2 UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model]["fiveG_WPA2_SSID"]
|
ssid_name = profile_info_dict[fw_model]["fiveG_WPA2_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"]
|
ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
@@ -159,7 +156,7 @@ for key in equipment_id_dict:
|
|||||||
# 5G WPA UDP DS/US and TCP DS/US
|
# 5G WPA UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model]["fiveG_WPA_SSID"]
|
ssid_name = profile_info_dict[fw_model]["fiveG_WPA_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"]
|
ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"]
|
||||||
security = "wpa"
|
security = "wpa"
|
||||||
@@ -173,7 +170,7 @@ for key in equipment_id_dict:
|
|||||||
# 5G Open UDP DS/US and TCP DS/US
|
# 5G Open UDP DS/US and TCP DS/US
|
||||||
# ap_model = fw_model
|
# ap_model = fw_model
|
||||||
# firmware = ap_fw
|
# firmware = ap_fw
|
||||||
# radio = "wiphy3"
|
# radio = lab_ap_info.lanforge_5g
|
||||||
# ssid_name = profile_info_dict[fw_model]["fiveG_OPEN_SSID"]
|
# ssid_name = profile_info_dict[fw_model]["fiveG_OPEN_SSID"]
|
||||||
# ssid_psk = "BLANK"
|
# ssid_psk = "BLANK"
|
||||||
# security = "open"
|
# security = "open"
|
||||||
@@ -187,7 +184,7 @@ for key in equipment_id_dict:
|
|||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
sta_list = station
|
sta_list = station
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2-EAP_SSID"]
|
ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2-EAP_SSID"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
eap_type = "TTLS"
|
eap_type = "TTLS"
|
||||||
@@ -202,7 +199,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G WPA2 UDP DS/US and TCP DS/US
|
# 2.4G WPA2 UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2_SSID"]
|
ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA2_PSK"]
|
ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA2_PSK"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
@@ -216,7 +213,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G WPA UDP DS/US and TCP DS/US
|
# 2.4G WPA UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model]["twoFourG_WPA_SSID"]
|
ssid_name = profile_info_dict[fw_model]["twoFourG_WPA_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA_PSK"]
|
ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA_PSK"]
|
||||||
security = "wpa"
|
security = "wpa"
|
||||||
@@ -230,7 +227,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G Open UDP DS/US and TCP DS/US
|
# 2.4G Open UDP DS/US and TCP DS/US
|
||||||
#ap_model = fw_model
|
#ap_model = fw_model
|
||||||
#firmware = ap_fw
|
#firmware = ap_fw
|
||||||
# radio = "wiphy3"
|
# radio = lab_ap_info.lanforge_5g
|
||||||
# ssid_name = profile_info_dict[fw_model]["twoFourG_OPEN_SSID"]
|
# ssid_name = profile_info_dict[fw_model]["twoFourG_OPEN_SSID"]
|
||||||
# ssid_psk = "BLANK"
|
# ssid_psk = "BLANK"
|
||||||
# security = "open"
|
# security = "open"
|
||||||
@@ -261,7 +258,7 @@ for key in equipment_id_dict:
|
|||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
sta_list = station
|
sta_list = station
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA2-EAP_SSID"]
|
ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA2-EAP_SSID"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
eap_type = "TTLS"
|
eap_type = "TTLS"
|
||||||
@@ -276,7 +273,7 @@ for key in equipment_id_dict:
|
|||||||
# 5G WPA2 NAT UDP DS/US and TCP DS/US
|
# 5G WPA2 NAT UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA2_SSID"]
|
ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA2_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model+'_nat']["fiveG_WPA2_PSK"]
|
ssid_psk = profile_info_dict[fw_model+'_nat']["fiveG_WPA2_PSK"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
@@ -290,7 +287,7 @@ for key in equipment_id_dict:
|
|||||||
# 5G WPA UDP DS/US and TCP DS/US
|
# 5G WPA UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA_SSID"]
|
ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model+'_nat']["fiveG_WPA_PSK"]
|
ssid_psk = profile_info_dict[fw_model+'_nat']["fiveG_WPA_PSK"]
|
||||||
security = "wpa"
|
security = "wpa"
|
||||||
@@ -304,7 +301,7 @@ for key in equipment_id_dict:
|
|||||||
# 5G Open UDP DS/US and TCP DS/US
|
# 5G Open UDP DS/US and TCP DS/US
|
||||||
# ap_model = fw_model
|
# ap_model = fw_model
|
||||||
# firmware = ap_fw
|
# firmware = ap_fw
|
||||||
# radio = "wiphy3"
|
# radio = lab_ap_info.lanforge_5g
|
||||||
# ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_OPEN_SSID"]
|
# ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_OPEN_SSID"]
|
||||||
# ssid_psk = "BLANK"
|
# ssid_psk = "BLANK"
|
||||||
# security = "open"
|
# security = "open"
|
||||||
@@ -318,7 +315,7 @@ for key in equipment_id_dict:
|
|||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
sta_list = station
|
sta_list = station
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2-EAP_SSID"]
|
ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2-EAP_SSID"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
eap_type = "TTLS"
|
eap_type = "TTLS"
|
||||||
@@ -332,7 +329,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G WPA2 UDP DS/US and TCP DS/US
|
# 2.4G WPA2 UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2_SSID"]
|
ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2_PSK"]
|
ssid_psk = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2_PSK"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
@@ -346,7 +343,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G WPA UDP DS/US and TCP DS/US
|
# 2.4G WPA UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA_SSID"]
|
ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model+'_nat']["twoFourG_WPA_PSK"]
|
ssid_psk = profile_info_dict[fw_model+'_nat']["twoFourG_WPA_PSK"]
|
||||||
security = "wpa"
|
security = "wpa"
|
||||||
@@ -360,7 +357,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G Open NAT UDP DS/US and TCP DS/US
|
# 2.4G Open NAT UDP DS/US and TCP DS/US
|
||||||
# ap_model = fw_model
|
# ap_model = fw_model
|
||||||
# firmware = ap_fw
|
# firmware = ap_fw
|
||||||
# radio = "wiphy3"
|
# radio = lab_ap_info.lanforge_5g
|
||||||
# ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_OPEN_SSID"]
|
# ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_OPEN_SSID"]
|
||||||
# ssid_psk = "BLANK"
|
# ssid_psk = "BLANK"
|
||||||
# security = "open"
|
# security = "open"
|
||||||
@@ -391,7 +388,7 @@ for key in equipment_id_dict:
|
|||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
sta_list = station
|
sta_list = station
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2-EAP_SSID"]
|
ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2-EAP_SSID"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
eap_type = "TTLS"
|
eap_type = "TTLS"
|
||||||
@@ -405,7 +402,7 @@ for key in equipment_id_dict:
|
|||||||
# 5G WPA2 VLAN UDP DS/US and TCP DS/US
|
# 5G WPA2 VLAN UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_SSID"]
|
ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_PSK"]
|
ssid_psk = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_PSK"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
@@ -419,7 +416,7 @@ for key in equipment_id_dict:
|
|||||||
# 5G WPA UDP DS/US and TCP DS/US
|
# 5G WPA UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy3"
|
radio = lab_ap_info.lanforge_5g
|
||||||
ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA_SSID"]
|
ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model + '_vlan']["fiveG_WPA_PSK"]
|
ssid_psk = profile_info_dict[fw_model + '_vlan']["fiveG_WPA_PSK"]
|
||||||
security = "wpa"
|
security = "wpa"
|
||||||
@@ -433,7 +430,7 @@ for key in equipment_id_dict:
|
|||||||
# 5G Open UDP DS/US and TCP DS/US
|
# 5G Open UDP DS/US and TCP DS/US
|
||||||
# ap_model = fw_model
|
# ap_model = fw_model
|
||||||
# firmware = ap_fw
|
# firmware = ap_fw
|
||||||
# radio = "wiphy3"
|
# radio = lab_ap_info.lanforge_5g
|
||||||
# ssid_name = profile_info_dict[fw_model+'_vlan']["fiveG_OPEN_SSID"]
|
# ssid_name = profile_info_dict[fw_model+'_vlan']["fiveG_OPEN_SSID"]
|
||||||
# ssid_psk = "BLANK"
|
# ssid_psk = "BLANK"
|
||||||
# security = "open"
|
# security = "open"
|
||||||
@@ -447,7 +444,7 @@ for key in equipment_id_dict:
|
|||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
sta_list = station
|
sta_list = station
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2-EAP_SSID"]
|
ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2-EAP_SSID"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
eap_type = "TTLS"
|
eap_type = "TTLS"
|
||||||
@@ -461,7 +458,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G WPA2 UDP DS/US and TCP DS/US
|
# 2.4G WPA2 UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_SSID"]
|
ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_PSK"]
|
ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_PSK"]
|
||||||
security = "wpa2"
|
security = "wpa2"
|
||||||
@@ -475,7 +472,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G WPA UDP DS/US and TCP DS/US
|
# 2.4G WPA UDP DS/US and TCP DS/US
|
||||||
ap_model = fw_model
|
ap_model = fw_model
|
||||||
firmware = ap_fw
|
firmware = ap_fw
|
||||||
radio = "wiphy0"
|
radio = lab_ap_info.lanforge_2dot4g
|
||||||
ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_SSID"]
|
ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_SSID"]
|
||||||
ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_PSK"]
|
ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_PSK"]
|
||||||
security = "wpa"
|
security = "wpa"
|
||||||
@@ -489,7 +486,7 @@ for key in equipment_id_dict:
|
|||||||
# 2.4G Open VLAN UDP DS/US and TCP DS/US
|
# 2.4G Open VLAN UDP DS/US and TCP DS/US
|
||||||
# ap_model = fw_model
|
# ap_model = fw_model
|
||||||
# firmware = ap_fw
|
# firmware = ap_fw
|
||||||
# radio = "wiphy3"
|
# radio = lab_ap_info.lanforge_5g
|
||||||
# ssid_name = profile_info_dict[fw_model+'_vlan']["twoFourG_OPEN_SSID"]
|
# ssid_name = profile_info_dict[fw_model+'_vlan']["twoFourG_OPEN_SSID"]
|
||||||
# ssid_psk = "BLANK"
|
# ssid_psk = "BLANK"
|
||||||
# security = "open"
|
# security = "open"
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ def get_vif_state(ap_ip, username, password):
|
|||||||
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||||
client.connect(ap_ip, username=username, password=password, timeout=5)
|
client.connect(ap_ip, username=username, password=password, timeout=5)
|
||||||
stdin, stdout, stderr = client.exec_command(
|
stdin, stdout, stderr = client.exec_command(
|
||||||
"/usr/opensync/bin/ovsh s Wifi_VIF_Config -c | grep 'ssid :'")
|
"/usr/opensync/bin/ovsh s Wifi_VIF_State -c | grep 'ssid :'")
|
||||||
|
|
||||||
output = str(stdout.read(), 'utf-8')
|
output = str(stdout.read(), 'utf-8')
|
||||||
ssid_output = output.splitlines()
|
ssid_output = output.splitlines()
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ class CloudSDK:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.user = user
|
self.user = user
|
||||||
|
|
||||||
def get_bearer(cloudSDK_url):
|
def get_bearer(cloudSDK_url, cloud_type):
|
||||||
cloud_login_url = cloudSDK_url+"/management/v1/oauth2/token"
|
cloud_login_url = cloudSDK_url+"/management/"+cloud_type+"/oauth2/token"
|
||||||
payload = '''
|
payload = '''
|
||||||
{
|
{
|
||||||
"userId": "'''+user+'''",
|
"userId": "'''+user+'''",
|
||||||
@@ -179,3 +179,89 @@ class CloudSDK:
|
|||||||
cloud_sdk_version = response.json()
|
cloud_sdk_version = response.json()
|
||||||
return cloud_sdk_version
|
return cloud_sdk_version
|
||||||
|
|
||||||
|
def create_ap_profile(cloudSDK_url, bearer, template, name, child_profiles):
|
||||||
|
with open(template, 'r+') as ap_profile:
|
||||||
|
profile = json.load(ap_profile)
|
||||||
|
profile["name"] = name
|
||||||
|
profile["childProfileIds"] = child_profiles
|
||||||
|
|
||||||
|
with open(template, 'w') as ap_profile:
|
||||||
|
json.dump(profile, ap_profile)
|
||||||
|
|
||||||
|
url = cloudSDK_url+"/portal/profile"
|
||||||
|
headers = {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
'Authorization': 'Bearer ' + bearer
|
||||||
|
}
|
||||||
|
response = requests.request("POST", url, headers=headers, data=open(template, 'rb'))
|
||||||
|
ap_profile = response.json()
|
||||||
|
print(ap_profile)
|
||||||
|
ap_profile_id = ap_profile['id']
|
||||||
|
return ap_profile_id
|
||||||
|
|
||||||
|
def create_ssid_profile(cloudSDK_url, bearer, template, name, ssid, passkey, radius, security, mode, vlan, radios):
|
||||||
|
with open(template, 'r+') as ssid_profile:
|
||||||
|
profile = json.load(ssid_profile)
|
||||||
|
profile['name'] = name
|
||||||
|
profile['details']['ssid'] = ssid
|
||||||
|
profile['details']['keyStr'] = passkey
|
||||||
|
profile['details']['radiusServiceName'] = radius
|
||||||
|
profile['details']['secureMode'] = security
|
||||||
|
profile['details']['forwardMode'] = mode
|
||||||
|
profile['details']['vlanId'] = vlan
|
||||||
|
profile['details']['appliedRadios'] = radios
|
||||||
|
with open(template, 'w') as ssid_profile:
|
||||||
|
json.dump(profile, ssid_profile)
|
||||||
|
|
||||||
|
url = cloudSDK_url + "/portal/profile"
|
||||||
|
headers = {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
'Authorization': 'Bearer ' + bearer
|
||||||
|
}
|
||||||
|
response = requests.request("POST", url, headers=headers, data=open(template, 'rb'))
|
||||||
|
ssid_profile = response.json()
|
||||||
|
#print(ssid_profile)
|
||||||
|
ssid_profile_id = ssid_profile['id']
|
||||||
|
return ssid_profile_id
|
||||||
|
|
||||||
|
def create_radius_profile(cloudSDK_url, bearer, template, name, subnet_name, subnet, subnet_mask, region, server_name, server_ip, secret, auth_port):
|
||||||
|
with open(template, 'r+') as radius_profile:
|
||||||
|
profile = json.load(radius_profile)
|
||||||
|
|
||||||
|
profile['name'] = name
|
||||||
|
|
||||||
|
subnet_config = profile['details']['subnetConfiguration']
|
||||||
|
old_subnet_name = list(subnet_config.keys())[0]
|
||||||
|
subnet_config[subnet_name] = subnet_config.pop(old_subnet_name)
|
||||||
|
profile['details']['subnetConfiguration'][subnet_name]['subnetAddress'] = subnet
|
||||||
|
profile['details']['subnetConfiguration'][subnet_name]['subnetCidrPrefix'] = subnet_mask
|
||||||
|
profile['details']['subnetConfiguration'][subnet_name]['subnetName'] = subnet_name
|
||||||
|
|
||||||
|
region_map = profile['details']['serviceRegionMap']
|
||||||
|
old_region = list(region_map.keys())[0]
|
||||||
|
region_map[region] = region_map.pop(old_region)
|
||||||
|
profile['details']['serviceRegionName'] = region
|
||||||
|
profile['details']['subnetConfiguration'][subnet_name]['serviceRegionName'] = region
|
||||||
|
profile['details']['serviceRegionMap'][region]['regionName'] = region
|
||||||
|
|
||||||
|
server_map = profile['details']['serviceRegionMap'][region]['serverMap']
|
||||||
|
old_server_name = list(server_map.keys())[0]
|
||||||
|
server_map[server_name] = server_map.pop(old_server_name)
|
||||||
|
profile['details']['serviceRegionMap'][region]['serverMap'][server_name][0]['ipAddress'] = server_ip
|
||||||
|
profile['details']['serviceRegionMap'][region]['serverMap'][server_name][0]['secret'] = secret
|
||||||
|
profile['details']['serviceRegionMap'][region]['serverMap'][server_name][0]['authPort'] = auth_port
|
||||||
|
|
||||||
|
with open(template, 'w') as radius_profile:
|
||||||
|
json.dump(profile, radius_profile)
|
||||||
|
|
||||||
|
url = cloudSDK_url + "/portal/profile"
|
||||||
|
headers = {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
'Authorization': 'Bearer ' + bearer
|
||||||
|
}
|
||||||
|
response = requests.request("POST", url, headers=headers, data=open(template, 'rb'))
|
||||||
|
radius_profile = response.json()
|
||||||
|
#print(radius_profile)
|
||||||
|
#print(ssid_profile)
|
||||||
|
radius_profile_id = radius_profile['id']
|
||||||
|
return radius_profile_id
|
||||||
@@ -41,7 +41,7 @@ MODE_AUTO=0
|
|||||||
class EAPConnect(LFCliBase):
|
class EAPConnect(LFCliBase):
|
||||||
def __init__(self, host, port, security=None, ssid=None, sta_list=None, number_template="00000", _debug_on=False, _dut_bssid="",
|
def __init__(self, host, port, security=None, ssid=None, sta_list=None, number_template="00000", _debug_on=False, _dut_bssid="",
|
||||||
_exit_on_error=False, _sta_name=None, _resource=1, radio="wiphy0", key_mgmt="WPA-EAP", eap="", identity="",
|
_exit_on_error=False, _sta_name=None, _resource=1, radio="wiphy0", key_mgmt="WPA-EAP", eap="", identity="",
|
||||||
ttls_passwd="", hessid=None, ttls_realm="", domain="", _exit_on_fail=False, _cleanup_on_exit=True):
|
ttls_passwd="", hessid=None, ttls_realm="", domain="", _sta_prefix='eap', _exit_on_fail=False, _cleanup_on_exit=True):
|
||||||
super().__init__(host, port, _debug=_debug_on, _halt_on_error=_exit_on_error, _exit_on_fail=_exit_on_fail)
|
super().__init__(host, port, _debug=_debug_on, _halt_on_error=_exit_on_error, _exit_on_fail=_exit_on_fail)
|
||||||
self.host = host
|
self.host = host
|
||||||
self.port = port
|
self.port = port
|
||||||
@@ -52,6 +52,7 @@ class EAPConnect(LFCliBase):
|
|||||||
self.sta_list = sta_list
|
self.sta_list = sta_list
|
||||||
self.key_mgmt = key_mgmt
|
self.key_mgmt = key_mgmt
|
||||||
self.eap = eap
|
self.eap = eap
|
||||||
|
self.sta_prefix = _sta_prefix
|
||||||
self.identity = identity
|
self.identity = identity
|
||||||
self.ttls_passwd = ttls_passwd
|
self.ttls_passwd = ttls_passwd
|
||||||
self.ttls_realm = ttls_realm
|
self.ttls_realm = ttls_realm
|
||||||
@@ -119,7 +120,7 @@ class EAPConnect(LFCliBase):
|
|||||||
counter = 0
|
counter = 0
|
||||||
# print("there are %d results" % len(self.station_results))
|
# print("there are %d results" % len(self.station_results))
|
||||||
fields = "_links,port,alias,ip,ap,port+type"
|
fields = "_links,port,alias,ip,ap,port+type"
|
||||||
self.station_results = self.localrealm.find_ports_like("eap*", fields, debug_=False)
|
self.station_results = self.localrealm.find_ports_like("%s*"%self.sta_prefix, fields, debug_=False)
|
||||||
if (self.station_results is None) or (len(self.station_results) < 1):
|
if (self.station_results is None) or (len(self.station_results) < 1):
|
||||||
self.get_failed_result_list()
|
self.get_failed_result_list()
|
||||||
for eid,record in self.station_results.items():
|
for eid,record in self.station_results.items():
|
||||||
@@ -188,7 +189,7 @@ class EAPConnect(LFCliBase):
|
|||||||
self.l3_udp_profile.report_timer = 1000
|
self.l3_udp_profile.report_timer = 1000
|
||||||
self.l3_udp_profile.name_prefix = "udp"
|
self.l3_udp_profile.name_prefix = "udp"
|
||||||
self.l3_udp_profile.create(endp_type="lf_udp",
|
self.l3_udp_profile.create(endp_type="lf_udp",
|
||||||
side_a=list(self.localrealm.find_ports_like("eap+")),
|
side_a=list(self.localrealm.find_ports_like("%s*"%self.sta_prefix)),
|
||||||
side_b="%d.%s" % (self.resource, self.upstream_port),
|
side_b="%d.%s" % (self.resource, self.upstream_port),
|
||||||
suppress_related_commands=True)
|
suppress_related_commands=True)
|
||||||
|
|
||||||
@@ -199,7 +200,7 @@ class EAPConnect(LFCliBase):
|
|||||||
self.l3_tcp_profile.name_prefix = "tcp"
|
self.l3_tcp_profile.name_prefix = "tcp"
|
||||||
self.l3_tcp_profile.report_timer = 1000
|
self.l3_tcp_profile.report_timer = 1000
|
||||||
self.l3_tcp_profile.create(endp_type="lf_tcp",
|
self.l3_tcp_profile.create(endp_type="lf_tcp",
|
||||||
side_a=list(self.localrealm.find_ports_like("eap+")),
|
side_a=list(self.localrealm.find_ports_like("%s*"%self.sta_prefix)),
|
||||||
side_b="%d.%s" % (self.resource, self.upstream_port),
|
side_b="%d.%s" % (self.resource, self.upstream_port),
|
||||||
suppress_related_commands=True)
|
suppress_related_commands=True)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,30 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
##AP Models Under Test
|
||||||
ap_models = ["ec420","ea8300","ecw5211","ecw5410"]
|
ap_models = ["ec420","ea8300","ecw5211","ecw5410"]
|
||||||
|
|
||||||
|
##Cloud Type(cloudSDK = v1, CMAP = cmap)
|
||||||
|
cloud_type = "v1"
|
||||||
|
|
||||||
|
##LANForge Info
|
||||||
|
lanforge_ip = "10.10.10.201"
|
||||||
|
lanforge_2dot4g = "wiphy0"
|
||||||
|
lanforge_5g = "wiphy3"
|
||||||
|
lanforge_prefix = "sdk"
|
||||||
|
|
||||||
|
##RADIUS Info
|
||||||
|
radius_info = {
|
||||||
|
|
||||||
|
"name": "Lab-RADIUS",
|
||||||
|
"subnet_name": "Lab",
|
||||||
|
"subnet": "10.10.0.0",
|
||||||
|
"subnet_mask": 16,
|
||||||
|
"region": "Toronto",
|
||||||
|
"server_name": "Lab-RADIUS",
|
||||||
|
"server_ip": "10.10.10.203",
|
||||||
|
"secret": "testing123",
|
||||||
|
"auth_port": 1812
|
||||||
|
}
|
||||||
##AP Models for firmware upload
|
##AP Models for firmware upload
|
||||||
cloud_sdk_models = {
|
cloud_sdk_models = {
|
||||||
"ec420": "EC420-G1",
|
"ec420": "EC420-G1",
|
||||||
@@ -31,6 +54,9 @@ sanity_status = {
|
|||||||
"ec420": 'failed'
|
"ec420": 'failed'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
##Customer ID for testing
|
||||||
|
customer_id = "2"
|
||||||
|
|
||||||
##Equipment IDs for Lab APs under test
|
##Equipment IDs for Lab APs under test
|
||||||
equipment_id_dict = {
|
equipment_id_dict = {
|
||||||
"ea8300": "19",
|
"ea8300": "19",
|
||||||
@@ -52,10 +78,81 @@ eqiupment_credentials_dict = {
|
|||||||
"ec420": "openwifi",
|
"ec420": "openwifi",
|
||||||
"ecw5211": "admin123"
|
"ecw5211": "admin123"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
##Test Case information - Maps a generic TC name to TestRail TC numbers
|
||||||
|
test_cases = {
|
||||||
|
"ap_upgrade": 2233,
|
||||||
|
"5g_wpa2_bridge": 2236,
|
||||||
|
"2g_wpa2_bridge": 2237,
|
||||||
|
"5g_wpa_bridge": 2419,
|
||||||
|
"2g_wpa_bridge": 2420,
|
||||||
|
"2g_wpa_nat": 4323,
|
||||||
|
"5g_wpa_nat": 4324,
|
||||||
|
"2g_wpa2_nat": 4325,
|
||||||
|
"5g_wpa2_nat": 4326,
|
||||||
|
"2g_eap_bridge": 5214,
|
||||||
|
"5g_eap_bridge": 5215,
|
||||||
|
"2g_eap_nat": 5216,
|
||||||
|
"5g_eap_nat": 5217,
|
||||||
|
"cloud_connection": 5222,
|
||||||
|
"cloud_fw": 5247,
|
||||||
|
"5g_wpa2_vlan": 5248,
|
||||||
|
"5g_wpa_vlan": 5249,
|
||||||
|
"5g_eap_vlan": 5250,
|
||||||
|
"2g_wpa2_vlan": 5251,
|
||||||
|
"2g_wpa_vlan": 5252,
|
||||||
|
"2g_eap_vlan": 5253,
|
||||||
|
"cloud_ver": 5540,
|
||||||
|
"bridge_vifc": 5541,
|
||||||
|
"nat_vifc": 5542,
|
||||||
|
"vlan_vifc": 5543,
|
||||||
|
"bridge_vifs": 5544,
|
||||||
|
"nat_vifs": 5545,
|
||||||
|
"vlan_vifs": 5546,
|
||||||
|
"upgrade_api": 5547,
|
||||||
|
"create_fw": 5548,
|
||||||
|
"ap_bridge": 5641,
|
||||||
|
"ap_nat": 5642,
|
||||||
|
"ap_vlan": 5643,
|
||||||
|
"ssid_2g_eap_bridge": 5644,
|
||||||
|
"ssid_2g_wpa2_bridge": 5645,
|
||||||
|
"ssid_2g_wpa_bridge": 5646,
|
||||||
|
"ssid_5g_eap_bridge": 5647,
|
||||||
|
"ssid_5g_wpa2_bridge": 5648,
|
||||||
|
"ssid_5g_wpa_bridge": 5649,
|
||||||
|
"ssid_2g_eap_nat": 5650,
|
||||||
|
"ssid_2g_wpa2_nat": 5651,
|
||||||
|
"ssid_2g_wpa_nat": 5652,
|
||||||
|
"ssid_5g_eap_nat": 5653,
|
||||||
|
"ssid_5g_wpa2_nat": 5654,
|
||||||
|
"ssid_5g_wpa_nat": 5655,
|
||||||
|
"ssid_2g_eap_vlan": 5656,
|
||||||
|
"ssid_2g_wpa2_vlan": 5657,
|
||||||
|
"ssid_2g_wpa_vlan": 5658,
|
||||||
|
"ssid_5g_eap_vlan": 5659,
|
||||||
|
"ssid_5g_wpa2_vlan": 5660,
|
||||||
|
"ssid_5g_wpa_vlan": 5661,
|
||||||
|
"radius_profile": 5808
|
||||||
|
}
|
||||||
|
|
||||||
|
## Other profiles
|
||||||
|
radius_profile = 129
|
||||||
|
rf_profile = 10
|
||||||
|
|
||||||
###Testing AP Profile Information
|
###Testing AP Profile Information
|
||||||
profile_info_dict = {
|
profile_info_dict = {
|
||||||
"ecw5410": {
|
"ecw5410": {
|
||||||
"profile_id": "2",
|
"profile_id": "2",
|
||||||
|
"childProfileIds": [
|
||||||
|
129,
|
||||||
|
3,
|
||||||
|
10,
|
||||||
|
11,
|
||||||
|
12,
|
||||||
|
13,
|
||||||
|
190,
|
||||||
|
191
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "ECW5410_5G_WPA2",
|
"fiveG_WPA2_SSID": "ECW5410_5G_WPA2",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "ECW5410_5G_WPA",
|
"fiveG_WPA_SSID": "ECW5410_5G_WPA",
|
||||||
@@ -68,6 +165,12 @@ profile_info_dict = {
|
|||||||
"twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA",
|
"twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP",
|
"twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP",
|
||||||
|
"fiveG_WPA2_profile": 3,
|
||||||
|
"fiveG_WPA_profile": 13,
|
||||||
|
"fiveG_WPA2-EAP_profile": 191,
|
||||||
|
"twoFourG_WPA2_profile": 11,
|
||||||
|
"twoFourG_WPA_profile": 12,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 190,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"ECW5410_5G_WPA2",
|
"ECW5410_5G_WPA2",
|
||||||
"ECW5410_5G_WPA",
|
"ECW5410_5G_WPA",
|
||||||
@@ -75,11 +178,21 @@ profile_info_dict = {
|
|||||||
"ECW5410_2dot4G_WPA2",
|
"ECW5410_2dot4G_WPA2",
|
||||||
"ECW5410_2dot4G_WPA",
|
"ECW5410_2dot4G_WPA",
|
||||||
"ECW5410_2dot4G_WPA2-EAP"
|
"ECW5410_2dot4G_WPA2-EAP"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ea8300": {
|
"ea8300": {
|
||||||
"profile_id": "153",
|
"profile_id": "153",
|
||||||
|
"childProfileIds": [
|
||||||
|
17,
|
||||||
|
129,
|
||||||
|
18,
|
||||||
|
201,
|
||||||
|
202,
|
||||||
|
10,
|
||||||
|
14,
|
||||||
|
15
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "EA8300_5G_WPA2",
|
"fiveG_WPA2_SSID": "EA8300_5G_WPA2",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "EA8300_5G_WPA",
|
"fiveG_WPA_SSID": "EA8300_5G_WPA",
|
||||||
@@ -89,10 +202,16 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN",
|
"twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN",
|
||||||
"twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2",
|
"twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"EA8300_2dot4G_WPA",
|
"twoFourG_WPA_SSID": "EA8300_2dot4G_WPA",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP",
|
"twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP",
|
||||||
#EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP!
|
"fiveG_WPA2_profile": 14,
|
||||||
|
"fiveG_WPA_profile": 15,
|
||||||
|
"fiveG_WPA2-EAP_profile": 202,
|
||||||
|
"twoFourG_WPA2_profile": 17,
|
||||||
|
"twoFourG_WPA_profile": 18,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 201,
|
||||||
|
# EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP!
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"EA8300_5G_WPA2",
|
"EA8300_5G_WPA2",
|
||||||
"EA8300_5G_WPA2",
|
"EA8300_5G_WPA2",
|
||||||
@@ -103,11 +222,21 @@ profile_info_dict = {
|
|||||||
"EA8300_2dot4G_WPA2",
|
"EA8300_2dot4G_WPA2",
|
||||||
"EA8300_2dot4G_WPA",
|
"EA8300_2dot4G_WPA",
|
||||||
"EA8300_2dot4G_WPA2-EAP"
|
"EA8300_2dot4G_WPA2-EAP"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ec420": {
|
"ec420": {
|
||||||
"profile_id": "20",
|
"profile_id": "20",
|
||||||
|
"childProfileIds": [
|
||||||
|
129,
|
||||||
|
209,
|
||||||
|
210,
|
||||||
|
21,
|
||||||
|
22,
|
||||||
|
24,
|
||||||
|
25,
|
||||||
|
10
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "EC420_5G_WPA2",
|
"fiveG_WPA2_SSID": "EC420_5G_WPA2",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "EC420_5G_WPA",
|
"fiveG_WPA_SSID": "EC420_5G_WPA",
|
||||||
@@ -117,9 +246,15 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN",
|
"twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN",
|
||||||
"twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2",
|
"twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"EC420_2dot4G_WPA",
|
"twoFourG_WPA_SSID": "EC420_2dot4G_WPA",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP",
|
"twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP",
|
||||||
|
"fiveG_WPA2_profile": 21,
|
||||||
|
"fiveG_WPA_profile": 22,
|
||||||
|
"fiveG_WPA2-EAP_profile": 210,
|
||||||
|
"twoFourG_WPA2_profile": 24,
|
||||||
|
"twoFourG_WPA_profile": 25,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 209,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"EC420_5G_WPA2",
|
"EC420_5G_WPA2",
|
||||||
"EC420_5G_WPA",
|
"EC420_5G_WPA",
|
||||||
@@ -127,11 +262,21 @@ profile_info_dict = {
|
|||||||
"EC420_2dot4G_WPA2",
|
"EC420_2dot4G_WPA2",
|
||||||
"EC420_2dot4G_WPA",
|
"EC420_2dot4G_WPA",
|
||||||
"EC420_2dot4G_WPA2-EAP"
|
"EC420_2dot4G_WPA2-EAP"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ecw5211": {
|
"ecw5211": {
|
||||||
"profile_id": "27",
|
"profile_id": "27",
|
||||||
|
"childProfileIds": [
|
||||||
|
32,
|
||||||
|
129,
|
||||||
|
10,
|
||||||
|
28,
|
||||||
|
29,
|
||||||
|
205,
|
||||||
|
206,
|
||||||
|
31
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "ECW5211_5G_WPA2",
|
"fiveG_WPA2_SSID": "ECW5211_5G_WPA2",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "ECW5211_5G_WPA",
|
"fiveG_WPA_SSID": "ECW5211_5G_WPA",
|
||||||
@@ -141,9 +286,15 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN",
|
"twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN",
|
||||||
"twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2",
|
"twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"ECW5211_2dot4G_WPA",
|
"twoFourG_WPA_SSID": "ECW5211_2dot4G_WPA",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP",
|
"twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP",
|
||||||
|
"fiveG_WPA2_profile": 28,
|
||||||
|
"fiveG_WPA_profile": 29,
|
||||||
|
"fiveG_WPA2-EAP_profile": 206,
|
||||||
|
"twoFourG_WPA2_profile": 31,
|
||||||
|
"twoFourG_WPA_profile": 32,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 205,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"ECW5211_5G_WPA2",
|
"ECW5211_5G_WPA2",
|
||||||
"ECW5211_5G_WPA",
|
"ECW5211_5G_WPA",
|
||||||
@@ -151,11 +302,21 @@ profile_info_dict = {
|
|||||||
"ECW5211_2dot4G_WPA2",
|
"ECW5211_2dot4G_WPA2",
|
||||||
"ECW5211_2dot4G_WPA",
|
"ECW5211_2dot4G_WPA",
|
||||||
"ECW5211_2dot4G_WPA2-EAP"
|
"ECW5211_2dot4G_WPA2-EAP"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ecw5410_nat": {
|
"ecw5410_nat": {
|
||||||
"profile_id": "68",
|
"profile_id": "68",
|
||||||
|
"childProfileIds": [
|
||||||
|
192,
|
||||||
|
129,
|
||||||
|
81,
|
||||||
|
193,
|
||||||
|
82,
|
||||||
|
10,
|
||||||
|
78,
|
||||||
|
79
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "ECW5410_5G_WPA2_NAT",
|
"fiveG_WPA2_SSID": "ECW5410_5G_WPA2_NAT",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "ECW5410_5G_WPA_NAT",
|
"fiveG_WPA_SSID": "ECW5410_5G_WPA_NAT",
|
||||||
@@ -165,9 +326,15 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_NAT",
|
"twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_NAT",
|
||||||
"twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_NAT",
|
"twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_NAT",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"ECW5410_2dot4G_WPA_NAT",
|
"twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_NAT",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_NAT",
|
"twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_NAT",
|
||||||
|
"fiveG_WPA2_profile": 78,
|
||||||
|
"fiveG_WPA_profile": 79,
|
||||||
|
"fiveG_WPA2-EAP_profile": 192,
|
||||||
|
"twoFourG_WPA2_profile": 81,
|
||||||
|
"twoFourG_WPA_profile": 82,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 193,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"ECW5410_5G_WPA2_NAT",
|
"ECW5410_5G_WPA2_NAT",
|
||||||
"ECW5410_5G_WPA_NAT",
|
"ECW5410_5G_WPA_NAT",
|
||||||
@@ -175,11 +342,21 @@ profile_info_dict = {
|
|||||||
"ECW5410_2dot4G_WPA2_NAT",
|
"ECW5410_2dot4G_WPA2_NAT",
|
||||||
"ECW5410_2dot4G_WPA_NAT",
|
"ECW5410_2dot4G_WPA_NAT",
|
||||||
"ECW5410_2dot4G_WPA2-EAP_NAT"
|
"ECW5410_2dot4G_WPA2-EAP_NAT"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ea8300_nat": {
|
"ea8300_nat": {
|
||||||
"profile_id": "67",
|
"profile_id": "67",
|
||||||
|
"childProfileIds": [
|
||||||
|
129,
|
||||||
|
72,
|
||||||
|
73,
|
||||||
|
10,
|
||||||
|
75,
|
||||||
|
203,
|
||||||
|
76,
|
||||||
|
204
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "EA8300_5G_WPA2_NAT",
|
"fiveG_WPA2_SSID": "EA8300_5G_WPA2_NAT",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "EA8300_5G_WPA_NAT",
|
"fiveG_WPA_SSID": "EA8300_5G_WPA_NAT",
|
||||||
@@ -189,10 +366,16 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN_NAT",
|
"twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN_NAT",
|
||||||
"twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2_NAT",
|
"twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2_NAT",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"EA8300_2dot4G_WPA_NAT",
|
"twoFourG_WPA_SSID": "EA8300_2dot4G_WPA_NAT",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP_NAT",
|
"twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP_NAT",
|
||||||
#EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP!
|
"fiveG_WPA2_profile": 72,
|
||||||
|
"fiveG_WPA_profile": 73,
|
||||||
|
"fiveG_WPA2-EAP_profile": 203,
|
||||||
|
"twoFourG_WPA2_profile": 75,
|
||||||
|
"twoFourG_WPA_profile": 76,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 204,
|
||||||
|
# EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP!
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"EA8300_5G_WPA2_NAT",
|
"EA8300_5G_WPA2_NAT",
|
||||||
"EA8300_5G_WPA2_NAT",
|
"EA8300_5G_WPA2_NAT",
|
||||||
@@ -203,11 +386,21 @@ profile_info_dict = {
|
|||||||
"EA8300_2dot4G_WPA2_NAT",
|
"EA8300_2dot4G_WPA2_NAT",
|
||||||
"EA8300_2dot4G_WPA_NAT",
|
"EA8300_2dot4G_WPA_NAT",
|
||||||
"EA8300_2dot4G_WPA2-EAP_NAT"
|
"EA8300_2dot4G_WPA2-EAP_NAT"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ec420_nat": {
|
"ec420_nat": {
|
||||||
"profile_id": "70",
|
"profile_id": "70",
|
||||||
|
"childProfileIds": [
|
||||||
|
129,
|
||||||
|
211,
|
||||||
|
212,
|
||||||
|
90,
|
||||||
|
10,
|
||||||
|
91,
|
||||||
|
93,
|
||||||
|
94
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "EC420_5G_WPA2_NAT",
|
"fiveG_WPA2_SSID": "EC420_5G_WPA2_NAT",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "EC420_5G_WPA_NAT",
|
"fiveG_WPA_SSID": "EC420_5G_WPA_NAT",
|
||||||
@@ -217,9 +410,15 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN_NAT",
|
"twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN_NAT",
|
||||||
"twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2_NAT",
|
"twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2_NAT",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"EC420_2dot4G_WPA_NAT",
|
"twoFourG_WPA_SSID": "EC420_2dot4G_WPA_NAT",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP_NAT",
|
"twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP_NAT",
|
||||||
|
"fiveG_WPA2_profile": 90,
|
||||||
|
"fiveG_WPA_profile": 91,
|
||||||
|
"fiveG_WPA2-EAP_profile": 211,
|
||||||
|
"twoFourG_WPA2_profile": 93,
|
||||||
|
"twoFourG_WPA_profile": 94,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 212,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"EC420_5G_WPA2_NAT",
|
"EC420_5G_WPA2_NAT",
|
||||||
"EC420_5G_WPA_NAT",
|
"EC420_5G_WPA_NAT",
|
||||||
@@ -227,11 +426,21 @@ profile_info_dict = {
|
|||||||
"EC420_2dot4G_WPA2_NAT",
|
"EC420_2dot4G_WPA2_NAT",
|
||||||
"EC420_2dot4G_WPA_NAT",
|
"EC420_2dot4G_WPA_NAT",
|
||||||
"EC420_2dot4G_WPA2-EAP_NAT"
|
"EC420_2dot4G_WPA2-EAP_NAT"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ecw5211_nat": {
|
"ecw5211_nat": {
|
||||||
"profile_id": "69",
|
"profile_id": "69",
|
||||||
|
"childProfileIds": [
|
||||||
|
208,
|
||||||
|
129,
|
||||||
|
84,
|
||||||
|
85,
|
||||||
|
87,
|
||||||
|
88,
|
||||||
|
10,
|
||||||
|
207
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "ECW5211_5G_WPA2_NAT",
|
"fiveG_WPA2_SSID": "ECW5211_5G_WPA2_NAT",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "ECW5211_5G_WPA_NAT",
|
"fiveG_WPA_SSID": "ECW5211_5G_WPA_NAT",
|
||||||
@@ -241,9 +450,15 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN_NAT",
|
"twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN_NAT",
|
||||||
"twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2_NAT",
|
"twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2_NAT",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"ECW5211_2dot4G_WPA_NAT",
|
"twoFourG_WPA_SSID": "ECW5211_2dot4G_WPA_NAT",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP_NAT",
|
"twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP_NAT",
|
||||||
|
"fiveG_WPA2_profile": 84,
|
||||||
|
"fiveG_WPA_profile": 85,
|
||||||
|
"fiveG_WPA2-EAP_profile": 207,
|
||||||
|
"twoFourG_WPA2_profile": 87,
|
||||||
|
"twoFourG_WPA_profile": 88,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 208,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"ECW5211_5G_WPA2_NAT",
|
"ECW5211_5G_WPA2_NAT",
|
||||||
"ECW5211_5G_WPA_NAT",
|
"ECW5211_5G_WPA_NAT",
|
||||||
@@ -251,11 +466,21 @@ profile_info_dict = {
|
|||||||
"ECW5211_2dot4G_WPA2_NAT",
|
"ECW5211_2dot4G_WPA2_NAT",
|
||||||
"ECW5211_2dot4G_WPA_NAT",
|
"ECW5211_2dot4G_WPA_NAT",
|
||||||
"ECW5211_2dot4G_WPA2-EAP_NAT"
|
"ECW5211_2dot4G_WPA2-EAP_NAT"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ecw5410_vlan": {
|
"ecw5410_vlan": {
|
||||||
"profile_id": "338",
|
"profile_id": "338",
|
||||||
|
"childProfileIds": [
|
||||||
|
336,
|
||||||
|
320,
|
||||||
|
129,
|
||||||
|
337,
|
||||||
|
10,
|
||||||
|
333,
|
||||||
|
334,
|
||||||
|
335
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "ECW5410_5G_WPA2_VLAN",
|
"fiveG_WPA2_SSID": "ECW5410_5G_WPA2_VLAN",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "ECW5410_5G_WPA_VLAN",
|
"fiveG_WPA_SSID": "ECW5410_5G_WPA_VLAN",
|
||||||
@@ -265,9 +490,15 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_VLAN",
|
"twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_VLAN",
|
||||||
"twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_VLAN",
|
"twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_VLAN",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"ECW5410_2dot4G_WPA_VLAN",
|
"twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_VLAN",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_VLAN",
|
"twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_VLAN",
|
||||||
|
"fiveG_WPA2_profile": 320,
|
||||||
|
"fiveG_WPA_profile": 333,
|
||||||
|
"fiveG_WPA2-EAP_profile": 337,
|
||||||
|
"twoFourG_WPA2_profile": 334,
|
||||||
|
"twoFourG_WPA_profile": 335,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 336,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"ECW5410_5G_WPA2_VLAN",
|
"ECW5410_5G_WPA2_VLAN",
|
||||||
"ECW5410_5G_WPA_VLAN",
|
"ECW5410_5G_WPA_VLAN",
|
||||||
@@ -275,11 +506,21 @@ profile_info_dict = {
|
|||||||
"ECW5410_2dot4G_WPA2_VLAN",
|
"ECW5410_2dot4G_WPA2_VLAN",
|
||||||
"ECW5410_2dot4G_WPA_VLAN",
|
"ECW5410_2dot4G_WPA_VLAN",
|
||||||
"ECW5410_2dot4G_WPA2-EAP_VLAN"
|
"ECW5410_2dot4G_WPA2-EAP_VLAN"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ea8300_vlan": {
|
"ea8300_vlan": {
|
||||||
"profile_id": "319",
|
"profile_id": "319",
|
||||||
|
"childProfileIds": [
|
||||||
|
129,
|
||||||
|
313,
|
||||||
|
10,
|
||||||
|
314,
|
||||||
|
315,
|
||||||
|
316,
|
||||||
|
317,
|
||||||
|
318
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "EA8300_5G_WPA2_VLAN",
|
"fiveG_WPA2_SSID": "EA8300_5G_WPA2_VLAN",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "EA8300_5G_WPA_VLAN",
|
"fiveG_WPA_SSID": "EA8300_5G_WPA_VLAN",
|
||||||
@@ -289,10 +530,16 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN_VLAN",
|
"twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN_VLAN",
|
||||||
"twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2_VLAN",
|
"twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2_VLAN",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"EA8300_2dot4G_WPA_VLAN",
|
"twoFourG_WPA_SSID": "EA8300_2dot4G_WPA_VLAN",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP_VLAN",
|
"twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP_VLAN",
|
||||||
#EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP!
|
"fiveG_WPA2_profile": 313,
|
||||||
|
"fiveG_WPA_profile": 314,
|
||||||
|
"fiveG_WPA2-EAP_profile": 318,
|
||||||
|
"twoFourG_WPA2_profile": 315,
|
||||||
|
"twoFourG_WPA_profile": 316,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 317,
|
||||||
|
# EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP!
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"EA8300_5G_WPA2_VLAN",
|
"EA8300_5G_WPA2_VLAN",
|
||||||
"EA8300_5G_WPA2_VLAN",
|
"EA8300_5G_WPA2_VLAN",
|
||||||
@@ -303,11 +550,21 @@ profile_info_dict = {
|
|||||||
"EA8300_2dot4G_WPA2_VLAN",
|
"EA8300_2dot4G_WPA2_VLAN",
|
||||||
"EA8300_2dot4G_WPA_VLAN",
|
"EA8300_2dot4G_WPA_VLAN",
|
||||||
"EA8300_2dot4G_WPA2-EAP_VLAN"
|
"EA8300_2dot4G_WPA2-EAP_VLAN"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ec420_vlan": {
|
"ec420_vlan": {
|
||||||
"profile_id": "357",
|
"profile_id": "357",
|
||||||
|
"childProfileIds": [
|
||||||
|
352,
|
||||||
|
129,
|
||||||
|
353,
|
||||||
|
354,
|
||||||
|
355,
|
||||||
|
356,
|
||||||
|
10,
|
||||||
|
351
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "EC420_5G_WPA2_VLAN",
|
"fiveG_WPA2_SSID": "EC420_5G_WPA2_VLAN",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "EC420_5G_WPA_VLAN",
|
"fiveG_WPA_SSID": "EC420_5G_WPA_VLAN",
|
||||||
@@ -317,9 +574,15 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN_VLAN",
|
"twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN_VLAN",
|
||||||
"twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2_VLAN",
|
"twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2_VLAN",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"EC420_2dot4G_WPA_VLAN",
|
"twoFourG_WPA_SSID": "EC420_2dot4G_WPA_VLAN",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP_VLAN",
|
"twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP_VLAN",
|
||||||
|
"fiveG_WPA2_profile": 351,
|
||||||
|
"fiveG_WPA_profile": 352,
|
||||||
|
"fiveG_WPA2-EAP_profile": 356,
|
||||||
|
"twoFourG_WPA2_profile": 353,
|
||||||
|
"twoFourG_WPA_profile": 354,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 355,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"EC420_5G_WPA2_VLAN",
|
"EC420_5G_WPA2_VLAN",
|
||||||
"EC420_5G_WPA_VLAN",
|
"EC420_5G_WPA_VLAN",
|
||||||
@@ -327,11 +590,21 @@ profile_info_dict = {
|
|||||||
"EC420_2dot4G_WPA2_VLAN",
|
"EC420_2dot4G_WPA2_VLAN",
|
||||||
"EC420_2dot4G_WPA_VLAN",
|
"EC420_2dot4G_WPA_VLAN",
|
||||||
"EC420_2dot4G_WPA2-EAP_VLAN"
|
"EC420_2dot4G_WPA2-EAP_VLAN"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"ecw5211_vlan": {
|
"ecw5211_vlan": {
|
||||||
"profile_id": "364",
|
"profile_id": "364",
|
||||||
|
"childProfileIds": [
|
||||||
|
129,
|
||||||
|
358,
|
||||||
|
359,
|
||||||
|
360,
|
||||||
|
361,
|
||||||
|
10,
|
||||||
|
362,
|
||||||
|
363
|
||||||
|
],
|
||||||
"fiveG_WPA2_SSID": "ECW5211_5G_WPA2_VLAN",
|
"fiveG_WPA2_SSID": "ECW5211_5G_WPA2_VLAN",
|
||||||
"fiveG_WPA2_PSK": "Connectus123$",
|
"fiveG_WPA2_PSK": "Connectus123$",
|
||||||
"fiveG_WPA_SSID": "ECW5211_5G_WPA_VLAN",
|
"fiveG_WPA_SSID": "ECW5211_5G_WPA_VLAN",
|
||||||
@@ -341,9 +614,15 @@ profile_info_dict = {
|
|||||||
"twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN_VLAN",
|
"twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN_VLAN",
|
||||||
"twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2_VLAN",
|
"twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2_VLAN",
|
||||||
"twoFourG_WPA2_PSK": "Connectus123$",
|
"twoFourG_WPA2_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA_SSID":"ECW5211_2dot4G_WPA_VLAN",
|
"twoFourG_WPA_SSID": "ECW5211_2dot4G_WPA_VLAN",
|
||||||
"twoFourG_WPA_PSK": "Connectus123$",
|
"twoFourG_WPA_PSK": "Connectus123$",
|
||||||
"twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP_VLAN",
|
"twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP_VLAN",
|
||||||
|
"fiveG_WPA2_profile": 358,
|
||||||
|
"fiveG_WPA_profile": 359,
|
||||||
|
"fiveG_WPA2-EAP_profile": 363,
|
||||||
|
"twoFourG_WPA2_profile": 360,
|
||||||
|
"twoFourG_WPA_profile": 361,
|
||||||
|
"twoFourG_WPA2-EAP_profile": 362,
|
||||||
"ssid_list": [
|
"ssid_list": [
|
||||||
"ECW5211_5G_WPA2_VLAN",
|
"ECW5211_5G_WPA2_VLAN",
|
||||||
"ECW5211_5G_WPA_VLAN",
|
"ECW5211_5G_WPA_VLAN",
|
||||||
@@ -351,6 +630,6 @@ profile_info_dict = {
|
|||||||
"ECW5211_2dot4G_WPA2_VLAN",
|
"ECW5211_2dot4G_WPA2_VLAN",
|
||||||
"ECW5211_2dot4G_WPA_VLAN",
|
"ECW5211_2dot4G_WPA_VLAN",
|
||||||
"ECW5211_2dot4G_WPA2-EAP_VLAN"
|
"ECW5211_2dot4G_WPA2-EAP_VLAN"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -175,6 +175,86 @@ $json = json_decode($results, true);
|
|||||||
<TD><?php echo print_r($json['tests']['ec420']['5222'],true) ?></TD>
|
<TD><?php echo print_r($json['tests']['ec420']['5222'],true) ?></TD>
|
||||||
</TR>
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5808</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create RADIUS Profile </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5808'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5808'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5808'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5808'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5644</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA2-EAP - Bridge Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5644'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5644'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5644'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5644'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5645</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA2 - Bridge Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5645'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5645'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5645'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5645'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5646</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA - Bridge Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5646'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5646'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5646'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5646'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5647</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA2-EAP - Bridge Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5646'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5646'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5646'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5646'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5647</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA2 - Bridge Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5647'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5647'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5647'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5647'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5648</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA - Bridge Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5648'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5648'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5648'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5648'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5641</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create AP Profile - Bridge Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5641'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5641'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5641'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5641'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
<TR ALIGN="CENTER">
|
<TR ALIGN="CENTER">
|
||||||
<TD>5541</TD>
|
<TD>5541</TD>
|
||||||
<TD>CloudSDK</TD>
|
<TD>CloudSDK</TD>
|
||||||
@@ -249,6 +329,76 @@ $json = json_decode($results, true);
|
|||||||
<TD><?php echo print_r($json['tests']['ecw5410']['2419'],true) ?></TD>
|
<TD><?php echo print_r($json['tests']['ecw5410']['2419'],true) ?></TD>
|
||||||
<TD><?php echo print_r($json['tests']['ec420']['2419'],true) ?></TD>
|
<TD><?php echo print_r($json['tests']['ec420']['2419'],true) ?></TD>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5650</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA2-EAP - NAT Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5650'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5650'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5650'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5650'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5651</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA2 - NAT Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5651'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5651'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5651'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5651'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5652</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA - NAT Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5652'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5652'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5652'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5652'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5653</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA2-EAP - NAT Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5653'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5653'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5653'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5653'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5654</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA2 - NAT Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5654'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5654'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5654'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5654'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5655</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA - NAT Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5655'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5655'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5655'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5655'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5642</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create AP Profile - NAT Mode </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5642'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5642'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5642'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5642'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
<TR ALIGN="CENTER">
|
<TR ALIGN="CENTER">
|
||||||
<TD>5542</TD>
|
<TD>5542</TD>
|
||||||
<TD>CloudSDK</TD>
|
<TD>CloudSDK</TD>
|
||||||
@@ -322,6 +472,77 @@ $json = json_decode($results, true);
|
|||||||
<TD><?php echo print_r($json['tests']['ecw5410']['4324'],true) ?></TD>
|
<TD><?php echo print_r($json['tests']['ecw5410']['4324'],true) ?></TD>
|
||||||
<TD><?php echo print_r($json['tests']['ec420']['4324'],true) ?></TD>
|
<TD><?php echo print_r($json['tests']['ec420']['4324'],true) ?></TD>
|
||||||
</TR>
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5656</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA2-EAP - Custom VLAN </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5656'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5656'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5656'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5656'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5657</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA2 - Custom VLAN </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5657'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5657'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5657'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5657'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5658</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 2.4 GHz WPA - Custom VLAN </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5658'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5658'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5658'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5658'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5659</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA2-EAP - Custom VLAN </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5659'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5659'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5659'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5659'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5660</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA2 - Custom VLAN </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5660'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5660'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5660'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5660'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5661</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create SSID Profile 5 GHz WPA - Custom VLAN </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5661'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5661'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5661'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5661'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
|
<TR ALIGN="CENTER">
|
||||||
|
<TD>5643</TD>
|
||||||
|
<TD>CloudSDK</TD>
|
||||||
|
<TD ALIGN="LEFT">Create AP Profile - Custom VLAN </TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ea8300']['5643'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5211']['5643'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ecw5410']['5643'],true) ?></TD>
|
||||||
|
<TD><?php echo print_r($json['tests']['ec420']['5643'],true) ?></TD>
|
||||||
|
</TR>
|
||||||
|
|
||||||
<TR ALIGN="CENTER">
|
<TR ALIGN="CENTER">
|
||||||
<TD>5543</TD>
|
<TD>5543</TD>
|
||||||
<TD>CloudSDK</TD>
|
<TD>CloudSDK</TD>
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{"model_type": "Profile", "id": 2, "customerId": 2, "profileType": "equipment_ap", "name": "Nightly_Sanity_ea8300_2020-12-13_vlan", "details": {"model_type": "ApNetworkConfiguration", "networkConfigVersion": "AP-1", "equipmentType": "AP", "vlanNative": true, "vlan": 0, "ntpServer": {"model_type": "AutoOrManualString", "auto": true, "value": null}, "syslogRelay": {"model_type": "SyslogRelay", "enabled": false, "srvHostIp": null, "srvHostPort": 514, "severity": "NOTICE"}, "rtlsSettings": {"model_type": "RtlsSettings", "enabled": false, "srvHostIp": null, "srvHostPort": 0}, "syntheticClientEnabled": false, "ledControlEnabled": true, "equipmentDiscovery": false, "greTunnelName": null, "greParentIfName": null, "greLocalInetAddr": null, "greRemoteInetAddr": null, "greRemoteMacAddr": null, "radioMap": {"is5GHz": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is2dot4GHz": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is5GHzU": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is5GHzL": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}}, "profileType": "equipment_ap"}, "createdTimestamp": 1598524693438, "lastModifiedTimestamp": 1607377963675, "childProfileIds": [967, 968, 969, 970, 971, 972, 10, 129]}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"model_type": "Profile", "id": 718, "customerId": 8, "profileType": "radius", "name": "Lab-RADIUS", "details": {"model_type": "RadiusProfile", "subnetConfiguration": {"Lab": {"model_type": "RadiusSubnetConfiguration", "subnetAddress": "10.10.0.0", "subnetCidrPrefix": 16, "subnetName": "Lab", "proxyConfig": {"model_type": "RadiusProxyConfiguration", "floatingIpAddress": null, "floatingIfCidrPrefix": null, "floatingIfGwAddress": null, "floatingIfVlan": null, "sharedSecret": null}, "probeInterval": null, "serviceRegionName": "Toronto"}}, "serviceRegionMap": {"Toronto": {"model_type": "RadiusServiceRegion", "serverMap": {"Lab-RADIUS": [{"model_type": "RadiusServer", "ipAddress": "10.10.10.203", "secret": "testing123", "authPort": 1812, "timeout": null}]}, "regionName": "Toronto"}}, "profileType": "radius", "serviceRegionName": "Toronto"}, "createdTimestamp": 1610045826067, "lastModifiedTimestamp": 1610045826067, "childProfileIds": []}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"model_type": "Profile", "id": 28, "customerId": 2, "profileType": "ssid", "name": "ea8300_2G_WPA_VLAN_2020-12-13", "details": {"model_type": "SsidConfiguration", "ssid": "EA8300_2dot4G_WPA_VLAN", "appliedRadios": ["is2dot4GHz"], "ssidAdminState": "enabled", "secureMode": "wpaPSK", "vlanId": 100, "keyStr": "Connectus123$", "broadcastSsid": "enabled", "keyRefresh": 0, "noLocalSubnets": false, "radiusServiceName": "Radius-Accounting-Profile", "radiusAccountingServiceName": null, "radiusAcountingServiceInterval": null, "captivePortalId": null, "bandwidthLimitDown": 0, "bandwidthLimitUp": 0, "clientBandwidthLimitDown": 0, "clientBandwidthLimitUp": 0, "videoTrafficOnly": false, "radioBasedConfigs": {"is2dot4GHz": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHz": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHzU": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHzL": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}}, "bonjourGatewayProfileId": null, "enable80211w": null, "wepConfig": null, "forwardMode": "BRIDGE", "profileType": "ssid"}, "createdTimestamp": 1598557809816, "lastModifiedTimestamp": 1598557809816, "childProfileIds": []}
|
||||||
@@ -16,6 +16,8 @@ from pprint import pprint
|
|||||||
import os
|
import os
|
||||||
tr_user=os.getenv('TR_USER')
|
tr_user=os.getenv('TR_USER')
|
||||||
tr_pw=os.getenv('TR_PWD')
|
tr_pw=os.getenv('TR_PWD')
|
||||||
|
project = os.getenv('PROJECT_ID')
|
||||||
|
|
||||||
|
|
||||||
class APIClient:
|
class APIClient:
|
||||||
def __init__(self, base_url):
|
def __init__(self, base_url):
|
||||||
@@ -112,7 +114,7 @@ class APIClient:
|
|||||||
"Get the project ID using project name"
|
"Get the project ID using project name"
|
||||||
project_id = None
|
project_id = None
|
||||||
projects = client.send_get('get_projects')
|
projects = client.send_get('get_projects')
|
||||||
#pprint(projects)
|
##pprint(projects)
|
||||||
for project in projects:
|
for project in projects:
|
||||||
if project['name']== project_name:
|
if project['name']== project_name:
|
||||||
project_id = project['id']
|
project_id = project['id']
|
||||||
@@ -124,7 +126,7 @@ class APIClient:
|
|||||||
def get_run_id(self, test_run_name):
|
def get_run_id(self, test_run_name):
|
||||||
"Get the run ID using test name and project name"
|
"Get the run ID using test name and project name"
|
||||||
run_id = None
|
run_id = None
|
||||||
project_id = client.get_project_id(project_name='WLAN')
|
project_id = client.get_project_id(project_name=project)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
test_runs = client.send_get('get_runs/%s' % (project_id))
|
test_runs = client.send_get('get_runs/%s' % (project_id))
|
||||||
@@ -178,7 +180,8 @@ class APIClient:
|
|||||||
{'name': name, 'case_ids': case_ids, 'milestone_id': milestone_id, 'description': description, 'include_all': False})
|
{'name': name, 'case_ids': case_ids, 'milestone_id': milestone_id, 'description': description, 'include_all': False})
|
||||||
print("result in post", result)
|
print("result in post", result)
|
||||||
|
|
||||||
client: APIClient = APIClient('https://telecominfraproject.testrail.com')
|
client: APIClient = APIClient(os.getenv('TESTRAIL_URL'))
|
||||||
|
|
||||||
|
|
||||||
class APIError(Exception):
|
class APIError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user