Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Deploying a Quick Template

You deploy a Quick template to update the configuration on the devices. Before deploying a Quick template to a device, ensure that you have not assigned the template to the same device. If you assign a Quick template to a device and use the Deploy workflow to deploy that Quick template on the same device, although the Quick template is deployed to the device, Junos Space Network Management Platform does not reflect this managed status. The managed status of the device is shown as "Space Changed" on the Device Management page.

You can also use this workflow to assign and publish the Quick template to the devices. You assign and publish a template to the devices to set up this template for deployment. When you assign and publish a Quick template to the devices, the Quick template is placed in queue. You can review the accumulated configuration changes that will be deployed to the devices.

To deploy or assign a Quick template to the devices:

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

    The Templates page is displayed.

  2. Select the Quick template that you want to deploy and select Assign/Deploy Template from the Actions menu.

    The Assign/Deploy Template page that appears displays the devices on which the template can be deployed.

  3. From the Selected Template Version drop-down list, select the version of the device template that you want to deploy or assign to the devices.
  4. You can deploy the Quick template by selecting the devices manually, by filtering devices by the device properties, by using tags, or by providing a CSV file with filter criteria:
    • To manually deploy a Quick template, enter the search criteria in the Search field and click the Search icon.

      The list of devices are filtered by the search criteria.

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

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

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

  5. Click Next.

    The Resolve Variables page is displayed. This page displays the devices you selected, their managed status, validation status, and the validity of the variable.

  6. (Optional) You can resolve the device-specific values in the Quick template either manually or by using a CSV file that specifies device-specific values.

    To resolve device-specific values manually:

    1. From the Resolve Device Specific Value drop-down list, select Manual.
    2. Select the devices on which you want to resolve the values from the left of the page.
    3. Click the Template Parameters tab on the right of the page.
      • Enter the device-specific value and click the Add icon.

        If you entered a valid value, the Variable column on the left displays PASS. If you entered an invalid value, the Variable column displays FAIL.

      Note:

      You can also enter different values by selecting a device and entering the device-specific value.

    4. To view the XML and CLI formats of the configuration that will be deployed, click the Change Summary tab.
      • Click the XML or CLI tab.

    5. Click the Validate on Device link to validate the configuration.

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

    To resolve device-specific values using a CSV file:

    1. From the Resolve Device Specific Value drop-down list, select From a CSV.
    2. Select the devices on which you want to resolve the values from the left of the page.
    3. Click Browse and select the CSV file from the right of the page.
    4. Click Upload.
    5. (Optional) If you have uploaded a CSV file with filter criteria earlier, select the CSV file from the Select a csv to apply on chosen devices drop-down list.
    6. Click Apply CSV.
    7. To view the XML and CLI formats of the configuration that will be deployed, click the Change Summary tab.
      • Click the XML or CLI tab.

    8. Click the Validate on Device link to validate the configuration.

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

  7. (Optional) To go back and select more devices or a different set of devices, click Back.

    You are directed to the Resolve Variables page.

  8. Click Next.
  9. Select whether to deploy the Quick template now or later or whether to only assign and publish it.
    • To assign and publish the Quick template, select the Assign and Publish to pending configuration changes option button.

    • To deploy the Quick template now, select the Deploy Now option button.

    • To deploy the Quick template later:

      1. Select the Deploy Later option button.

      2. Enter the date in the Date field in the DD/MM/YYYY format.

      3. Enter the time in the Time field in the hh:mm format.

    Note:

    If you publish the Quick template, the configuration in the Quick template is deployed to the device along with the candidate configuration for the device, with the Junos OS confirmed-commit functionality.

  10. Click Finish.

    The Deploy Template Job Information dialog box is displayed. You are redirected to the Templates page.

  11. Click OK to close the dialog box.

    The Quick template is deployed to devices.

    Note:

    If you select modeled devices that are in the Modeled state, the Deploy Now and Deploy Later buttons are disabled.