Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

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:

  1. On the Junos Space Network Management Platform user interface, select Device Templates > Definitions.

    The Definitions page is displayed.

  2. Click the Manage CSV Files icon on the Actions bar.

    The Manage CSV File page is displayed.

  3. Click Upload.

    The CSV File upload pop-up window is displayed.

  4. Click Browse.

    The File Upload pop-up window is displayed.

  5. Navigate to the desired CSV file, select it and click Open.
  6. Click Upload.

    The Manage CSV Files page is displayed. The name of the file just imported appears in the left pane.

  7. To display the content of a file, select its name in the left pane.