HP 3PAR Web Service API 1.3.1 Developer's Guide

7 Working with Ports and Switches
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 63 (page 82).
The HP 3PAR OS API server returns the port mode enumeration, as shown in Table 75 (page 91).
Table 75 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 76 (page
91).
Table 76 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 91