Hi Ben,
The "Configuration: Fixed Wireless" section in the manual goes over Configuration template creation and usage in detail.
The Knowledge Base article below also goes over the process for building configuration templates in cnMaestro. The article focuses on AP Group (Profile) configuration for cnPilot devices but the basics are the same for Templates. The main difference is that you'll be using the template text in the Template creation view rather then the User-defined Variables view of AP Groups. So use it as a general example and not a 1-to-1 set of instructrions.
The main points of interest are:
[...] they support replacement variable in the format of ${VARIABLE_NAME} or ${VARIABLE_NAME=Optional default value}. Not providing a default value will force you to set a value per device before pushing the [configuration template]
[...]
The process for creating your own configuration template for use as [a configuration Template] is:
- On a test device configure the parameters you are interested in overriding with values that will be easy to search for. This can be done either directly on the device web UI or via a cnMaestro Profile.
- Export the device configuration. Via cnMaestro this is done by navigating to Configure -> Devices, selecting the device in the left-hand tree and then clicking the View Device Configuration link. This can also be done via the device web GUI, typically in the Administration or Operations section where there will be an Export button for configuration.
- View the configuration file in a text editor like Notepad++ and search for the values you entered in step 1. You can also search for the parameter name to try to find the correct lines.
- Copy and paste the relevant
lines[sections] into a new file.- [Optional] Replace the values with replacement variable text. This will allow you to set the value per device.
Once you have this partial template it can be copied into the [Template creation view] and saved. Before pushing a [template] to a device you will need to enter unique values for the replacement variables unless a default value is defined. This can be done by clicking the gear icon in the higher level table views or by navigating directly the device in the left-hand tree. A [template] must be selected before the User-Defined Overrides section will appear at the bottom.
I also highly recommend that you check your template against https://jsonlint.com/ to validate that the basic format is correct. The article also has a couple screenshots detailing how device-specific values are set using a single template.