Define RADIUS Server Objects to be reused across an organization's SSIDs.

This tool allows creating a configuration file with a list of SSIDs that need 802.1X-RADIUS configuration, a list of RADIUS authentication and RADIUS accounting servers, and a preference order for these servers in the SSIDs, which will then be propagated to your SSIDs in one of 3 methods:
requirements.txtgit clone https://github.com/Francisco-1088/merakiRadiusObjects.gitconfig.iniapi_key in line 2Mkiconf.org_id[target_networks] set only one of the options use_template, use_tag or single_network to True, and all others to Falsetemplate_name, network_tag or network_name accordingly (i.e. if choosing use_tag as True, then specify a network_tag to follow[radius_auth_X], where X is a unique number (you can reuse the existing 3 in the sample file, and remove any unneeded ones). You may define as many as you need. Each of these must have an entry for host, which should be an IPv4 address, secret and port[radius_acct_X], where X is a unique number (you can reuse the existing 3 in the sample file, and remove any unneeded ones). You may define as many as you need. Each of these must have an entry for host, which should be an IPv4 address, secret and portFor each SSID you intend to modify, create an entry in the form [ssid_X], where X should be a unique number. Each of these must contain a name, a setting for auth_enabled (whether to use RADIUS authentication), a setting for acct_enabled (whether to use RADIUS accounting), a setting for auth_preference which should be a comma separated ordered list of RADIUS authentication servers referencing those listed in the RADIUS Auth section, and a setting for acct_preference which should be a comma separated ordered list of RADIUS authentication servers referencing those listed in the RADIUS Auth section
The SSIDs must have auth_enabled set to True, but acct_enabled may be set to True or False. If acct_enabled is set to True, then acct_preference cannot be set to None
The script will parse your configuration file and determine the list of target_networks it needs to operate on, depending on your settings
It will then iterate through all of your networks and prompt you when it needs to modify or overwrite settings
The prompts only accept 'Y' or 'N', anything else will be interpreted as a negative input and the section will be skipped
The script will ONLY modify the RADIUS configuration of the SSID. If an SSID without WPA Enterprise configuration is chosen, the script will ask if you wish to set that SSID to WPA2 Enterprise, but all other settings will be preserved
SSID names, Network Names, Tag Names and Template Names MUST match exactly what you define in your configuration file for the script to work properly
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community