All-Ports Query Errors; Querying A Single Port; Single-Port Query Success; Single-Port Query Errors - HP 3PAR StoreServ 7200 2-node Manual

Hp 3par web service api 1.2 developer's guide (qr482-96192, june 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

Table 61 Port Property JSON Objects (continued)
Member
failoverState
IPAddr
iSCSIName
enodeMACAddr
pfcMask

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

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 <n:s:p> is the port <node>:<slot>:<port> value:
https://<storage system>:8080/api/v1/ports/<n:s:p>

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
Table 62 Port Collection Message Body for a Single-port Query
JSON Type
object

Single-port Query Errors

Possible errors for a single-port query response are shown in
error codes, see
Table 63 Single-port Query Error Codes
API Code
INV_INPUT_PORT_SPECIFICATION
NON_EXISTENT_PORT
JSON Type
number
string
string
string
string
17). For generic API error codes, see
67).
API Type
Port Property object
Table 5 (page
17).
HTTP Code
400 Bad Request
404 Not Found
API Type
portFailoverState Enum
string
Name223
MAC
Hex
Table 5 (page
Description
Storage port properties.
(Since WSAPI 1.2)
Table 63 (page
Description
Incorrect port specification.
(Since WSAPI 1.2)
Port does not exist.
(Since WSAPI 1.2)
Description
<Node>:<Slot>:<Port>
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.
17).
67). For generic API
Querying A Single Port
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents