HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 91 VLUN multipathing Configuration Enumeration
DescriptionValueSymbol
Unknown.1UNKNOWN
Round Robin.2ROUND_ROBIN
Failover.3FAILOVER
VLUN failedPathPol Enumeration
The API server will communicate the failed path monitoring method (failedPathPol) enumerated
as shown in Table 92 (page 101).
Table 92 VLUN failedPathPol Configuration Enumeration
DescriptionValueSymbol
Unknown.1UNKNOWN
SCSI test unit is ready.2SCSI_TEST_UNIT_READY
Inquiry.3INQUIRY
Read Sector 0.4READ_SECTOR0
Creating a VLUN
This section describes the HTTP request and response JSON object members for creating a VLUN
template.
NOTE: Any user with Super or Edit role, or any role granted the vlun_create right, can perform
this operation.
Create a VLUN using the HTTP POST method. Use the following URI:
https://<storage_system>:8080/api/v1/vluns
Table 93 (page 101) shows the JSON members that are sent in the request body that specifies the
parameters for creating a VLUN template.
To create a VLUN, the VolumeName and lun members are required. Either hostname or portPos
(or both in the case of matched sets) is also required. The noVcn and overrideLowerPriority
members are optional.
The LUN number can also be signed by the system within the specified LUN range. In that case,
you must specify a range. A range can be n+ (minimal n) or m–n (m to n). To support auto lun,
the fields autoLun and maxAutoLun are now supported in the message body for VLUN creation.
Table 93 Message Body JSON Objects for VLUN Template Request
DescriptionIgnored ValuesAPI TypeJSON TypeMember
Name of the volume or
VV set to be exported.
None.
1
This is a required field.
name31stringvolumeName
The VV set should be in
set:volumeset_name
format.
LUN ID.None.
1
igint32numberlun
This is a required field.
Name of the host or host
set to which the volume or
VV set is to be exported.
None.
1
This is a required field.
name31stringhostname
Creating a VLUN 101