ADMINISTRATION PORTAL
Help Center User GuideGetting StartedFAQsRelease Notes
 
X
User Guide
Getting Started
FAQs
Release Notes
Contents  

Import Configuration Templates

In Customer Portal, users with the Tenant 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.

Procedure

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 111.

    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 111: 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.

Related Documentation

Ask questions in TechWiki

Check documentation in TechLibrary

Rating by you:      
X

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
Email:

Need product assistance? Contact Juniper Support

Submit