Managing CSV Files for a Template Definition
Device Templates uses CSV files to specify device-specific values, in addition to rules (see Working with Rules in a Template Definition). The Managing CSV Files task describes how to import this type of CSV file into Junos Space Network Management Platform. For instructions on the procedure for linking the file to a definition and identifying the key column for Device Templates, see Specifying Device-Specific Values in Template Definitions.
Although designers can configure the parameter governed by the CSV file as editable, operators can neither view nor change the file when they create templates.
The CSV files you use can be any file format (for example, .xls or .txt) as long as they have appropriate columns and key columns. That means one row per device. If you want to reference several interfaces on a single device, then each of the interfaces must have its own column.
You can add a record to a CSV file from within Device Templates. However, if you change a CSV file outside Junos Space Network Management Platform, from its native application (for example, Microsoft Excel or Notepad), you must upload it again. You can do this within the device templates workflow.
To add the CSV files: