aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuha Kosonen <juha.kosonen@nokia.com>2017-11-03 17:10:21 +0200
committerJuha Kosonen <juha.kosonen@nokia.com>2017-11-03 17:10:21 +0200
commit0041eb64a9b4077dfb06d64fb1700770018c5ccc (patch)
tree1d6e0708c23a2c208e8670d2d7714e64e338d27c
parent0ccc31406d486d2eebe347f3292a38573d470eb1 (diff)
Add new cinder scenarios for rally sanity/full
Included several CinderQos and CinderVolumeTypes scenarios introduced by the recent Rally version. Change-Id: Ibd2affa2e0d24ec79d3b4518456ca0f0457ace9f Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
-rw-r--r--functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml102
-rw-r--r--functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-cinder.yaml55
2 files changed, 157 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
index 5f46f5192..7840a294e 100644
--- a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
+++ b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
@@ -243,3 +243,105 @@
{{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
sla:
{{ no_failures_sla() }}
+
+ CinderQos.create_and_get_qos:
+ -
+ args:
+ consumer: "both"
+ write_iops_sec: "10"
+ read_iops_sec: "1000"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderQos.create_and_list_qos:
+ -
+ args:
+ consumer: "both"
+ write_iops_sec: "10"
+ read_iops_sec: "1000"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderQos.create_and_set_qos:
+ -
+ args:
+ consumer: "back-end"
+ write_iops_sec: "10"
+ read_iops_sec: "1000"
+ set_consumer: "both"
+ set_write_iops_sec: "11"
+ set_read_iops_sec: "1001"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderVolumeTypes.create_and_get_volume_type:
+ -
+ args:
+ description: "rally tests creating types"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderVolumeTypes.create_and_list_volume_types:
+ -
+ args:
+ description: "rally tests creating types"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderVolumeTypes.create_and_update_volume_type:
+ -
+ args:
+ description: "test"
+ update_description: "test update"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderVolumeTypes.create_volume_type_and_encryption_type:
+ -
+ args:
+ description: "rally tests creating types"
+ provider: "LuksEncryptor"
+ cipher: "aes-xts-plain64"
+ key_size: 512
+ control_location: "front-end"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderVolumeTypes.create_volume_type_add_and_list_type_access:
+ -
+ args:
+ description: "rally tests creating types"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
diff --git a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-cinder.yaml b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-cinder.yaml
index 5962b1db5..832358075 100644
--- a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-cinder.yaml
+++ b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-cinder.yaml
@@ -82,3 +82,58 @@
{{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
sla:
{{ no_failures_sla() }}
+
+ CinderQos.create_and_list_qos:
+ -
+ args:
+ consumer: "both"
+ write_iops_sec: "10"
+ read_iops_sec: "1000"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderQos.create_and_set_qos:
+ -
+ args:
+ consumer: "back-end"
+ write_iops_sec: "10"
+ read_iops_sec: "1000"
+ set_consumer: "both"
+ set_write_iops_sec: "11"
+ set_read_iops_sec: "1001"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderVolumeTypes.create_and_list_volume_types:
+ -
+ args:
+ description: "rally tests creating types"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ CinderVolumeTypes.create_volume_type_and_encryption_type:
+ -
+ args:
+ description: "rally tests creating types"
+ provider: "LuksEncryptor"
+ cipher: "aes-xts-plain64"
+ key_size: 512
+ control_location: "front-end"
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}