rally-openstack/samples/tasks/scenarios/nova/boot-and-get-console-url.json
maxinjian 171f2e0a7b Add NovaServers.boot_and_get_console_url
This simple scenario tests retrieving the console url of a server.

Two points should be noticed:
    1: Theoretically console_type can be novnc/xvpvnc for protocol vnc;
       spice-html5 for protocol spice; rdp-html5 for protocol rdp;
       serial for protocol serial. webmks for protocol mks(since version 2.8).
    2: Gates now only be possible to test vnc console.

Change-Id: Ifc44567f738d53fa6ad052e45640cbc36617204d
2017-07-07 05:43:57 -04:00

33 lines
801 B
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{
"NovaServers.boot_and_get_console_url": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "^cirros.*-disk$"
},
"console_type": "novnc"
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}