Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Assigning a Device Template to Devices

You assign a device template to devices to set up this device template for deployment. When you assign a template to devices, the device template is placed in the queue to deploy to devices. You can review the accumulated configuration changes that are in the queue to be deployed to the device. A device template that has been assigned to a device cannot be deployed directly. You can use this workflow to assign both configuration templates and quick templates.

Note:

The chassis cluster devices discovered using the fxp interface are treated as separate units when assigning a device template. It is same for logical systems and virtual chassis configuration setups as well. In such scenarios, select the primary node or the primary node of the setup to deploy the template.

To assign a device template to devices:

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

    The Templates page is displayed.

  2. Select the configuration template or quick template to be assigned, and select Assign to Device from the Actions menu.

    The Assign to Device page is displayed. You can view the list of compatible devices, that is, those devices that belong to the same device family as the device template.

  3. From the Selected Template Version drop-down list, select the version of the device template that you want to assign to devices.
  4. You can assign the device template to devices manually, using tags, or by providing a CSV file with filter criteria.
    • To assign the device template to devices manually, search for compatible devices by entering the search criteria in the search box and clicking the magnifying glass icon.

      The list of devices are filtered by the search criteria.

    • To filter devices by the device properties, select the check box next to the appropriate device column on the Column Filter drop-down list.

    • From Junos Space Platform Release 17.2R1 onward, when you select devices by CSV, you can choose to select all managed devices. Select the Include All Managed Devices check box to list all managed devices for selection.

      To provide filter criteria using a CSV file, click the CSV Filter icon and upload the CSV file with filter criteria through the Upload a CSV pop-up window.

    • To select a device by using tags, select an appropriate tag from the Tag Filter drop-down list.

  5. Click Next.
  6. From the left section, select the devices to which you want to assign the device template.
  7. On the right section, click XML or CLI tabs to view the XML and CLI formats of the configuration in the device template.
  8. Click the Validate on Device link to validate the configuration on the device.

    By validating the configuration, you ensure that the device template is semantically correct. If the validation results fails, change the template parameters appropriately.

    If the validation succeeds, the Validation Status column in the left section displays a SUCCESS status.

  9. Click Assign.

    The device template is assigned to devices. You are redirected to the Templates page.

Release History Table
Release
Description
17.2
From Junos Space Platform Release 17.2R1 onward, when you select devices by CSV, you can choose to select all managed devices. Select the Include All Managed Devices check box to list all managed devices for selection.