Add extra volume types to AIO

This change adds example volume types in AIO. It will allow tests to
enter code paths that create volume types and associate QoS specs.

Depends-On: https://review.openstack.org/617051
Change-Id: I0cb77b1958e586e35458368ec00f4f167d031923
(cherry picked from commit 80c7c23a68)
This commit is contained in:
Damian Cikowski 2018-04-13 18:33:54 +02:00
parent 983a324a3b
commit aae1435cb0
2 changed files with 28 additions and 1 deletions

View File

@ -69,7 +69,7 @@
- name: os_cinder
scm: git
src: https://git.openstack.org/openstack/openstack-ansible-os_cinder
version: 9cbee44cd3bd125835ab625a09217c7eba9007df
version: ad29e977369c676ae2e0026e2d92cb759770a823
- name: os_designate
scm: git
src: https://git.openstack.org/openstack/openstack-ansible-os_designate

View File

@ -2,6 +2,29 @@
storage-infra_hosts:
aio1:
ip: 172.29.236.100
container_vars:
cinder_qos_specs:
- name: low-iops
options:
consumer: front-end
read_iops_sec: 75
write_iops_sec: 75
cinder_volume_types:
- low-iops
- name: high-iops
options:
consumer: front-end
read_iops_sec: 150
write_iops_sec: 150
cinder_volume_types:
- high-iops
- name: ultra-high-iops
options:
consumer: front-end
read_iops_sec: 300
write_iops_sec: 300
cinder_volume_types:
- ultra-high-iops
storage_hosts:
aio1:
@ -15,3 +38,7 @@ storage_hosts:
volume_backend_name: LVM_iSCSI
iscsi_ip_address: "172.29.236.100"
lvm_type: "thin"
extra_volume_types:
- low-iops
- high-iops
- ultra-high-iops