rally-openstack/samples/tasks/scenarios/nova/boot-and-delete.json
chenhb-zte 663cc95a54 Add boot_and_delete_server samples and functional test
Add the argument "auto_assign_nic: true" in boot_and_delete_server
functional test, and add a related sample.

Change-Id: I7e596c29ae5e9d9c6e7db4572b5e80a60f0dd0bb
2016-06-13 09:35:54 -04:00

54 lines
1.4 KiB
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{
"NovaServers.boot_and_delete_server": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "^cirros.*uec$"
},
"force_delete": false
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 2
},
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 2
}
}
},
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "^cirros.*uec$"
},
"auto_assign_nic": true
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 2
},
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 2
},
"network": {
"start_cidr": "10.2.0.0/24",
"networks_per_tenant": 2
}
}
}
]
}