rally-openstack/samples/tasks/scenarios/nova/boot-server-and-attach-interface.json
zhangzhang fd859f6cee Add nova.BootServerAndAttachInterface scenario
Create server and subnet, then attach the interface to it.

This scenario measures the "nova interface-attach" command.

Change-Id: I83ea0364ebdcac302ff162b926a838eb7dd1634d
2017-04-18 12:51:39 -04:00

44 lines
1.2 KiB
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{% set image_name = "^(cirros.*-disk|TestVM)$" %}
{
"NovaServers.boot_server_and_attach_interface": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "{{image_name}}"
},
"network_create_args": {},
"subnet_create_args": {},
"subnet_cidr_start": "1.1.0.0/30",
"boot_server_args": {}
},
"runner": {
"type": "constant",
"times": 5,
"concurrency": 2
},
"context": {
"network": {},
"users": {
"tenants": 2,
"users_per_tenant": 2
},
"quotas": {
"neutron": {
"network": -1,
"subnet": -1
}
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}