Validate_lun

POST v1/initiator_groups/id/actions/validate_lun

Description

Validate 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_in_use_lun

SM_invalid_arg_value

SM_invalid_path_variable

SM_invalid_query_param

SM_malformed_url

SM_missing_arg

SM_no_action_found

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
lun NsUnsignedLong number LU number to validate in decimal. Unsigned 64-bit integer. Example: 1234. true

JSON Request


            
           
           {
               "data": {
                   "vol_id": "0600000000000004d3000000000000000000000002",
                   "lun":0
               }
           }
           
       
         

Response

Type:

JSON Response


            
            
            {}