HP MSA2324sa HP StorageWorks 2300 Family Modular Smart Array CLI reference gui - Page 17

XML API basetypes, XML API optimization, properties

Page 17 highlights

XML API basetypes The following basetypes can be used when calling the meta command to obtain complete metadata for all CLI objects. advanced-settings-table host-parameters sensors auto-write-through-trigger host-view ses cache-parameter host-view-mappings shutdown-status cache-settings host-wwn-name snapshots chap-records inquiry snapshot-information cli-parameters io-modules snapshot-with-retention-tasks configuration iscsi-parameters snap-tasks controller iscsi-port snap-pools controllers job-parameters snmp-parameters controller-date license status cpld-revision master-volumes system debug-log-parameters network-parameters system-config drive-parameters ntp-status system-parameters-table drives policy-threshold tasks email-parameters port task-details enclosures power-supplies time-settings-table enclosure-list redundancy unhealthy-component enclosure-components refresh_counters users enclosure-fru reset-snapshot-tasks versions error retained-snapshots virtual-disks events sas-link-health volume-copy-tasks expander-ports sas-port volume-view fan sas-status-controller-a volume-view-mappings fc-port sas-status-controller-b volumes header schedules hosts security-communicationsprotocols XML API optimization The following are two ways to optimize XML API performance: • Use embedded objects. This allows one object to contain not only properties but also other objects. In general, parsing a structure such as this is easier as the association between objects is simpler. This is an alternative to using COMP elements. • Use brief mode. Brief mode, which is enabled by default, shows only the name and key properties of objects in normal commands. Other properties can be obtained by using the meta command with the basetype of the object. This optimization reduces the number of bytes transmitted for each request and allows caching of CLI metadata. Brief mode can be enabled or disabled by using the set cli-parameters command. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide
17
XML API basetypes
The following basetypes can be used when calling the
meta
command to obtain complete metadata for all
CLI objects.
XML API optimization
The following are two ways to optimize XML API performance:
Use embedded objects. This allows one object to contain not only properties but also other objects. In
general, parsing a structure such as this is easier as the association between objects is simpler. This is
an alternative to using
COMP
elements.
Use brief mode. Brief mode, which is enabled by default, shows only the
name
and
key
properties of
objects in normal commands. Other properties can be obtained by using the
meta
command with the
basetype of the object. This optimization reduces the number of bytes transmitted for each request and
allows caching of CLI metadata. Brief mode can be enabled or disabled by using the
set cli-parameters
command.
advanced-settings-table
auto-write-through-trigger
cache-parameter
cache-settings
chap-records
cli-parameters
configuration
controller
controllers
controller-date
cpld-revision
debug-log-parameters
drive-parameters
drives
email-parameters
enclosures
enclosure-list
enclosure-components
enclosure-fru
error
events
expander-ports
fan
fc-port
header
hosts
host-parameters
host-view
host-view-mappings
host-wwn-name
inquiry
io-modules
iscsi-parameters
iscsi-port
job-parameters
license
master-volumes
network-parameters
ntp-status
policy-threshold
port
power-supplies
redundancy
refresh_counters
reset-snapshot-tasks
retained-snapshots
sas-link-health
sas-port
sas-status-controller-a
sas-status-controller-b
schedules
security-communications-
protocols
sensors
ses
shutdown-status
snapshots
snapshot-information
snapshot-with-retention-tasks
snap-tasks
snap-pools
snmp-parameters
status
system
system-config
system-parameters-table
tasks
task-details
time-settings-table
unhealthy-component
users
versions
virtual-disks
volume-copy-tasks
volume-view
volume-view-mappings
volumes