Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    Viewing Script Details

    The Images and Scripts workspace enables you to view and manage multiple scripts in Junos Space Network Management Platform. You can view information about scripts that are stored in the Junos Space Platform database from the Scripts page. To view detailed information about a particular script, you can use the View Script Details option.

    To view scripts from the Scripts page:

    1. On the Junos Space Platform UI, select Images and Scripts > Scripts.

      The Scripts page appears, displaying the scripts that you imported into Junos Space Platform.

      Table 1 describes the fields displayed on the Scripts page.

      You can use the filter option on the Script Name, Domain, Descriptive Name, Type, Category, Execution Type, Format, and Latest Revision drop-down lists to specify the filter criteria. When you apply the filters, the table displays only the scripts that match the filter criteria. The Description, Creation Date, Last Updated Time, and Associations fields do not support the filter option.

    2. Select a script and click the View Script Details icon, or double-click the script whose details you want to view.

      The Script Details dialog box displays the script name, type, format, creation time, version, script contents, and comments. By default, the latest version of the script is displayed. Use the scroll bar to the right of the page to scroll through the script.

      Table 2 describes the fields displayed on the Script Details dialog box.

    Table 1: Fields on the Scripts Page

    Field

    Description

    Script Name

    Name of the script file

    Domain

    Domain to which the script belongs

    Descriptive Name

    Descriptive name of the script

    Type

    Type of script can be one of the following:

    • Commit Script
    • Op Script
    • Event Script

    Category

    Category of the script

    Execution Type

    • Device—Scripts of this type need to be staged and enabled on a device before the scripts can be executed.
    • Local—Scripts of this type need not be staged or enabled on a device for the scripts to be executed. You must set the @ISLOCAL annotation to true to execute the script locally. For more information about script annotations and a sample script, see Script Annotations and Script Example.

    Format

    Format of the script file can be one of the following:

    • XSL
    • SLAX

    Latest Revision

    Latest revision number of the script in Junos Space Platform

    Git Version

    Commit ID of the script in the Git repository when it is imported. If the script is modified in Junos Space Platform after import, a Warning icon is displayed alongside. If the script is not imported from a Git repository, the value displayed is N/A.

    Git Branch

    Git repository branch from which the script is imported. If the script is not imported from a Git repository, the value displayed is N/A.

    Creation Date

    Date and time when the script was imported to the Junos Space server

    Description

    Description of the script

    Last Updated Time

    Time when the script was last updated

    Associations

    View link to view device associations

    Table 2: Script Details Dialog Box Fields

    Field

    Description

    Name

    Name of the script file

    Type

    Type of script. The values can be one of the following:

    • Commit script
    • Op script
    • Event script

    Format

    Format of the script file. The values can be one of the following:

    • XSL
    • SLAX

    Creation Time

    Date and time when the script was created

    Version

    Version number of the script. When you modify a script, the changes are saved as the latest version of the script.

    Script contents

    Contents of the script

    Comments

    Text that describes the script that is entered by the user

     

    Related Documentation

     

    Modified: 2016-01-20