Use Case
Have one universal configuration profile across all sites on an organization, except for the RADIUS server used. The RADIUS server will be edited on a per site basis.
Solution using Site Variables
1) Configure an organization template from the UI
Navigate to Organization > Config Template > WLAN to configure a WLAN to be used on all sites. In the RADIUS Authentication Servers section provide a variable instead of the actual IP of your RADIUS server. In this example we use {{RADIUS_IP1}} and {{RADIUS_IP2}} variables for the IP Address and Shared Secret, respectively.
2) Configure your RADIUS Server on a per site basis using the UI or API
UI Configuration – Navigate to Organization -> Site Settings
For API, replace the “:site_id” with the respective Site ID and replace the RADIUS_IP1 and RADIUS_IP2 variable with the right values corresponding the site.
PUT /api/v1/sites/:site_id/setting
{
“vars”: {
“RADIUS_IP1”: “1.1.1.1”,
“RADIUS_IP2”: “2.2.2.2”,
“RADIUS_SECRET”: “secret”
}
}
By using Site Variables, you won’t need to change the Config Template and the RADIUS servers can be changed on a per site basis with a PUT operation from the API.