Created
September 7, 2016 19:27
-
-
Save sheyman/d0a6711320c7e89da3d4b5a43e041d48 to your computer and use it in GitHub Desktop.
rally scenario to run two nova jobs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% 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