Adaptec 2020ZCR Reference Guide - Page 13
Action, Object, Switch, Value
UPC - 760884151136
View all Adaptec 2020ZCR manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 13 highlights
Introduction Action An action specifies an operation to be performed by the CLI, such as open, create, list, exit, or show. An action is a required element, except in subcommand mode. In most cases, actions are preceded by a class and followed by an object, switches, and parameters. Object An object describes what to use in an action. Examples include mirror, volume, mstripe, and drive_letter. Switch A switch is an element applied to a command that allows a variation of the command. Switches are always optional. If you specify a switch, it may require a value. Switches that are Boolean do not require a value when the switch is used because the switch defaults to TRUE or FALSE. Optionally, you can explicitly set a Boolean switch to TRUE or FALSE. Value A value is a type that applies to a switch. For each switch, you can have only one type of value. For example, a switch that is defined as a string value can never take an integer value. A space may be used within a value only within a quoted string. Examples of valid value types include Boolean, integer, string, scsi_device, free_space, and array. You delimit a value that applies to a switch by using an equal sign, as in the following example: AAC0>disk list /all =TRUE Executing: disk list /all=TRUE Note that a space to the left or right of the equal sign is permitted. 1-6