On Apr 16, Harsh Ailani <harsh.ailani@ibm.com> wrote:
Hello team,
In one of our customer requirements we came across a use-case to move a volume from one group to another directly. Currently user needs to first remove the volume from the current group and add it to the new group.
Wanted to know, if there is one direct cinder API or method to directly move the volume from one group to another ?
Here [1] is the current documentation for our API, the closest thing we have to what you're asking about looks to be [2] the update group method, but that acts on one specific group. You could wrap two group updates to achieve what you need, perhaps. Hopefully this is a good starting point. [1] https://docs.openstack.org/api-ref/block-storage/v3/ [2] https://docs.openstack.org/api-ref/block-storage/v3/#update-group -- Jon