Merge "Add new cinder scenarios for rally sanity/full"
authorCedric Ollivier <cedric.ollivier@orange.com>
Sun, 5 Nov 2017 13:34:11 +0000 (13:34 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Sun, 5 Nov 2017 13:34:11 +0000 (13:34 +0000)
functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-cinder.yaml

index d5c2fa6..87fae11 100644 (file)
         {{ 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() }}
index 5962b1d..8323580 100644 (file)
         {{ 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() }}