HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 65

Querying All Ports, All-ports Query Success

Page 65 highlights

Table 58 Port portProtocol Enumeration Symbol FC Value 1 iSCSI 2 FCOE 3 IP 4 SAS 5 Description Fibre Channel. (Since WSAPI 1.2) iSCSI. (Since WSAPI 1.2) Fibre Channel over Ethernet (Since WSAPI 1.2) Internet Protocol (Remote Copy) (Since WSAPI 1.2) Serial-attached SCSI. (Since WSAPI 1.2) The HP 3PAR OS API server returns port failover state enumeration as shown in Table 59 (page 65). Table 59 Port portFailOverState Enumeration Symbol NONE Value 1 Description No failover in operation. (Since WSAPI 1.2) FAILOVER_PENDING 2 In the process of failing over to partner. (Since WSAPI 1.2) FAILED_OVER 3 Failed over to partner. (Since WSAPI 1.2) ACTIVE 4 The partner port is failed over to this port. (Since WSAPI 1.2) ACTIVE_DOWN 5 ACTIVE_FAILED 6 (Since WSAPI 1.2) The partner port is failed over to this port, but this port is down. (Since WSAPI 1.2) FAILBACK_PENDING 7 In the process of failing back from partner. (Since WSAPI 1.2) Querying All Ports To query port information, use the HTTP GET method in the URI, with no message body: https://:8080/api/v1/ports All-ports Query Success Unless an error occurs, the response includes a message body as specified in Table 60 (page 66). Querying All Ports 65

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

Table 58 Port
portProtocol
Enumeration
Description
Value
Symbol
Fibre Channel.
1
FC
(Since WSAPI 1.2)
iSCSI.
2
iSCSI
(Since WSAPI 1.2)
Fibre Channel over Ethernet
3
FCOE
(Since WSAPI 1.2)
Internet Protocol (Remote Copy)
4
IP
(Since WSAPI 1.2)
Serial-attached SCSI.
5
SAS
(Since WSAPI 1.2)
The HP 3PAR OS API server returns port failover state enumeration as shown in
Table 59 (page
65)
.
Table 59 Port
portFailOverState
Enumeration
Description
Value
Symbol
No failover in operation.
1
NONE
(Since WSAPI 1.2)
In the process of failing over to partner.
2
FAILOVER_PENDING
(Since WSAPI 1.2)
Failed over to partner.
3
FAILED_OVER
(Since WSAPI 1.2)
The partner port is failed over to this
port.
4
ACTIVE
(Since WSAPI 1.2)
(Since WSAPI 1.2)
5
ACTIVE_DOWN
The partner port is failed over to this
port, but this port is down.
6
ACTIVE_FAILED
(Since WSAPI 1.2)
In the process of failing back from
partner.
7
FAILBACK_PENDING
(Since WSAPI 1.2)
Querying All Ports
To query port information, use the HTTP GET method in the URI, with no message body:
https://
<storage system>
:8080/api/v1/ports
All-ports Query Success
Unless an error occurs, the response includes a message body as specified in
Table 60 (page 66)
.
Querying All Ports
65