Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Enabling Scripts in Script Bundles on Devices

After you stage the script bundle, you can use Junos Space Network Management Platform to enable the scripts within the script bundle on one or more devices simultaneously.

To enable the scripts on devices:

  1. On the Junos Space Network Management Platform UI, select Images and Scripts > Script Bundles.

    The Script Bundles page appears, displaying all Junos Space Network Management Platform script bundles.

  2. Select the script bundle containing the scripts that you want to enable on devices.
  3. Select Enable Script Bundle on Devices from the Actions menu. If this option is unavailable, it means that one or more of the scripts within the script bundle are not staged on any of the devices. You must first stage the scripts and then enable them.

    The Enable Script Bundle On Device(s) page appears. However, if all the scripts within the script bundle are enabled on all the associated devices, then Junos Space Network Management Platform displays the following message indicating that there are no scripts that can be enabled.

    No devices found where all the scripts of the selected bundle are staged and at least one script is disabled

    Note:

    The Enable Script Bundle On Device(s) page lists those devices that are associated with all scripts (enabled or disabled) in the script bundle. However, devices are not listed in the following cases:

    • If the script version in the script bundle does not match the staged version of the script on the devices

    • If all scripts in the script bundle are enabled on the devices

    • If a device-script association does not exist on the device for at least one script (enabled or disabled) in the script bundle

  4. Select the devices on which you want the script bundle to be enabled.
  5. Click Enable.

    The scripts within the script bundle are enabled on the selected devices and a Jobs dialog box displays a job ID link. Perform one of the following actions:

    • Click the job ID link to view the job status on the Job Management page. If the scripts are not enabled on the selected devices, you can identify the reason for failure by double-clicking this job on the Job Management page. The Job Details page appears and displays the reason for failure in the Description column.

    • Click OK to return to the Scripts Bundles page.

To return to the Script Bundles page from anywhere on the Junos Space Platform GUI that you may have navigated to, select Images and Scripts > Script Bundles on the left pane of the GUI.