HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 70
VLUN Creation Success, Table 68 Message Body JSON Objects for VLUN Template Request
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 70 highlights
Table 68 Message Body JSON Objects for VLUN Template Request (continued) Member noVcn JSON Type Boolean overrideLowerPriority Boolean autoLun Boolean API Type Description Ignored Values A VLUN change None* (optional) notification (VCN) not be issued after export (-novcn). Default: False. Existing lower priority VLUNs will be overridden (-ovrd). Use only if hostname member exists. Default: False. None* (optional) States whether the lun number should be autosigned. (Since WSAPI 1.2) maxAutoLun number If autoLun is true, the lun number should be in the range of lun and maxAutoLun. If maxAutoLun is 0, then no max. (Since WSAPI 1.2) *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. 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/,,,[] where: • is the volume that the newly created VLUN exports. • The or [] 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 ahost-type VLUN. • If the was not provided, then the location will be: /api/v1/vluns/,,, VLUN Creation Errors Upon failure, the error code and API-specific error information is returned, as shown in Table 69 (page 70). For generic API error codes, see Table 5 (page 17). Table 69 VLUN Creation Error Codes API Error HTTP Code INV_INPUT_MISSING_REQUIRED 400 Bad Request Description Missing volumeName or incomplete port info, specifying override option without hostname. 70 Working with Virtual LUNs