Junos Space Network Management Platform provides an option to manually upload the hardware catalog when Junos Space is not able to connect to the Juniper Networks SVN repository . This article explains the procedure to do so.
You can navigate to this workspace from the webpage: Platform > Administration > Hardware Catalog. The relevant hardware catalog can be downloaded using the SVN (sub-version) client or wget.
Starting from Release 17.1R1, Junos Space Network Management Platform provides Hardware Catalog that enables you to manage hardware components of Juniper Networks devices. Hardware catalog saves you from updating Junos Space Platform software every time a new hardware component, for example, a line card, an FPC, or a power supply module, is added to a Juniper Networks device that Junos Space Platform manages. When new components are added, Juniper Networks provides a new hardware catalog that you can import to the Junos Space platform.
You can extend Junos Space Platform support to new hardware components on managed devices by uploading the latest hardware catalog distributed in the *.tgz archived format by Juniper Networks or downloaded from the Juniper Networks subversion (SVN) repository to Junos Space Platform. Preferred method: If your Space system can reach Juniper's SVN server please use the Online method: https://www.juniper.net/documentation/en_US/junos-space17.1/platform/topics/task/configuration/hw-catalog-uploading.html and use URL: https://xml.juniper.net/space/repository/trunk/hardware-catalog/
https://xml.juniper.net/space/repository/trunk/hardware-catalog/
Option 1: wget (linux / windows)
Windows does not include wget see wget homepage https://www.gnu.org/software/wget/faq.html#download to download and install if desired Any linux system with internet access can be used to create this bundle The following commands can be used to create a hardware-catalog bundle file to install, this will include all hardware versions. wget -r -np -nH --cut-dirs=3 -R index.html --http-user=" [email protected] " --ask-password https://xml.juniper.net/space/repository/trunk/hardware-catalog/ cd hardware-catalog tar czf hardware-catalog.tgz junos junos-es junos-ex junos-qf junos-qfx
Windows does not include wget see wget homepage https://www.gnu.org/software/wget/faq.html#download to download and install if desired Any linux system with internet access can be used to create this bundle The following commands can be used to create a hardware-catalog bundle file to install, this will include all hardware versions.
wget -r -np -nH --cut-dirs=3 -R index.html --http-user=" [email protected] " --ask-password https://xml.juniper.net/space/repository/trunk/hardware-catalog/ cd hardware-catalog tar czf hardware-catalog.tgz junos junos-es junos-ex junos-qf junos-qfx
Option 2: Subversion on Windows:
In the URL of repository field, type the following URL: https://xml.juniper.net/space/repository/trunk/hardware-catalog/junos <----------Here we want to download the hardware catalog for junos device family. Change the above URL as per the device family. Use the following table to get information about the device family/platform : Device family Platform junos M/MX/T/TX series junos-es SRX series junos-ex EX series junos-qf Q Fabric Series junos-qfx QFX series In the Checkout directory, type the directory using the following format: For example: C:\Users\labroot\Documents\ hw-catalog \ junos Ensure that the directory name should be same as device family mentioned in the above table: \ hw-catalog \ device_family In the Checkout Depth field, select the Immediate Children, Including folders option. Click OK .
https://xml.juniper.net/space/repository/trunk/hardware-catalog/junos <----------Here we want to download the hardware catalog for junos device family. Change the above URL as per the device family. Use the following table to get information about the device family/platform : Device family Platform junos M/MX/T/TX series junos-es SRX series junos-ex EX series junos-qf Q Fabric Series junos-qfx QFX series
https://xml.juniper.net/space/repository/trunk/hardware-catalog/junos
For example: C:\Users\labroot\Documents\ hw-catalog \ junos Ensure that the directory name should be same as device family mentioned in the above table: \ hw-catalog \ device_family
Note: If you choose to save the credentials, on the next Download, the authentication will take place automatically and this step will be skipped.
Go to the tar file created (junos.tar) and right-click > Add to Archive > gzip format. It will create junos.tar.gz file in the hw-catalog folder.
On the Junos Space Platform user interface, select Administration > Hardware Catalog .The Hardware Catalog page appears.
Click Browse to locate the hardware catalog file (junos.tar.gz) on your local system.
Click Import to import the hardware catalog file to Junos Space Platform.
A job is initiated to import the hardware catalog and the ID of the job is displayed. The hardware catalog file is imported to /var/jboss/jmp-tmp/net/juniper/jmp/var/hw-catalog location on the Junos Space server.
(Optional) Click the Job ID to view the job details.
The Job Details page displays whether the hardware catalog was imported successfully or not.