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:
- On Junos Space Platform, select Images and Scripts
> Script Bundles.
The Script Bundles page appears, displaying all Junos Space Platform script bundles.
- Select the script bundle containing the scripts that you want to disable on devices.
- 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
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
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.
- Select the devices on which you want the scripts to be disabled.
- 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.