Support volume v2

Registered by Steve Martinelli on 2014-08-03

Currently openstackclient only supports v1 volume / cinder type commands.
Devstack currently defaults to v2. We should probably have some v2 support.

Blueprint information

Status:
Complete
Approver:
Steve Martinelli
Priority:
Medium
Drafter:
Steve Martinelli
Direction:
Approved
Assignee:
Amey Bhide
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Steve Martinelli on 2015-05-29
Completed by
Amey Bhide on 2015-08-26

Related branches

Sprints

Whiteboard

Proposed objects:
- backup
- qos_specs
- snapshot
- volume
- volume type

Proposed actions
- backup [ create | delete | list | restore | show ]
- snapshot [create | delete | list | set | show | unset ]
- qos_specs [associate| create | disassociate | delete | list | set | show | unset ]
- volume [delete | show| create | list | set | unset]
- volume type [ create | delete | list | show | set | unset ]

This will get parity with v1 for now.

Gerrit topic: https://review.openstack.org/#q,topic:bp/volume-v2,n,z

Addressed by: https://review.openstack.org/186612
    Add support for volume v2 API

Addressed by: https://review.openstack.org/187480
    WIP: Add volume v2 commands

Addressed by: https://review.openstack.org/188257
    Add support for volume snapshot v2 command

Addressed by: https://review.openstack.org/188635
    Add support for volume backup v2 command

Gerrit topic: https://review.openstack.org/#q,topic:add_feature_command,n,z

Addressed by: https://review.openstack.org/202934
    Add create and list for volume type v2

Addressed by: https://review.openstack.org/204325
    Add list feature to volume v2

Addressed by: https://review.openstack.org/204364
    Add set feature to volume type v2

[abhide] Marking this as implemented; we have completed adding all the required commands and Cinder V2 API is enabled by default. Thanks!

(?)

Work Items

Work items:
backup create: DONE
backup delete: DONE
backup list: DONE
backup restore: DONE
backup show: DONE
snapshot create: DONE
snapshot delete: DONE
snapshot list: DONE
snapshot set: DONE
snapshot show: DONE
snapshot unset: DONE
qos_specs associate: DONE
qos_specs create: DONE
qos_specs disassociate: DONE
qos_specs delete: DONE
qos_specs list: DONE
qos_specs set: DONE
qos_specs show: DONE
qos_specs unset: DONE
volume delete: DONE
volume show: DONE
volume create: DONE
volume list: DONE
volume set: DONE
volume unset: DONE
volume type create: DONE
volume type delete: DONE
volume type list: DONE
volume type show: DONE
volume type set: DONE
volume type unset: DONE

This blueprint contains Public information 
Everyone can see this information.