6
Chapter 1 Introduction
1.5
Members
Each context has one or more members associated with it. A member can be a value
property, context property, context list, or command. Table 1-1 describes these types of
members.
Table 1-1. Members
Member
Description
Examples of Data Types for This Member
Value properties
Value properties can be read-only or read-write:
Read-only properties only support
Show
.
Read-write properties support
Show
and
Set
.
Number
String
Enumeration (see section 1.6)
Boolean
Date/Time
Context property
Context properties can be read-only or read-
write.
DiskList
on the root context.
LAG
on PhysicalPort
Context lists
Types of entities that can be displayed or
operated upon from the current context.
Controllers
on the root context
Disks
on
DiskList
Commands
Commands support
Do
.
CreateVolume
on the root context
Reconfigure
on
Volume
1.6
Enumerators
Enumerators are a data type, much like Number, String, Boolean, and Date/Time.
Enumerators have a discrete list of possible values that can be used in a property or
command argument . Examples include:
VolumeComposition
(for example, JBOD, Stripe, Mirror, Parity, StripeMirror)
StripeDepth
(for example, 32KB, 64KB, 128KB, 256KB, 512KB, 1024KB, 2048KB)
1.7
Special Keywords
When working in a context that can contain one or more members, the special keywords of
$first
and
$last
let you reference the first or last entry in the list of members, although
the order of entries in the list may be random. This is useful if you use advanced scripts or
perform a repetitive operation that should continue until the entire list is empty, without
needing to indicate the names or index values for the specific members of the list. For
example, you can delete all volumes on an array by specifying the following command
repeatedly until an error occurs (when no more volumes exist):
do volumelist.volume[$last].delete
Summary of Contents for xStack Storage DSN-4000 Series
Page 6: ...vi Preface...
Page 42: ...32 Chapter 3 Using the CLI This Page Left Intentionally Blank...
Page 56: ...46 Chapter 4 Global Action Commands This Page Left Intentionally Blank...
Page 86: ...76 Chapter 5 Supported CLI Commands and Properties This Page Left Intentionally Blank...
Page 97: ......