HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 54
Modifying a Host, <storage system>, <host name>
View all HP 3PAR StoreServ 7450 4-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 54 highlights
Modifying a Host Modify a host using the HTTP POST method. Use the following URI: https://:8080/api/v1/hosts/ NOTE: Any user with Super or Edit role, or any role granted the host_set right, can perform this operation. Access to all domains is required for this operation. Table 42 (page 54) shows the members that the message body can include to make a host-modification request. Table 42 Message Body JSON Objects for Host Modification Request Member newName JSON Type string API Type name31 Ignored Values Null Description New name of the host (Since WSAPI 1.2) pathOperation number hostEditOperation Enum Zero and negative values If adding, adds the WWN or iSCSI name to the existing host. If removing, removes the WWN or iSCSI names from the existing host. (Since WSAPI 1.2) FCWWNs array of string WWN Null One or more WWN to set for the host. (Since WSAPI 1.2) iSCSINames array of string name223 Null One or more iSCSI names to set for the host. (Since WSAPI 1.2) forcePathRemoval Boolean None If True, Remove WWN(s) or iSCSI(s) even if there are VLUNs exported to the host. (Since WSAPI 1.2) persona number hostPersona Enum Zero and negative values The ID of the persona to modify the host's persona to. (Since WSAPI 1.2) descriptors HostDescriptors descriptors object Null The description of the host. (Since WSAPI 1.2) chapOperation number hostEditOperation Enum Zero and negative values Add or remove. (Since WSAPI 1.2) chapOperationMode number hostChapOperationModeEnum Zero and negative values Initiator or target. (Since WSAPI 1.2) chapName string Name223 Null The chap name. (Since WSAPI 1.2) 54 Working with Hosts