beautypg.com

Global parameters – HP LeftHand P4000 SAN Solutions User Manual

Page 6

background image

6 |  HP StoreVirtual CLI |    Global Parameters

Global Parameters

prompt=
Some potentially destructive commands prompt before proceeding. This default behavior can be turned off

by specifying "prompt=false".

output=
In the default case, the CLI returns information to standard output, formatted in a way that's easy to read

rather than easy to parse. The XML setting returns all output information as an XML document, allowing

easier parsing of the result. There is no guarantee that newer versions of the API will preserve the same

formatting in the default case. It is strongly discouraged to use this form of the CLI programmatically. If the

output needs to be parsed, the XML variant is preferred.

separator=
Some CLI parameters comprise parameters for multiple operations. For example, the "snapshotVolumes"

command allows the user to specify simultaneous snapshotting of multiple volumes. In this scenario, some

parameters specify an ordered list that apply to each snapshot in succession

description="This applies to snapshot1;This applies to snapshot2"

The default separator character is a semicolon (';'). If the same character is used in the body of a parameter

then separator can be changed to something else.

description="This applies to snapshot1;This applies to snapshot2"

This manual is related to the following products: