Skip to content

Instantly share code, notes, and snippets.

@sheyman
Created September 7, 2016 19:27
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 sheyman/d0a6711320c7e89da3d4b5a43e041d48 to your computer and use it in GitHub Desktop.
Save sheyman/d0a6711320c7e89da3d4b5a43e041d48 to your computer and use it in GitHub Desktop.
rally scenario to run two nova jobs
{% set flavor_name = flavor_name or "m1.tiny" %}
{% set servers_to_build = servers_to_build or 5 %}
{
"NovaServers.boot_server": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "^cirros.*uec$"
}
},
"runner": {
"type": "constant",
"times": 1,
"concurrency": 1
},
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 2
}
}
}
],
"NovaServers.boot_server": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "^cirros.*uec$"
}
},
"runner": {
"type": "constant",
"times": {{servers_to_build}},
"concurrency": {{servers_to_build}}
},
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 2
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment