b02784cb1a
Summary: Samples should use m1.tiny instead of m1.nano Samples should be parametrized and use m1.tiny instead of m1.nano as default flavor. Change-Id: Ie820c573c0a9971a54f7ab20a7454a2f05dc88d2 Closes-Bug: #1431700
28 lines
787 B
JSON
28 lines
787 B
JSON
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
{
|
|
"GlanceImages.create_image_and_boot_instances": [
|
|
{
|
|
"args": {
|
|
"image_location": "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img",
|
|
"container_format": "bare",
|
|
"disk_format": "qcow2",
|
|
"flavor": {
|
|
"name": "{{flavor_name}}"
|
|
},
|
|
"number_instances": 2
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 10,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 3,
|
|
"users_per_tenant": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|