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
DescriptionValueSymbol
Target port that has yet to be initialized
by the system.
1SUSPENDED
(Since WSAPI 1.2)
Target port connects to hosts or fabric.2TARGET
(Since WSAPI 1.2)
Initiator port connects to disks.3INITIATOR
(Since WSAPI 1.2)
Peer port is an ethernet port used for
remote copy.
4PEER
(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
DescriptionValueSymbol
Configuration wait.1CONFIG_WAIT
(Since WSAPI 1.2)
ALPA wait.2ALPA_WAIT
(Since WSAPI 1.2)
Login wait.3LOGIN_WAIT
(Since WSAPI 1.2)
Link is ready.4READY
(Since WSAPI 1.2)
Link is loss sync.5LOSS_SYNC
(Since WSAPI 1.2)
In error state.6ERROR_STATE
(Since WSAPI 1.2)
xxx7XXX
(Since WSAPI 1.2)
Link did not participate.8NONPARTICIPATE
(Since WSAPI 1.2)
Port Configuration and Enumeration Objects 63