Support volume_type as a BDM parameter when boot instances

Registered by Zhenyu Zheng

Currently when creating a new instance, user can call Nova API alongside
with "block_device_mapping_v2" which includes desired parameters like
" source_type, destination_type, volume_size " defined, to request nova
interacting with cinder to create a new volume and attach that volume to
the new instance.

However, the only volume property can be set by the user in the above
mentioned api is volume_size. On contrast, in cinder "create volume" api,
user can set both volume size and volume_type which is always used to
define the volume SLA/QoS. Therefore it is better for nova api to be
aligned with Cinder on this feature so that user can define the volume
SLA/QoS level when creating a volume associated with a given instance.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Not
Drafter:
Zhenyu Zheng
Direction:
Needs approval
Assignee:
Zhenyu Zheng
Definition:
Obsolete
Series goal:
None
Implementation:
Not started
Milestone target:
None
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-volume-type-when-boot-instances,n,z

Addressed by: https://review.openstack.org/362698
    Support volume_type as a BDM parameter when boot instances (spec)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.