rally-openstack/samples/tasks/scenarios/nova/boot-server-and-list-interfaces.json
maxinjian 617026b24d Add NovaServers.boot_server_and_list_interfaces
Boot a server and list interfaces attached to it.
Measure the "nova boot" and "nova interface-list" command performance.

Change-Id: I1bd71483caf5a408b31d82f4faaaf4581bdf8924
2017-04-25 06:19:29 -04:00

36 lines
912 B
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{% set image_name = "^(cirros.*-disk|TestVM)$" %}
{
"NovaServers.boot_server_and_list_interfaces": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "{{image_name}}"
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
},
"network": {
"start_cidr": "100.1.0.0/26"
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}