Hitachi

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


6.4.11 Information output to standard output by plug-ins

The standard output and standard error output of the commands and scripts specified in the CLI Command text box serve as the standard output of the plug-in.

However, plug-ins and service templates must be designed so that the standard output of the plug-in does not exceed 100 KB. If the standard output of a plug-in exceeds this size, the command is immediately forcibly terminated and the plug-in ends in an error. In this situation, the results of execution of the command cannot be guaranteed.

The size of standard output includes the data added by JP1/AO. For this reason, you need to include some leeway over the standard output and standard error output of the plug-in when estimating the standard output of a plug-in.

Size of plug-in standard output (when the operation target device is running UNIX)

Number of linefeed codes (LF) × bytes

When the operation target device is running UNIX, the carriage return character CR (0x0d) is replaced with the linefeed character LF (0x0a) in standard output and standard error output. LF (0x0a) is appended to the end of standard output and standard error output if the last character is not a linefeed character (CR/LF/CR+LF).