beautypg.com

B api error codes – HP MPX200 Multifunction Router User Manual

Page 112

background image

B API error codes

The retval command displays a description of a specified return value.

Table 4 (page 112)

describes the error codes that the API can return when parsing the retval command input or
producing command output.

NOTE:

Error codes that start with QAPI_E_ indicate a problem that prevented the command

from working.
Error codes that start with QAPI_S_ indicate that the command succeeded with the specified
warning.

Table 4 API error codes returned by the retval command

Description

Error

Could not broadcast to find routers.

QAPI_E_BROADCAST_FAILED

User-supplied buffer cannot hold all of the data to be
returned.

QAPI_E_BUFFER_TOO_SMALL

IP address supplied for adding as a local peer is the same
as this router.

QAPI_E_CANNOT_ADD_SELF_AS_LOCAL_PEER

Attempt to disable the first VP Group is not allowed.

QAPI_E_CANNOT_DISABLE_VPGROUP_1

Command not supported.

QAPI_E_CMD_NOT_SUPPORTED

Could not connect to router.

QAPI_E_CONNECTION_FAILED

Generic error.

QAPI_E_ERROR = 100

Failed security check.

QAPI_E_FAILED_SECURITY_CHECK

Feature already present.

QAPI_E_FEATURE_ALREADY_PRESENT

Feature key invalid.

QAPI_E_FEATURE_KEY_INVALID

Restore operation failed because the file could not read.

QAPI_E_FILE_READ_ERROR

Save operation failed because the file could not be written.

QAPI_E_FILE_WRITE_ERROR

Unable to open the specified image file for firmware
upgrade.

QAPI_E_FW_UPGRADE_FILE_OPEN_ERROR

Unable to read image data from the specified firmware
image file.

QAPI_E_FW_UPGRADE_FILE_READ_ERROR

Firmware upgrade not complete.

QAPI_E_FW_UPGRADE_NOT_COMPLETE

Get the iSNS error.

QAPI_E_GET_ISNS_ERROR

LUN access type must be in the valid range for
PLUNInfo::LUN_ACCESS_TYPE

.

QAPI_E_INVALID_ACCESS_TYPE

To use this API function, customers and VARs must obtain
an application ID from QLogic.

QAPI_E_INVALID_APPLICATION_ID

A management client has registered for exclusive access,
therefore a session handle is required. This error indicates

QAPI_E_INVALID_CLIENT_HANDLE

the session handle was not provided or that it is not valid.
If the session handle is no longer available, unregistration
can be forced.

The remote bridge already has the maximum number of
connections allowed.

QAPI_E_INVALID_CONNECTION_COUNT

Invalid data migration I/O size.

QAPI_E_INVALID_DM_IO_SIZE

112

API error codes