Scriptable output format – HP Virtual Connect 4Gb Fibre Channel Module for c-Class BladeSystem User Manual

Page 117

Advertising
background image

Command line 117

Example 3: Stanza output format for displaying all user details

->show user *
UserName : Administrator
Privileges : domain,server,network,storage
FullName : Steve Johnson
ContactInfo : [email protected]
Enabled : true

UserName : Admin
Privileges : domain,server,network,storage
FullName : Admin
ContactInfo : Admin
Enabled : true

UserName : steve
Privileges : domain,server,network,storage
FullName : Steve Johnson
ContactInfo : [email protected]
Enabled : true

UserName : brad
Privileges : domain,server
FullName : Brad Mills
ContactInfo : [email protected]
Enabled : true

UserName : jim
Privileges : network
FullName : Jimmy Joe
ContactInfo : [email protected]
Enabled : true

UserName : alice
Privileges : storage
FullName : Alice Candle
ContactInfo : [email protected]
Enabled : false

Scriptable output format

Scriptable output format allows scripts to invoke CLI commands and receive command responses that can be

easily parsed by the scripts. This capability is provided by two options that are available: -output=script1 and

-output=script2. These options are described in more detail below. To display output with no headers or

labels, use no-headers as an additional output option value.

IMPORTANT:

If the delimiter is present within the data, then the entire value is surrounded by

double quotes.

Advertising