Resource /webmapi/luns/bulk/actionExpand | Collapse

APIs for logical storage volumes

Map multiple LUN instances to initiator groups
Description

Map multiple LUN instances to initiator groups

HTTP Example

PUT /webmapi/luns/bulk/action/map

Input

Pass input arguments in BulkType<LunMapInputType>

Output

Reports successful result in ResponseContentType<BulkResultType<LunMapOutputType>>

Errors

Reports bulk errors in ResponseContentType<BulkResultType<BulkItemErrorType>>

Error KeyError CodeError Description
LUN_MAP_LUN_NOT_FOUND27004LUN not found.
LUN_MAP_IGROUP_NOT_FOUND27005Initiator group not found.
LUN_MAP_LUN_ID_OUT_OF_RANGE27006Specified LUN ID is out of range (0 - 4095).
LUN_MAP_LUN_ALREADY_MAPPED_TO_IGROUP27007LUN is already mapped to the initiator group.
LUN_MAP_LUN_ID_IN_USE27008LUN ID is already used by this initiator group.
LUN_MAP_LUN_ALREADY_MAPPED27009Specified LUN is already mapped to an initiator(s) in the initiator group via another initiator group.
LUN_MAP_LUN_ID_COULD_NOT_BE_SELECTED27010Could not find an available LUN ID from 0-4095 to use -- all have been taken by initiators in the initiator group.
LUN_MAP_LUN_MAP_LIMIT_EXCEEDED27011LUN already mapped to the maximum number of initiator groups.
LUN_MAP_DISCARDED27014Internal error occurred and the operation was discarded. This is usually a transient error.
LUN_MAP_LUN_ID_IN_USE_VIA_OTHER_IGROUP27072Specified LUN ID is already used by an initiator(s) in the initiator group via another initiator group.

Additional errors specific to bulk requests include the following:

Error KeyError Description
WEBUI_WEBAPI_ERROR_INVALID_REQ_BULKRequest has invalid bulk input.
WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_COUNTRequest has incorrect bulk item count {0}.
WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_OVERLIMITRequest bulk input is over limit: count={0} and limit={1}.
WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_NONUNIQUE_OPERATION_IDBulk request contains non-unique operation identifier: {0}.
WEBUI_WEBAPI_ERROR_BULK_PARTIALFAILEDSome bulk operations are failed.
WEBUI_WEBAPI_ERROR_BULK_ALLFAILEDAll bulk operations have failed.
WEBUI_WEBAPI_ERROR_BULK_MISMATCHCOUNTBulk result count does not match bulk item count.
Produces

application/json

Consumes

application/json

Since

1.0

Un-map multiple LUN instances from initiator groups
Description

Un-map multiple LUN instances from initiator groups

HTTP Example

PUT /webmapi/luns/bulk/action/unmap

Input

Pass input arguments in BulkType<LunUnmapInputType>

Output

Reports successful result in ResponseContentType<BulkResultBooleanType>

Errors

Reports bulk errors in ResponseContentType<BulkResultType<BulkItemErrorType>>

Error KeyError CodeError Description
LUN_UNMAP_LUN_NOT_FOUND27054LUN not found.
LUN_UNMAP_IGROUP_NOT_FOUND27055Initiator group not found.
LUN_UNMAP_LUN_NOT_MAPPED_TO_IGROUP27056LUN is not mapped to the specified initiator group.
LUN_UNMAP_BAD_PARAMS27057Internal parameter translation failed.
LUN_UNMAP_DISCARDED27058Internal error occurred and the operation was discarded. This is usually a transient error.

Additional errors specific to bulk requests include the following:

Error KeyError Description
WEBUI_WEBAPI_ERROR_INVALID_REQ_BULKRequest has invalid bulk input.
WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_COUNTRequest has incorrect bulk item count {0}.
WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_OVERLIMITRequest bulk input is over limit: count={0} and limit={1}.
WEBUI_WEBAPI_ERROR_INVALID_REQ_BULK_NONUNIQUE_OPERATION_IDBulk request contains non-unique operation identifier: {0}.
WEBUI_WEBAPI_ERROR_BULK_PARTIALFAILEDSome bulk operations are failed.
WEBUI_WEBAPI_ERROR_BULK_ALLFAILEDAll bulk operations have failed.
WEBUI_WEBAPI_ERROR_BULK_MISMATCHCOUNTBulk result count does not match bulk item count.
Produces

application/json

Consumes

application/json

Since

1.0