Top
ServerView Resource Orchestrator V3.4.0 Automatic Quarantining Function User's Guide
FUJITSU Software

D.6.1 Script List Files

This section explains the format of script list files and how to write parameters in them.

Script List for Network Resources

This section explains the ruleset script list used by network resources.

Format
Script Path Script Name[,cmd=Script Command File Name],node=Network Device Name[,paramfile=Parameter File Name][,param=(Parameter Name1=Parameter Value1,Parameter Name2=Parameter Value2, ...)]
Description

This section explains each item.

Script Path

Specify the folder path for the script to execute using an absolute path or relative path from the scripts folder.

The folder path, including the execution script, is necessary.

Script Name

Specify the name of the script you want to execute.

Do not specify a script list name in this field. If you specify it, it is regarded as designating the name of the script to execute.

cmd=Script Command File Name

Specify the name of the script command file you want to execute.

The value specified for this operand will be configured for the reserved variable "command file name".

If you invoke multiple command files, it is necessary to use the "command file names" including a serial number (in ascending order from 1).

If you do not specify the command file name in the script, the command file is not invoked from the script.

node=Network Device Name

Specify the name of the network device to execute the script.

If you specify the wrong network device name in this field, an automatic configuration error or incorrect configuration occurs when the script is executed. Specify the network device name carefully.

paramfile=Parameter File Name

Specify the parameter file name of the variable information passed to the script.

If you use variable information from a parameter file, specify the name of the parameter file.

param=(Parameter Name1=Parameter Value1,Parameter Name2=Parameter Value2,...)

If you want to change the settings of variable parameters in the parameter file specified for the "paramfile" field per line of script list, use this operand.

Specify all parameter names and changed parameter values that you want to change.

Information

  • Specified parameters are separated by "," and blank spaces between parameters and "," are ignored.
  • The number of lines specified in a script list is limited to 100, excluding comment lines.
  • Comments begin with "#" in the first column. Any characters can be used in the comment line.

    Write comments such as description of executed scripts when necessary.

    Comments are ignored when script lists are processed.

  • Blank lines are regarded as comments and ignored when a script list is processed.
  • When a script list processes the same network device, the script list is not executed at the same time but executed in order. On the other hand, when a script list does not process the same network device, the script list is executed at the same time.
Execution Image

Script lists are executed in the order of the list.

[Script Path]Script Name1,node=Network Device Name1,param=(Parameter Name1=Value,...) 
[Script Path]Script Name2,node=Network Device Name2,param=(Parameter Name2=Value,...) 
[Script Path]Script Name3,node=Network Device Name3,param=(Parameter Name3=Value,...)