Resource /webmapi/luns/bulkExpand | Collapse

APIs for logical storage volumes

Create multiple LUN instances
Description

Create multiple LUN instances

HTTP Example

POST /webmapi/luns/bulk

Input

Pass input arguments in BulkType<LunCreateInputType>

Output

Reports successful result in ResponseContentType<BulkResultType<UuidType>>

Errors

Reports bulk errors in ResponseContentType<BulkResultType<BulkItemErrorType>>

Error KeyError CodeError Description
LUN_CREATE_EXISTS_LUN27061Name specified for this LUN is already in use by an existing LUN.
LUN_CREATE_MAX_LUN_SIZE_EXCEEDED27064Size exceeds the maximum LUN size.
LUN_CREATE_MAX_LUN_COUNT_EXCEEDED27065Maximum LUN count has been exceeded.
LUN_CREATE_LUN_SIZE_TOO_SMALL27066Size is less than or equal to 0.
LUN_CREATE_DISCARDED27067Internal error occurred and the operation was discarded. This is usually a transient error.
LUN_CREATE_TOTAL_PROVISIONED_SPACE_EXCEEDED27080Creating this LUN would exceed the limit on provisioned space.

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

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