Add volume type support

Registered by Aleksandr Chirko on 2014-02-19

Add multiple backend support to Manila. User will be able to list enabled share services and info about them - host on which share service is running, backend name, service status (UP or DOWN). Using this data user will be able to define 'types' (volume types), which is an abstraction over backend name. User will specify volume type on share creation, and this way will be able to choose particular backend (or share service) for a share.

Blueprint information

Status:
Complete
Approver:
Ben Swartzlander
Priority:
High
Drafter:
Aleksandr Chirko
Direction:
Approved
Assignee:
Aleksandr Chirko
Definition:
Discussion
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon juno-1
Started by
Aleksandr Chirko on 2014-02-19
Completed by
Ben Swartzlander on 2014-05-29

Related branches

Sprints

Whiteboard

Implementation outline
https://docs.google.com/document/d/1A3Ee4btvTB7FysvhACFbGXK_ef3_jLF579nZMzSY4Pw/edit?usp=sharing

(bswartz) I would like to see a little more detail here but the general direction is approved. When in doubt I would like to follow the cinder implementation as closely as possible. Where not possible we should bring up the issues for discussion with the core team.

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

Addressed by: https://review.openstack.org/88282
    Added API to manage volume types

Addressed by: https://review.openstack.org/89558
    Retrieve share_backend name from config on get_share_stats

Addressed by: https://review.openstack.org/87975
    Added volume_types to DB

(vponomaryov): main volume-type functionality is implemented. Need to update BP as "complited."

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.