blob: a3db957f6c9d176e145618a4b30bec7813fb43b0 [file] [log] [blame]
Oleksii Zhurbaa0ac61a2018-02-16 17:42:41 -06001{% set flavor_name = flavor_name or "m1.medium" %}
2{% set image_name = image_name or "Ubuntu1404" %}
3{% set ext_net_name = "floating" %}
4{% set script_file = script_file or "cvp-configuration/rally/instance_test.sh" %}
5{
6 "VMTasks.boot_runcommand_delete": [
7 {
8 "args": {
9 "flavor": {
10 "name": "{{flavor_name}}"
11 },
12 "image": {
13 "name": "{{image_name}}"
14 },
15 "volume_args": {
16 "size": 10
17 },
18 "floating_network": "{{ext_net_name}}",
19 "use_floating_ip": true,
20 "wait_for_ping": false,
21 "force_delete": false,
22 "command": {
23 "interpreter": "/bin/sh",
24 "script_file": "{{script_file}}"
25 },
26 "username": "ubuntu"
27 },
28 "runner": {
29 "type": "constant",
30 "times": 1,
31 "concurrency": 1
32 },
33 "context": {
34 "users": {
35 "tenants": 1,
36 "users_per_tenant": 1
37 },
38 "network": {}
39 }
40 }
41 ]
42}