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
The HP 3PAR OS API server returns the port mode enumeration, as shown in
Table 55 Port portMode Enumeration
Symbol
SUSPENDED
TARGET
INITIATOR
PEER
The HP 3PAR OS API server returns the port link state enumeration, as shown in
63).
Table 56 Port portLinkState Enumeration
Symbol
CONFIG_WAIT
ALPA_WAIT
LOGIN_WAIT
READY
LOSS_SYNC
ERROR_STATE
XXX
NONPARTICIPATE
Value
1
2
3
4
Value
1
2
3
4
5
6
7
8
Table 52 (page
Table 55 (page
Description
Target port that has yet to be initialized
by the system.
(Since WSAPI 1.2)
Target port connects to hosts or fabric.
(Since WSAPI 1.2)
Initiator port connects to disks.
(Since WSAPI 1.2)
Peer port is an ethernet port used for
remote copy.
(Since WSAPI 1.2)
Description
Configuration wait.
(Since WSAPI 1.2)
ALPA wait.
(Since WSAPI 1.2)
Login wait.
(Since WSAPI 1.2)
Link is ready.
(Since WSAPI 1.2)
Link is loss sync.
(Since WSAPI 1.2)
In error state.
(Since WSAPI 1.2)
xxx
(Since WSAPI 1.2)
Link did not participate.
(Since WSAPI 1.2)
Port Configuration and Enumeration Objects
61).
63).
Table 56 (page
63