mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
Move RADIUS and RF profile IDs to variables in lab_ap_info
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user