Adding snapshot scneario

Change-Id: Ie2b7558b3f8fdf797aea02899bc6f1b39d33c74d
This commit is contained in:
Joe Talerico 2016-06-08 15:33:35 -04:00
parent f5ff09182c
commit c838c61ba2
3 changed files with 47 additions and 0 deletions

View File

@ -180,6 +180,11 @@ rally:
- 96
times: 128
scenarios:
- name: boot-snapshot-delete
enabled: true
file: rally/nova/nova-boot-snapshot-cc.yml
image_name: cirros
flavor_name: m1.tiny
- name: boot-list-centos
enabled: true
file: rally/nova/nova-boot-list-cc.yml

View File

@ -176,6 +176,11 @@ rally:
- 8
times: 10
scenarios:
- name: boot-snapshot-delete
enabled: true
file: rally/nova/nova-boot-snapshot-cc.yml
image_name: cirros
flavor_name: m1.tiny
- name: boot-list-centos
enabled: false
file: rally/nova/nova-boot-list-cc.yml

View File

@ -0,0 +1,37 @@
{% set image_name = image_name or "centos7" %}
{% set flavor_name = flavor_name or "m1.small" %}
{% 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 %}
---
NovaServers.snapshot_server:
-
args:
flavor:
name: "{{flavor_name}}"
image:
name: "{{image_name}}"
force_delete: false
detailed: true
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
neutron:
network: -1
port: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}