Assigning parity groups to a CLPR

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The following request assigns parity groups to a CLPR. You can use this API function to assign parity groups to a created CLPR or to move an already assigned parity group to a different CLPR.

Execution permission

Storage Administrator (System Resource Management)

Request line

POST base-URL/v1/objects/parity-groups/object-ID/actions/assign-clpr/invoke

Request message

Object ID

Specify the value of parityGroupId that was obtained by the processing to get information about parity groups.

Attribute

Type

Description

parityGroupId

string

(Required) Parity group number

Specify concatenated parity groups in the same way.

For 1-3-1, 1-3-2, and 1-3-3 concatenated parity groups, specify as follows:

"parityGroupId":"1-3"
Query parameters
None.
Body
{
  "parameters": {
    "clprId": 2
  }
}

Attribute

Type

Description

clprId

int

(Required) CLPR ID of the CLPR to which the parity group is to be assigned

Specify a decimal (base 10) number in the range from 0 to 31.

Response message

Body

A job object is returned. For details on attributes other than affectedResources, see the description of job objects.

Attribute

Description

affectedResources

URL of the parity group that was assigned to the CLPR

Action template

GET base-URL/v1/objects/parity-groups/object-ID/actions/assign-clpr

Status codes

For details on the status codes of the request for this operation, see the description of 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/parity-groups/1-1/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/parity-groups/1-1/actions/assign-clpr/invoke