browbeat/rally/glance/create-image-and-boot-instances-cc.yml
akrzos e585fb3df4 Upgrade Rally to 0.9.1
Migrated plugins and cleaned up config files and improved ease of
running some scenarios/plugins.

Change-Id: If76ce233f3067b85aa086be7f615dbb900a1bcb9
2017-10-13 19:33:06 +00:00

45 lines
1.3 KiB
YAML

{% set image_location = image_location or "/home/stack/cirros.qcow2" %}
{% set container_format = container_format or "bare" %}
{% set disk_format = disk_format or "qcow2" %}
{% set flavor_name = flavor_name or "m1.small" %}
{% set instances = instances or 2 %}
{% 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 %}
---
GlanceImages.create_image_and_boot_instances:
-
args:
image_location: "{{image_location}}"
container_format: "{{container_format}}"
disk_format: "{{disk_format}}"
flavor:
name: "{{flavor_name}}"
number_instances: {{instances}}
boot_server_kwargs:
auto_assign_nic: true
runner:
type: "constant"
times: {{times}}
concurrency: {{concurrency}}
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}}