HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 67
All-ports Query Errors, Querying A Single Port
View all HP 3PAR StoreServ 7450 4-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 67 highlights
Table 61 Port Property JSON Objects (continued) Member JSON Type API Type failoverState IPAddr number string iSCSIName string enodeMACAddr pfcMask string string portFailoverState Enum string Name223 MAC Hex Description :: format. (Since WSAPI 1.2) (Since WSAPI 1.2) For RCIP and iSCSI ports only; not included in the JSON object for other ports. (Since WSAPI 1.2) For iSCSI port only; not included in the JSON object for other ports. (Since WSAPI 1.2) Ethernet node MAC address. PFC mask. All-ports Query Errors The INT_SERV_ERR might be returned upon querying all volumes. For details about this error code, see Table 5 (page 17). For generic API error codes, see Table 5 (page 17). Querying A Single Port To query port information for a single instance, use the HTTP GET method in the URI, with no message body, where is the port :: value: https://:8080/api/v1/ports/ Single-port Query Success Upon success, the HTTP code 200 OK is returned. Unless an internal server error occurs, the response includes a message body as specified in Table 62 (page 67). Table 62 Port Collection Message Body for a Single-port Query JSON Type object API Type Port Property object Description Storage port properties. (Since WSAPI 1.2) Single-port Query Errors Possible errors for a single-port query response are shown in Table 63 (page 67). For generic API error codes, see Table 5 (page 17). Table 63 Single-port Query Error Codes API Code HTTP Code INV_INPUT_PORT_SPECIFICATION 400 Bad Request Description Incorrect port specification. (Since WSAPI 1.2) NON_EXISTENT_PORT 404 Not Found Port does not exist. (Since WSAPI 1.2) Querying A Single Port 67