HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 71
VLUN Creation Example, HTTP Request, Table 69 VLUN Creation Error Codes
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 71 highlights
Table 69 VLUN Creation Error Codes (continued) API Error HTTP Code Description Since WSAPI 1.2. INV_INPUT 400 Bad Request Missing volumeName or LUN or both hostname and portPos members. Incomplete port info, specifying override option without hostname. NON_EXISTENT_VOL NON_EXISTENT_HOST NON_EXISTENT_PORT 404 Not found Specified volume does not exist. 404 Not found Specified hostname not found. 404 Not found Specified port does not exist. (Since WSAPI 1.2) MISSING_VLUN_EXPORT_INFO 400 Bad Request Missing both hostname and portPos for VLUN creation. BAD_PORT_TYPE 404 Not found Specified port is of invalid port type. EXISTENT_LUN 409 Conflict LUN already exists. INV_INPUT_PORT_SPECIFICATION 400 Bad Request Incorrect portPos specification or the node or slot or cardPort in portPos object maybe out of range. INV_INPUT_PARAM_CONFLICT 400 Bad Request OverrideLowerPriority is being specified without hostname. TOO_LARGE 400 Bad Request LUN is greater than 16384. AUTO_LUN_ID_UNAVAILABLE 409 Conflict LUN ID cannot be assigned within the specified range. (Since WSAPI 1.2) LUN_HOSTPERSONA_CONFLICT LUN_HOSTPERSONA_CONFLICT 409 Conflict LUN number and the host persona capability conflict. (Since WSAPI 1.2) INV_OPERATION_VLUN_PCOPY_TARGET_VV 409 Conflict Volume is a target of physical copy. VLUN Creation Example The following example creates a matched VLUN type template for test_vv02 volume. HTTP Request POST /api/v1/vluns HTTP/1.1 Host: storsys1.example.com:8080 Accept: application/json Content-Type: application/json X-HP3PAR-WSAPI-SessionKey: 2-33fe8891e288b34b3f914410e7cc7907-a93d1c50 { "volumeName":"test_vv02", "lun":252, "hostname":"mysystem", "portPos":{ "node": 2, "slot": 2, "cardPort": 4 }, "noVcn":false, Creating a VLUN 71