HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 56 (page 77) shows the enumeration for the hostPersona JSON object.
Table 56 Host hostPersona Enumeration
ValueSymbol
1GENERIC
2GENERIC_ALUA
3GENERIC_LEGACY
4HPUX_LEGACY
5AIX_LEGACY
6EGENERA
7ONTAP_LEGACY
8VMWARE
9OPENVMS
10HPUX
11WindowsServer
For details about persona capabilities, see the HP 3PAR Command Line Interface Administrator’s
Guide
To obtain these documents, go to the HP 3PAR StoreServ Storage site and click the following HP
website and click the Support link for your product:
HP 3PAR StoreServ Storage
Host Modification Success
Upon successful modification of a host, the HTTP code 200 OK is returned, and there is no message
body. The URI of the updated host will be returned in the location portion of the response header:
/api/v1/hosts/<host_name>
Host Modification Errors
Possible error codes following a host modification request are shown in Table 57 (page 77). For
generic API error codes, see Table 5 (page 22).
Table 57 Host Modification Error Codes
DescriptionHTTP CodeAPI Error
Missing host name.400 Bad RequestINV_INPUT
If pathOperation is specified, then
the following descriptors cannot be
specified:
400 Bad RequestINV_INPUT_PARAM_CONFLICT
newName
persona
chapOperation
If chapOperation is specified, then
the following descriptors cannot be
specified:
newName
persona
pathOperation
Modifying a Host 77