Skip to content

Instantly share code, notes, and snippets.

@xarses
Created February 16, 2017 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xarses/a86dce0f8e0b3b4970685c7e7c7c0351 to your computer and use it in GitHub Desktop.
Save xarses/a86dce0f8e0b3b4970685c7e7c7c0351 to your computer and use it in GitHub Desktop.
more fun with rally
{% set flavor_name = flavor_name or "m1.tiny" %}
{% set zones = zones or ['nova'] %}
{% set times = times or 1 %}
---
NovaServers.boot_and_delete_server:
{% for zone in zones %}
-
args:
flavor:
name: "{{flavor_name}}"
image:
name: "^Cirros.*$"
force_delete: false
auto_assign_nic: True
availability_zone: ":{{zone}}"
runner:
type: "constant"
times: {{times}}
concurrency: 1
context:
existing_network: {}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment