HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 52
Working with Hosts, Creating a Host, Host Creation Success
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 52 highlights
5 Working with Hosts This chapter describes how to manage hosts. The sections apply to creation, modification, removal, and query operations on hosts. Creating a Host Create a host using the HTTP POST method. Use the following URI: https://:8080/api/v1/hosts Table 40 (page 52) shows the members that the message body can include. NOTE: Any user with Super or Edit role, or any role granted the host_create right, can perform this operation. Access to all domains is required for this operation. Table 40 Message Body JSON Objects for Host Creation Member name JSON Type string Value Range name31 Mandatory Yes Ignored Values Null Description Specifies the name of the host. (Since WSAPI 1.2) persona number HostPersona Enum No Zero and negative ID of the persona values to assign to the host. (Since WSAPI 1.2) FCWWNs array of string WWN No Null One or more WWN to set for the host. (Since WSAPI 1.2) iSCSINames array of string name223 No Null One or more iSCSI names to set for the host. (Since WSAPI 1.2) domain string name31 No Null Create the host in the specified domain, or default domain if unspecified. (Since WSAPI 1.2) forceTearDown Boolean No None If True, force to tear down low-priority VLUN exports. (Since WSAPI 1.2) descriptors HostDescriptors descriptors object No Null See HostDescriptors. (Since WSAPI 1.2) When creating a host, the name is required. Other members are optional. Host Creation Success Upon successful creation of the host, the location portion of the response header contains the URI for the newly created host in the following format: 52 Working with Hosts