browbeat/rally/nova/nova-boot-bounce-delete-cc.yml
Joe Talerico 71e683d5f9 Remove the need for netid for nova scenarios
Closes bug 1676676

Change-Id: Ieab4e1acf6164706c6f01dc67732dc3c05d20bde
2017-03-28 17:09:05 +00:00

44 lines
1.1 KiB
YAML

{% 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.boot_and_bounce_server:
-
args:
flavor:
name: {{flavor_name}}
image:
name: {{image_name}}
auto_assign_nic: true
actions:
- hard_reboot: 3
- soft_reboot: 3
- stop_start: 3
- rescue_unrescue: 3
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
network:
start_cidr: "10.0.0.0/16"
networks_per_tenant: 1
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}}