Suggest_lun

POST v1/initiator_groups/id/actions/suggest_lun

Description

Suggest an LU number for the volume and initiator group combination.

Normal Response Codes

200

HTTP Error Codes

400 401 403 404 409 500 503

Detail Codes

SM_ebusy

SM_invalid_arg_value

SM_invalid_path_variable

SM_invalid_query_param

SM_malformed_url

SM_missing_arg

SM_no_action_found

SM_no_available_lun

SM_no_initiatorgrp

SM_no_method_for_URL_pattern

SM_no_operation_found

SM_no_path_found

SM_not_fc_initiatorgrp

SM_unexpected_arg

SM_unexpected_child

SM_unexpected_query_param

SM_version_name

Request

Parameter Type JSON Type Description Mandatory
id NsObjectID string ID of the initiator group. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true
vol_id NsObjectID string ID of the volume. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. false

JSON Request


            
           
           {
               "data": {
                   "vol_id": "0600000000000004d3000000000000000000000002"
               }
           }
           
       
         

Response

Type: NsLunReturn

Member Type JSON Type Description
lun NsUnsignedLong number LU number in hexadecimal. Unsigned 64-bit integer. Example: 1234.
lu_number NsUnsignedLong number LU number in decimal. Unsigned 64-bit integer. Example: 1234.

JSON Response


            
           
           {
               "data": {
                   "lun": "1"
                   "lu_number": "1"
               }
           }