Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Disabling Scripts in Script Bundles on Devices

You can disable the scripts in a script bundle on devices on which they are in the enabled state. You can use Junos Space Network Management Platform to disable the scripts within the script bundle on one or more devices simultaneously.

To disable the scripts on devices:

  1. On Junos Space Platform, select Images and Scripts > Script Bundles.

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

  2. Select the script bundle containing the scripts that you want to disable on devices.
  3. Select Disable 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 is not staged on a device.

    The Disable Script Bundle On Device(s) page appears, which displays the devices on which the scripts are staged and enabled. However, if all the scripts within the script bundle are already disabled, then Junos Space Platform displays the following message indicating that there are no scripts that can be disabled.

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

    Note:

    The Disable Script Bundle On Device(s) page lists the devices that are associated with the same versions of all scripts that are part of the script bundle. The scripts might be in an enabled or disabled state.

    This page does not list devices:

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

    • If all the scripts in the script bundle are in a disabled state on the devices.

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

  4. Select the devices on which you want the scripts to be disabled.
  5. Click Disable.

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

    • Click the job ID link to view the job status on the Job Management page. If the scripts are not disabled 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. The Job Details page supports sorting of data in all columns in ascending or descending order.

    • Click OK to return to the Script Bundles page.

To return to the Script Bundles page from anywhere on the Junos Space Platform UI, select Images and Scripts > Script Bundles on the left pane of the UI.