HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 53
Host Creation Errors, Table 41 Host 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 53 highlights
/api/v1/hosts/ For example: URL: https://:8080/api/v1/hosts Post: {"name":"apitesthost","persona":5} Response: HTTP/1.1 201 Created with with the location header: /api/v1/hosts/apitesthost Host Creation Errors Table 41 (page 53) shows possible host creation errors. For generic API error codes, see Table 5 (page 17). Table 41 Host Creation Error Codes API Error PERM_DENIED INV_INPUT_MISSING_REQUIRED HTTP Code 403 Forbidden 400 Bad Request Description Permission denied. Name not specified. (Since WSAPI 1.2) INV_INPUT_PARAM_CONFLICT 400 Bad Request FCWWNs and iSCSINames are both specified. (Since WSAPI 1.2) INV_INPUT_EXCEEDS_LENGTH 400 Bad Request Host name, domain name, or iSCSI name is too long. (Since WSAPI 1.2) INV_INPUT_EMPTY_STR 400 Bad Request Input string (for domain name, iSCSI name, etc.) is empty. (Since WSAPI 1.2) INV_INPUT_ILLEGAL_CHAR 400 Bad Request Any error from host-name or domain-name parsing. (Since WSAPI 1.2) INV_INPUT_TOO_MANY_WWN_OR_iSCSI 400 Bad Request More than 1024 WWNs or iSCSI names are specified. (Since WSAPI 1.2) INV_INPUT_WRONG_TYPE 400 Bad Request The length of WWN is not 16. WWN specification contains non-hexadecimal digit. (Since WSAPI 1.2) EXISTENT_PATH 409 Conflict iSCSI name or WWN is already claimed by other host. (Since WSAPI 1.2) EXISTENT_HOST 409 Conflict host name is already used. (Since WSAPI 1.2) NO_SPACE 400 Bad Request No space to create host. Creating a Host 53