Hitachi

JP1 Version 12 JP1/Automatic Operation Service Template Developer's Guide 


6.4.2 Items to set for platforms

In the Platform area, select the operating system on which the remote command will be executed from the Add Platform pull-down menu.

If you select another OS in the Import Settings pull-down menu, the definition information of the remote command targeted to the selected OS is loaded. You can select the following OSs:

Note that you need to upload the attached file for the specified OS after the definition information is loaded because the attached file is not loaded automatically.

The following table lists the items you can set on the tab for the selected operating system.

Table 6‒13: Items to set on tab for selected OS

Item

Description

Execution Method

Select the execution method of the remote command.

  • Script

    Select this option when you want to set a script created by a user.

  • CLI Command

    Select this option when you want to set a command stored in the operation-target device.

CLI Command

Enter the command line to be executed. If you click the Insert Input Property button, all input properties defined for the plug-in are displayed. When you select a property or properties to insert and click OK, the property or properties are input in the format "?dna_property-key?". You can select multiple properties by selecting the check boxes beside the property keys. There is a space at the beginning of the property format.

Script specification method

If you select Script for the Execution Method radio button, select the method for specifying the script.

  • Attachment

    Select this option when you want to attach the script.

  • Type in

    Select this option when you want to directly enter the script.

File

If you select Attachment for the Script specification method radio button, the name of the attached file is displayed. If you click the Browse button, a dialog box appears in which you can select the script file to be attached.

File Name

If you select Type in for the Script specification method radio button, enter the file name of the script entered in the Script text box. The script entered in the Script text box is uploaded with the file name set for this item.

Script

If you select Type in for the Script specification method radio button, enter the script you want to execute on the operation-target device.

Mapping Definition of Output Properties

Displays a list of mapping definitions of output properties. If you want to store part of the standard output and standard error output of a commands or script in an output property, click the pencil icon beside the property in which you want to store the information. This allows you to edit the output filter.

Details

Execution Directory

Enter the directory where the command or script is to be executed on the target device.

Environment Variables

Displays a list of environment variables required to execute commands or scripts. You can add, edit, or delete environment variables.