Add more Cinder Scenarios

Change-Id: I5060f08169f72d79df00626f2baf3240f004e4f9
This commit is contained in:
Asma Syed Hameed 2020-02-10 19:16:06 +05:30
parent ebebb6ba98
commit d45e67c5d3
6 changed files with 112 additions and 2 deletions

View File

@ -104,6 +104,28 @@ workloads:
flavor_name: m1.tiny
sla_max_seconds: 30
sla_max_failure: 0
- name: create-and-list-snapshots
enabled: true
size: 1
file: rally/cinder/cinder-create-and-list-snapshots.yml
sla_max_seconds: 30
sla_max_failure: 0
- name: create-and-list-volume
enabled: true
size: 1
file: rally/cinder/cinder-create-and-list-volume.yml
sla_max_seconds: 30
sla_max_failure: 0
- name: create-and-update-volume
enabled: true
size: 1
file: rally/cinder/cinder-create-and-update-volume.yml
sla_max_seconds: 30
sla_max_failure: 0
- name: keystonebasic
enabled: true
type: rally

View File

@ -110,6 +110,21 @@ workloads:
flavor_name: m1.tiny
file: rally/cinder/cinder-create-and-attach-volume-cc.yml
- name: create-and-list-snapshots
enabled: true
size: 1
file: rally/cinder/cinder-create-and-list-snapshots.yml
- name: create-and-list-volume
enabled: true
size: 1
file: rally/cinder/cinder-create-and-list-volume.yml
- name: create-and-update-volume
enabled: true
size: 1
file: rally/cinder/cinder-create-and-update-volume.yml
- name: keystonebasic
enabled: true
type: rally

View File

@ -22,8 +22,8 @@
start_cidr: "10.0.0.0/16"
networks_per_tenant: 1
users:
tenants: 2
users_per_tenant: 2
tenants: 10
users_per_tenant: 20
quotas:
neutron:
network: -1

View File

@ -0,0 +1,25 @@
{% set size = size or 1 %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
CinderVolumes.create_and_list_snapshots:
-
args:
force: False
detailed: True
runner:
type: "constant"
times: {{ times }}
concurrency: {{ concurrency }}
context:
users:
tenants: 10
users_per_tenant: 20
volumes:
size: {{ size }}
sla:
max_avg_duration: {{ sla_max_avg_duration }}
max_seconds_per_iteration: {{ sla_max_seconds }}
failure_rate:
max: {{ sla_max_failure }}

View File

@ -0,0 +1,23 @@
{% set size = size or 1 %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
CinderVolumes.create_and_list_volume:
-
args:
size: {{ size }}
detailed: True
runner:
type: "constant"
times: {{ times }}
concurrency: {{ concurrency }}
context:
users:
tenants: 10
users_per_tenant: 20
sla:
max_avg_duration: {{ sla_max_avg_duration }}
max_seconds_per_iteration: {{ sla_max_seconds }}
failure_rate:
max: {{ sla_max_failure }}

View File

@ -0,0 +1,25 @@
{% set size = size or 1 %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
CinderVolumes.create_and_update_volume:
-
args:
update_volume_kwargs:
description: "desc_updated"
create_volume_kwargs: {}
size: {{ size }}
runner:
type: "constant"
times: {{ times }}
concurrency: {{ concurrency }}
context:
users:
tenants: 10
users_per_tenant: 20
sla:
max_avg_duration: {{ sla_max_avg_duration }}
max_seconds_per_iteration: {{ sla_max_seconds }}
failure_rate:
max: {{ sla_max_failure }}