- play_arrow Overview
- play_arrow Introduction
-
- play_arrow Devices
- play_arrow Device Management
- play_arrow Systems of Record
- play_arrow Device Discovery Profiles
- play_arrow Modeling Devices
- Rapid Deployment Overview
- Zero Touch Deployment Using Autoinstallation and Junos Space Network Management Platform on ACX Series and SRX Series Devices
- Model Devices Overview
- Creating a Connection Profile
- Creating a Modeled Instance
- Activating a Modeled or Cloned Device in Junos Space Network Management Platform
- Downloading a Configlet
- Viewing and Copying Configlet Data
- Activating Devices by Using Configlets
- Viewing a Modeled Instance
- Adding More Devices to an Existing Modeled Instance
- Viewing the Status of Modeled Devices
- Deleting Modeled Instances
- Viewing a Connection Profile
- Cloning a Connection Profile
- Modifying a Connection Profile
- Deleting Connection Profiles
- play_arrow Device Authentication in Junos Space
- play_arrow Viewing Device Inventory
- play_arrow Exporting Device Inventory
- play_arrow Configuring Juniper Networks Devices
- Modifying the Configuration on the Device
- Reviewing and Deploying the Device Configuration
- Junos OS Releases Supported in Junos Space Network Management Platform
- Configuration Guides Overview
- Saving the Configuration Created using the Configuration Guides
- Previewing the Configuration Created using the Configuration Guides
- Deploying the Configuration Created using the Configuration Guides
- Viewing and Assigning Shared Objects
- Applying a CLI Configlet to Devices
- Applying a CLI Configlet to a Physical Inventory Element
- Applying a CLI Configlet to a Physical Interface
- Applying a CLI Configlet to a Logical Interface
- Executing a Script on the Devices
- Executing a Script on a Physical Inventory Component
- Executing a Script on a Logical Interface
- Executing a Script on the Physical Interfaces
- play_arrow Device Adapter
- play_arrow Device Configuration Management
- play_arrow Adding and Managing Non Juniper Networks Devices
- play_arrow Accessing Devices
- Launching a Device’s Web User Interface
- Looking Glass Overview
- Executing Commands by Using Looking Glass
- Exporting Looking Glass Results in Junos Space Network Management Platform
- Secure Console Overview
- Connecting to a Device by Using Secure Console
- Configuring SRX Series Firewall Clusters in Junos Space using Secure Console
- play_arrow Logical Systems (LSYS)
- play_arrow Tenant System (TSYS)
- play_arrow Device Partitions
- play_arrow Custom Labels
- play_arrow Verifying Template, Image Deployment, Script Execution, and Staged Images on Devices
- play_arrow Device Maintenance
- Viewing Device Statistics
- Viewing Devices and Logical Systems with QuickView
- Resynchronizing Managed Devices with the Network
- Putting a Device in RMA State and Reactivating Its Replacement
- Modifying the Target IP Address of a Device
- Modifying the Serial Number of a Device
- Rebooting Devices
- Deleting Staged Images on a Device
- Cloning a Device in Junos Space Network Management Platform
- Deleting Devices
-
- play_arrow Device Templates
- play_arrow Overview
- play_arrow Template Definitions
- Creating a Template Definition
- Finding Configuration Options in a Template Definition
- Working with Rules in a Template Definition
- Specifying Device-Specific Values in Template Definitions
- Managing CSV Files for a Template Definition
- Publishing a Template Definition
- Viewing a Template Definition
- Modifying a Template Definition
- Cloning a Template Definition
- Importing a Template Definition
- Exporting a Template Definition
- Unpublishing a Template Definition
- Deleting a Template Definition
- play_arrow Configuring Devices using Device Templates
- play_arrow Configuring Devices using Quick Templates
- play_arrow Device Template Administration
- Viewing Template Details
- Viewing the Device-Template Association (Device Templates)
- Viewing Template Definition Statistics
- Viewing Device Template Statistics
- Comparing Templates or Template Versions
- Comparing a Device Template Configuration with a Device Configuration
- Cloning a Template in Junos Space Network Management Platform
- Exporting and Importing a Quick Template in Junos Space Network Management Platform
- Deleting Device Templates from Junos Space Network Management Platform
-
- play_arrow CLI Configlets
- play_arrow Overview
- play_arrow CLI Configlets
- Creating a CLI Configlet
- Modifying a CLI Configlet
- Viewing CLI Configlet Statistics
- Viewing a CLI Configlet
- Exporting CLI Configlets
- CLI Configlet Examples
- Deleting CLI configlets
- Cloning a CLI Configlet
- Importing CLI Configlets
- Applying a CLI Configlet to Devices
- Comparing CLI Configet Versions
- Marking and Unmarking CLI Configlets as Favorite
- play_arrow Configuration Views
- Configuration Views Overview
- Configuration View Variables
- Configuration View Workflow
- XML Extensions
- Creating a Configuration View
- Viewing a Configuration View
- Modifying a Configuration View
- Deleting Configuration Views
- Exporting and Importing Configuration Views
- Viewing Configuration Views Statistics
- Default Configuration Views Examples
- play_arrow XPath and Regular Expressions
- play_arrow Configuration Filters
-
- play_arrow Images and Scripts
- play_arrow Overview
- play_arrow Managing Device Images
- Device Images Overview
- Importing Device Images to Junos Space
- Viewing Device Images
- Modifying Device Image Details
- Staging Device Images
- Staging Satellite Software Packages on Aggregation Devices
- Verifying the Checksum
- Viewing and Deleting MD5 Validation Results
- Deploying Device Images
- Deploying Satellite Software Packages on Aggregation and Satellite Devices
- Viewing Device Image Deployment Results
- Viewing Device Association of Images
- Undeploying JAM Packages from Devices
- Removing Device Images from Devices
- Deleting Device Images
- play_arrow Managing Scripts
- Scripts Overview
- Promoting Scripts Overview
- Importing Scripts to Junos Space
- Viewing Script Details
- Modifying Scripts
- Modifying Script Types
- Comparing Script Versions
- Staging Scripts on Devices
- Verifying the Checksum of Scripts on Devices
- Viewing Verification Results
- Enabling Scripts on Devices
- Executing Scripts on Devices
- Executing Scripts on Devices Locally with JUISE
- Viewing Execution Results
- Exporting Scripts in .tar Format
- Viewing Device Association of Scripts
- Marking and Unmarking Scripts as Favorite
- Disabling Scripts on Devices
- Removing Scripts from Devices
- Deleting Scripts
- Script Annotations
- Script Example
- play_arrow Managing Operations
- play_arrow Managing Script Bundles
- Script Bundles Overview
- Creating a Script Bundle
- Viewing Script Bundles
- Modifying a Script Bundle
- Staging Script Bundles on Devices
- Enabling Scripts in Script Bundles on Devices
- Executing Script Bundles on Devices
- Disabling Scripts in Script Bundles on Devices
- Viewing Device Associations of Scripts in Script Bundles
- Deleting Script Bundles
-
- play_arrow Reports
- play_arrow Reports Overview
- play_arrow Report Definitions
- play_arrow Reports
-
- play_arrow Network Monitoring
- play_arrow Overview
- play_arrow Integration of OpenNMS with Junos Space Network Management Platform
- play_arrow Managing Nodes
- play_arrow Network Monitoring Administration
-
- play_arrow Configuration Files
- play_arrow Overview
- play_arrow Managing Configuration Files
-
- play_arrow Jobs
- play_arrow Overview
- play_arrow Managing Jobs
- Viewing Statistics for Jobs
- Viewing Your Jobs
- Viewing Jobs
- Viewing Objects on Which a Job is Executed
- Viewing Job Recurrence
- Rescheduling and Modifying the Recurrence Settings of Jobs
- Retrying a Job on Failed Devices
- Reassigning Jobs
- Canceling Jobs
- Clearing Your Jobs
- Archiving and Purging Jobs
- Common Error Messages in Device-Related Operations
-
- play_arrow Role-Based Access Control
- play_arrow Overview
- play_arrow Roles
- Roles Overview
- Predefined Roles Overview
- Creating a User-Defined Role
- Managing Roles
- Modifying User-Defined Roles
- Deleting User-Defined Roles
- Cloning Predefined and User-Defined Roles
- Exporting User-Defined Roles from Junos Space Network Management Platform
- Importing Roles to Junos Space Network Management Platform
- play_arrow User Accounts
- Configuring Users to Manage Objects in Junos Space Overview
- Creating Users in Junos Space Network Management Platform
- Modifying a User
- Deleting Users
- Disabling and Enabling Users
- Unlocking Users
- Viewing Users
- Exporting User Accounts from Junos Space Network Management Platform
- Changing Your Password on Junos Space
- Clearing User Local Passwords
- Viewing User Statistics
- play_arrow User Groups
- play_arrow Domains
- play_arrow Remote Profiles
- play_arrow API Access Profiles
- play_arrow User Sessions
-
- play_arrow Audit Logs
- play_arrow Troubleshooting
- play_arrow Knowledge Base
-
ON THIS PAGE
Adding Missing DMI Schemas by Using the View/Install Missing Schema Action
Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using the Get Latest Action
Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using REST APIs
Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using the Update Schema Menu
Adding Missing DMI Schemas or Updating Outdated DMI Schemas in Junos Space Network Management Platform
When a new device is added to your network, you need to add the DMI schema for that device to Junos Space Platform to configure and manage the device. You can view whether the schema for a device series is installed or not on Junos Space Platform from the DMI Schemas page. A value of No in the Schema Installed column indicates that the schema for a Junos OS version on a device series is not present in Junos Space Platform.
You can download DMI schema from the configured Juniper Networks DMI schema repository to Junos Space Platform in one of the following ways:
Adding Missing DMI Schemas by Using the View/Install Missing Schema Action
Junos Space Platform provides the View/install Missing Schema action to view and install DMI schemas that are missing from Junos Space Platform.
To add missing schemas by using the View/Install Missing schemas action:
Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using the Get Latest Action
The Get Latest action downloads missing schemas and updates outdated schemas in Junos Space Platform. The Get Latest action is enabled only after the DMI schema repository is configured.
To add or update schemas by using the Get Latest action:
Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using REST APIs
Junos Space Platform provides an option to download missing schemas or update outdated schemas by using REST APIs for situations where the Junos Space Platform is not connected to the Web.
To generate the APIs, Junos Space Platform has the schemaInstall.py script stored in the /var/log/space-debug/debug-utilities/schemaManagement location. When Junos Space Platform is not connected to the Web, download the script to a local system from which you can connect to the Web. The information for using the schemaInstall.py script to manage DMI schemas is documented in this section and is also present in the ReadMe.txt file located at /var/log/space-debug/debug-utilities/schemaManagement.
To run the schemaInstall.py script on a local system, the local system should meet the following requirements:
Python 3.6 (https://www.python.org/ftp/python/3.6.1/python-3.6.1.exe)
SVN client such as Tortoise SVN (https://tortoisesvn.net/downloads.html )
Python Installation Package (PIP) Version 3.6 installed on the local system
You can obtain help for the schemaInstall.py script by using the python schemaInstall.py --help
command.
You can run the schemaInstall.py script as follows to add missing schemas or update outdated schemas in Junos Space Platform depending on connectivity of the local system to Junos Space Platform and the DMI schema repository:
Before you run the script, copy the script to a local system that is connected to the Web.
The following variables are used by the schemaInstall.py script:
svnurl is the link to DMI Schema repository (https://xml.juniper.net/dmi/repository/trunk/).
spaceuser is the username for logging in to Junos Space Platform.
svnuser is the username for logging in to the DMI Schema repository.
spaceurl is the link to Junos Space Platform.
Situation 1: When your local system is connected to both Junos Space Platform and the DMI schema repository, you can execute the script to perform the following tasks:
Add missing DMI schemas in Junos Space Platform by executing the following command on the local system:
content_copy zoom_out_mappython schemaInstall.py -o install-missing-schemas --svnurl="<svnurl>" --spaceuser="<spaceuser>" --svnuser="<svnuser>" --spaceurl="<spaceurl>"
Add specific schemas on Junos Space platform by executing the following command on the local system:
content_copy zoom_out_mappython schemaInstall.py -o install-schemas --svnurl="<svnurl>" --spaceuser="<spaceuser>" --svnuser="<svnuser>" --spaceurl="<spaceurl>" --file="schema.xml"
Where, schema.xml is the file containing specific schemas that you want to install.
content_copy zoom_out_map~~ Structure of sample schema.xml file ~~ <dmi-schema-infos uri="/api/space/schema-service/dmi-schemas-with-missing-schemas"> <dmi-schema-info> <os-version>3.0R1</os-version> <dev-family>ive-ic</dev-family> </dmi-schema-info> <dmi-schema-info> <os-version>11.3X30.10</os-version> <dev-family>junos-qf</dev-family> </dmi-schema-info> </dmi-schema-infos>
You can obtain the schema.xml file by one of the following means:
Create the schema file manually.
Obtain the list of all schemas present in Junos Space Platform by executing the following command:
content_copy zoom_out_mappython schemaInstall.py -o get-schemas --spaceurl="<spaceurl>" --spaceuser="<spaceuser>" --file="schema.xml"
Obtain the list of schemas missing in Junos Space Platform by executing the following commands:
content_copy zoom_out_mappython schemaInstall.py -o checkout-missing-schemas --svnurl="<svnurl>" --spaceuser="<spaceuser>" --svnuser="<svnuser>" --spaceurl="<spaceurl>"
The schema.xml file obtained by using the
get-schemas
and thecheckout-missing-schemas
methods can be used for installing schemas on Junos Space Platform and checking out schemas on the DMI Schema repository.Find the schemas missing in Junos Space Platform and obtain those schemas from the DMI schema repository in a *.tgz file by executing the following command:
content_copy zoom_out_mappython schemaInstall.py -o checkout-missing-schemas --svnurl="<svnurl>" --spaceuser="<spaceuser>" --svnuser="<svnuser>" --spaceurl="<spaceurl>"
This command outputs the upload-tgz-schema-file.tgz local file. You can upload the local file later by using the Update Schema menu; see Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using the Update Schema Menu for details.
Situation 2: When the local system has connectivity to the DMI schema repository but not to the Junos Space platform, you can execute the script to download specific schemas in local format (*.tgz) from the repository. You can later add the schemas to Junos Space Platform by using the Update Schema menu; see Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using the Update Schema Menu for details.
content_copy zoom_out_mappython schemaInstall.py -o checkout-schemas --svnurl="<svnurl>" --svnuser="<svnuser>" --file="schema.xml"
Situation 3: When the local system is connected to Junos Space Platform, but not to the DMI Schema repository, you can do the following:
Upload local schema to Junos Space Platform by executing the following command:
content_copy zoom_out_mapscript python schemaInstall.py -o install-schemas --spaceuser="<spaceuser>" --spaceurl="<spaceurl>" --archivefile="upload-tgz-schema-file.tgz"
where, upload-tgz-schema-file.tgz is the name of the local schema file uploaded to Junos Space Platform.
Note:You can obtain the upload-tgz-schema-file.tgz file by downloading it from the DMI repository and copying it to the local system.