The following request assigns LDEVs to
a CLPR. You can use this API function to assign LDEVs to a created CLPR or to move an already
assigned LDEV to a different CLPR.
Note:
If you want to assign external volumes to a CLPR, see the description of how to assign external parity groups to a CLPR.
Execution permission
Storage Administrator (System Resource Management)
Request line
POST base-URL/v1/objects/ldevs/object-ID/actions/assign-clpr/invoke
Request message
Response message
Action template
GET base-URL/v1/objects/ldevs/object-ID/actions/assign-clpr
Status codes
For details on the status codes of the request for this operation, see the description on HTTP status codes.
Coding example
To get an action template:
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X GET https://192.0.2.100/ConfigurationManager/v1/objects/ldevs/100/actions/assign-clpr
To run the request after getting an action template:
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X POST --data-binary @./InputParameters.json https://192.0.2.100/ConfigurationManager/v1/objects/ldevs/100/actions/assign-clpr/invoke