{% set flavor_name = flavor_name or "m1.medium" %} | |
{% set image_name = image_name or "Ubuntu1404" %} | |
{% set ext_net_name = "floating" %} | |
{% set script_file = script_file or "cvp-configuration/rally/instance_test.sh" %} | |
{ | |
"VMTasks.boot_runcommand_delete": [ | |
{ | |
"args": { | |
"flavor": { | |
"name": "{{flavor_name}}" | |
}, | |
"image": { | |
"name": "{{image_name}}" | |
}, | |
"volume_args": { | |
"size": 10 | |
}, | |
"floating_network": "{{ext_net_name}}", | |
"use_floating_ip": true, | |
"wait_for_ping": false, | |
"force_delete": false, | |
"command": { | |
"interpreter": "/bin/sh", | |
"script_file": "{{script_file}}" | |
}, | |
"username": "ubuntu" | |
}, | |
"runner": { | |
"type": "constant", | |
"times": 1, | |
"concurrency": 1 | |
}, | |
"context": { | |
"users": { | |
"tenants": 1, | |
"users_per_tenant": 1 | |
}, | |
"network": {} | |
} | |
} | |
] | |
} |