HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 93 Message Body JSON Objects for VLUN Template Request (continued)
DescriptionIgnored ValuesAPI TypeJSON TypeMember
The host set should be in
set:hostset_name
format.
System port of VLUN
exported to. It includes
None.
1, 2
portPosobjectportPos
node number, slot
number, and card port
number.
Specifies that a VLUN
change notification (VCN)
None.
1
This is an optional field.
BooleannoVcn
not be issued after export
(-novcn). Default: False.
Existing lower priority
VLUNs will be overridden
None.
1
This is an optional field.
BooleanoverrideLowerPriority
(-ovrd). Use only if
hostname member exists.
Default: False.
States whether the lun
number should be
autosigned.
BooleanautoLun
(Since WSAPI 1.2)
If autoLun is true, the
lun number should be in
numbermaxAutoLun
the range of lun and
maxAutoLun. If
maxAutoLun is 0, then
no max.
(Since WSAPI 1.2)
1
When creating 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.
2
The portPos member is required if you are creating a matched-set or port-present VLUN. If absent, a hostset or hostset
VLUN is created.
VLUN Creation Success
With a successful VLUN creation, the HTTP status code 201 Created is returned, without a
message body.
Upon successful creation of the VLUN, the Location response header contains the URI for the newly
created VLUN in the following format:
/api/v1/vluns/<volume name>,<lun>,<host_name>,[<port>]
where:
<volume name> is the volume that the newly created VLUN exports.
The <host_name> or [<port>] information, or both (depending on the VLUN type), are
the host name and port for the newly created VLUN. The port information will not be displayed
for a host-type VLUN.
If the <host_name> information was not provided, then the location will be:
/api/v1/vluns/<volume_name>,<lun>,,<port>
102 Working with Virtual LUNs