Move RADIUS and RF profile IDs to variables in lab_ap_info

This commit is contained in:
bealler
2020-12-16 10:06:14 -05:00
parent 303d8769ca
commit 50fc623617
2 changed files with 10 additions and 7 deletions

View File

@@ -701,9 +701,8 @@ for key in equipment_id_dict:
twoFourG_wpa = profile_info_dict[fw_model]["twoFourG_WPA_SSID"]
### Create AP Bridge Profile
rfProfileId = 10
radiusProfileId = 129
rfProfileId = lab_ap_info.radius_profile
radiusProfileId = lab_ap_info.rf_profile
child_profiles = [fiveG_eap, fiveG_wpa2, fiveG_wpa, twoFourG_eap, twoFourG_wpa2, twoFourG_wpa, rfProfileId, radiusProfileId]
print(child_profiles)
@@ -1034,8 +1033,8 @@ for key in equipment_id_dict:
twoFourG_wpa = profile_info_dict[fw_model + '_nat']["twoFourG_WPA_SSID"]
### Create AP NAT Profile
rfProfileId = 10
radiusProfileId = 129
rfProfileId = lab_ap_info.radius_profile
radiusProfileId = lab_ap_info.rf_profile
child_profiles = [fiveG_eap, fiveG_wpa2, fiveG_wpa, twoFourG_eap, twoFourG_wpa2, twoFourG_wpa, rfProfileId,
radiusProfileId]
print(child_profiles)
@@ -1362,8 +1361,8 @@ for key in equipment_id_dict:
twoFourG_wpa = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_SSID"]
### Create AP VLAN Profile
rfProfileId = 10
radiusProfileId = 129
rfProfileId = lab_ap_info.radius_profile
radiusProfileId = lab_ap_info.rf_profile
child_profiles = [fiveG_eap, fiveG_wpa2, fiveG_wpa, twoFourG_eap, twoFourG_wpa2, twoFourG_wpa, rfProfileId, radiusProfileId]
print(child_profiles)
ap_template = "templates/ap_profile_template.json"

View File

@@ -115,6 +115,10 @@ test_cases = {
"ssid_5g_wpa_vlan": 5661
}
## Other profiles
radius_profile = 129
rf_profile = 10
###Testing AP Profile Information
profile_info_dict = {
"ecw5410": {