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

Table 60 Message Body JSON Objects for Port Collection, Table 61, JSON Objects, Port Property

Page 66 highlights

Table 60 Message Body JSON Objects for Port Collection Member Total JSON Type number API Type int32 Description Number of port objects returned. (Since WSAPI 1.2) members array of objects array of Port Property Storage port properties. objects (Since WSAPI 1.2) The total is the number of objects in the collection. The members object is a JSON array of zero or more JSON objects, one object for each port on the system. These objects are described in Table 61 (page 66). Table 61 Port Property JSON Objects Member portPos JSON Type object API Type portPos object Description Port n:s:p. (Since WSAPI 1.2) mode number portMode Enum Port mode. (Since WSAPI 1.2) linkState number portLinkState Enum Port link state. (Since WSAPI 1.2) nodeWWN string WWN Node WWN that is unique across all ports. (Since WSAPI 1.2) portWWN string WWN Port WWN for FCoE and FC ports. Not included in JSON for other ports. (Since WSAPI 1.2) type number portConnType Enum Port connection type. (Since WSAPI 1.2) HWAddr protocol string number MAC portProtocol Enum Hardware address for RCIP and iSCSI ports. Not included in JSON for other ports. (Since WSAPI 1.2) label string String Configurable, human-readable label identifying the HBA port. Maximum length is 15 characters. (Since WSAPI 1.2) device array of string Array of name31 Array of device name (cage0, host1, etc.) of the device connected to the port. (Since WSAPI 1.2) partnerPos object portPos object Location of failover partner port in 66 Working with Ports

  • 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 60 Message Body JSON Objects for Port Collection
Description
API Type
JSON Type
Member
Number of port objects
returned.
int32
number
Total
(Since WSAPI 1.2)
Storage port properties.
array of
Port Property
objects
array of objects
members
(Since WSAPI 1.2)
The total is the number of objects in the collection. The
members
object is a JSON array of zero
or more JSON objects, one object for each port on the system. These objects are described in
Table 61 (page 66)
.
Table 61
Port Property
JSON Objects
Description
API Type
JSON Type
Member
Port n:s:p.
portPos object
object
portPos
(Since WSAPI 1.2)
Port mode.
portMode Enum
number
mode
(Since WSAPI 1.2)
Port link state.
portLinkState Enum
number
linkState
(Since WSAPI 1.2)
Node WWN that is unique
across all ports.
WWN
string
nodeWWN
(Since WSAPI 1.2)
Port WWN for FCoE and FC
ports. Not included in JSON
for other ports.
WWN
string
portWWN
(Since WSAPI 1.2)
Port connection type.
portConnType Enum
number
type
(Since WSAPI 1.2)
Hardware address for RCIP
and iSCSI ports. Not
MAC
string
HWAddr
included in JSON for other
ports.
(Since WSAPI 1.2)
portProtocol Enum
number
protocol
Configurable,
human-readable label
String
string
label
identifying the HBA port.
Maximum length is 15
characters.
(Since WSAPI 1.2)
Array of device name
(cage0, host1, etc.) of the
device connected to the port.
Array of name31
array of string
device
(Since WSAPI 1.2)
Location of failover partner
port in
portPos object
object
partnerPos
66
Working with Ports