9.5.01 HP P4000 SAN Solution User Guide (AX696-96168, February 2012)

15 Working with scripting
Scripting in the SAN/iQ software through release 7.0 was accomplished by the
java.commandline.CommandLine scripting tool.
In SAN/iQ software release 8.0, the java.commandline.CommandLine scripting tool was
replaced by the HP P4000 Command-Line Interface. The CLI takes advantage of the new SAN/iQ
API that provides comprehensive coverage of SAN/iQ software functionality to support scripting,
integration and automation.
The java.commandline.CommandLine scripting tool will be supported after the 8.0 release
to allow time for converting existing scripts that use java.commandline.CommandLine to the
new CLI syntax.
Scripting documentation
The HP CLIQ - The SAN/iQ Command-Line Interface User Guide is available from the HP
website, and it is installed with the CLI.
A SAN/iQ 8.0 Readme is available that describes the changes from
java.commandline.CommandLine to the new CLI syntax.
Sample scripts using the CLI are also available on the HP website.
196 Working with scripting