Table 66 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 67 (page 69).
Table 67 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 68 (page 69) 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 68 Message Body JSON Objects for VLUN Template Request
Ignored ValuesDescriptionAPI TypeJSON TypeMember
None (required)Name of the volume to be
exported.
name31stringvolumeName
None (required)LUN ID.igint32numberlun
None* (optional)Name of the host which the
volume is to be exported.
name31stringhostname
None* (optional)System port of VLUN
exported to. It includes
portPosobjectportPos
node number, slot number,
and card port number.
Creating a VLUN 69