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

Working with Ports, Port Configuration and Enumeration Objects

Page 63 highlights

6 Working with Ports This section defines API operations on ports. Port Configuration and Enumeration Objects The following tables show enumeration and configuration objects that are used by VLUN operations. The Inform API server configuration object portPos is defined in Table 52 (page 61). The HP 3PAR OS API server returns the port mode enumeration, as shown in Table 55 (page 63). Table 55 Port portMode Enumeration Symbol SUSPENDED Value 1 Description Target port that has yet to be initialized by the system. (Since WSAPI 1.2) TARGET 2 Target port connects to hosts or fabric. (Since WSAPI 1.2) INITIATOR 3 Initiator port connects to disks. (Since WSAPI 1.2) PEER 4 Peer port is an ethernet port used for remote copy. (Since WSAPI 1.2) The HP 3PAR OS API server returns the port link state enumeration, as shown in Table 56 (page 63). Table 56 Port portLinkState Enumeration Symbol CONFIG_WAIT Value 1 Description Configuration wait. (Since WSAPI 1.2) ALPA_WAIT 2 ALPA wait. (Since WSAPI 1.2) LOGIN_WAIT 3 Login wait. (Since WSAPI 1.2) READY 4 Link is ready. (Since WSAPI 1.2) LOSS_SYNC 5 Link is loss sync. (Since WSAPI 1.2) ERROR_STATE 6 In error state. (Since WSAPI 1.2) XXX 7 xxx (Since WSAPI 1.2) NONPARTICIPATE 8 Link did not participate. (Since WSAPI 1.2) Port Configuration and Enumeration Objects 63

  • 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

6 Working with Ports
This section defines API operations on ports.
Port Configuration and Enumeration Objects
The following tables show enumeration and configuration objects that are used by VLUN operations.
The Inform API server configuration object
portPos
is defined in
Table 52 (page 61)
.
The HP 3PAR OS API server returns the port mode enumeration, as shown in
Table 55 (page 63)
.
Table 55 Port
portMode
Enumeration
Description
Value
Symbol
Target port that has yet to be initialized
by the system.
1
SUSPENDED
(Since WSAPI 1.2)
Target port connects to hosts or fabric.
2
TARGET
(Since WSAPI 1.2)
Initiator port connects to disks.
3
INITIATOR
(Since WSAPI 1.2)
Peer port is an ethernet port used for
remote copy.
4
PEER
(Since WSAPI 1.2)
The HP 3PAR OS API server returns the port link state enumeration, as shown in
Table 56 (page
63)
.
Table 56 Port
portLinkState
Enumeration
Description
Value
Symbol
Configuration wait.
1
CONFIG_WAIT
(Since WSAPI 1.2)
ALPA wait.
2
ALPA_WAIT
(Since WSAPI 1.2)
Login wait.
3
LOGIN_WAIT
(Since WSAPI 1.2)
Link is ready.
4
READY
(Since WSAPI 1.2)
Link is loss sync.
5
LOSS_SYNC
(Since WSAPI 1.2)
In error state.
6
ERROR_STATE
(Since WSAPI 1.2)
xxx
7
XXX
(Since WSAPI 1.2)
Link did not participate.
8
NONPARTICIPATE
(Since WSAPI 1.2)
Port Configuration and Enumeration Objects
63