Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Import Configuration Templates

In Administration Portal, users with the SP (Service Provider) Administrator role (on-premises installation only) or OpCo (Operating Company) Administrator role can import a configuration template by specifying the parameters using a configuration template file (Jinja template language), Yang model file (schema for the configuration), and the Viewdef file (configuration of the UI).

Note:

In CSO releases before Release 5.1.0, configuration templates are called stage-2 configuration templates.

To import a configuration template:

  1. Select Resources > Templates > Configuration Templates.

    The Configuration Templates page appears.

  2. Select More > Import.

    The Import Configuration Template page appears.

  3. Complete the configuration according to the guidelines provided in Table 1.
    Note:

    Fields marked with an asterisk (*) are mandatory.

  4. Click OK.

    You are returned to the Configuration Templates page and a popup appears displaying the status of the import operation.

  5. Click OK to close the popup.

    You are returned to the Configuration Templates page.

If the configuration template is imported successfully, you can validate the configuration template by using the Preview workflow and then assign the configuration template to a device template or deploy it on a device.

Table 1: Import Configuration Template Settings

Setting

Guideline

Template Name

Enter a unique name that can only contain alphanumeric characters and hyphens; 64-character maximum.

Description

Enter a description for the configuration template.

Output Config Format

Select the output configuration format for the template:

  • CLI (default)

  • XML

Device Family

Select the device family for which you are adding the template; for example, juniper-nfx.

Configuration Template File

Specify the file containing the configuration (in Jinja Template language syntax) by clicking the Browse button to navigate to the directory where the configuration template file is located and selecting the file.

Yang Model File

Specify the Yang data model (configuration schema) file by clicking the Browse button to navigate to the directory where the Yang model file is located and selecting the file.

Viewdef File

Specify the Viewdef file, which contains the configuration for the UI, by clicking the Browse button to navigate to the directory where the Viewdef file is located and selecting the file.