Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Importing a Template Definition

You can import template definitions from XML files and export template definitions to XML files. A template definition retains its state when it is exported or imported; published template definitions that are exported also appear as published when they are imported. Therefore, if you import a template definition that was published, but do not want it to be available to operators, you must unpublish it either before you export it or immediately after importing it. You can transfer template definitions from one Junos Space fabric to another.

A template definition is based on a specific OS version, or DMI schema . If the template definition you import is based on a schema that is not found, the template definition is set to the default DMI schema assigned to the device family to which the template definition applies. If you have not set the default schemas for your device families, Junos Space Network Management Platform defaults to the most recent schema for each.

Before you begin, make sure you have access to a template definition file. Although it is an XML file, the system expects to find it packed into a .tgz file, which is the way the system exports XML files (see Exporting a Template Definition).

To import a template definition:

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

    The Definitions page is displayed.

  2. Select the Import Template Definition icon on the Actions menu.

    The Import Template Definition page is displayed.

  3. To locate a definition file, click the Browse button.

    The File Upload dialog box opens.

  4. Navigate to the appropriate file, select it, and click Open.

    The Import Definition dialog box reappears, displaying the name of the selected file in the Definition File box.

    Note:

    Under some circumstances, when the Import Definition dialog box reappears, it displays a message beginning with the phrase “Confirm name mapping of.” This message serves as a warning that the system has changed the name mapping on the CSV file associated with the imported template definition, and the name of the template definition.

  5. Click Import.