Skip to content

Commit

Permalink
volumegroup: the CREATE_DELETE_VOLUME_GROUP does not exist
Browse files Browse the repository at this point in the history
The `CreateVolumeGroup` procedure refers to the
`CREATE_DELETE_VOLUME_GROUP` capability, but that does not seem to
exist. Instead, use the `VOLUME_GROUP` capability to indicate that the
plugin support the `CreateVolumeGroup` and `DeleteVolumeGroup`
procedures.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
  • Loading branch information
nixpanic authored and mergify[bot] committed Jul 9, 2024
1 parent 0dd74d5 commit 12dd215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions volumegroup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ service Controller {

#### `CreateVolumeGroup`

A Controller Plugin MUST implement this RPC call if it has `CREATE_DELETE_VOLUME_GROUP` controller capability.
A Controller Plugin MUST implement this RPC call if it has `VOLUME_GROUP` controller capability.

This RPC will be called by the CO to create a new volume group on behalf of a user. This operation MUST be idempotent.
If a volume group corresponding to the specified volume group name already exists, is compatible with the specified
Expand Down Expand Up @@ -124,7 +124,7 @@ CO MUST implement the specified error recovery behavior when it encounters the g

#### `DeleteVolumeGroup`

A Controller Plugin MUST implement this RPC call if it has `CREATE_DELETE_VOLUME_GROUP` capability.
A Controller Plugin MUST implement this RPC call if it has `VOLUME_GROUP` capability.

This RPC will be called by the CO to delete a volume group on behalf of a user. This operation MUST be idempotent.

Expand Down

0 comments on commit 12dd215

Please sign in to comment.