![chenhb](/assets/img/avatar_default.png)
In some cases, we must specify a network for floating ip creation. e.g: more one extenal network and the first extenal network cannot route to the vm. Change-Id: I704612ef8f0129fafb16f9468f38383d47d587ab
63 lines
1.1 KiB
JSON
63 lines
1.1 KiB
JSON
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
{
|
|
"NovaServers.boot_and_associate_floating_ip": [
|
|
{
|
|
"runner": {
|
|
"type": "constant",
|
|
"concurrency": 1,
|
|
"times": 1
|
|
},
|
|
"args": {
|
|
"flavor": {
|
|
"name": "{{flavor_name}}"
|
|
},
|
|
"image": {
|
|
"name": "^cirros.*-disk$"
|
|
}
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"users_per_tenant": 1,
|
|
"tenants": 1
|
|
},
|
|
"network": {}
|
|
},
|
|
"sla": {
|
|
"failure_rate": {
|
|
"max": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"runner": {
|
|
"type": "constant",
|
|
"concurrency": 1,
|
|
"times": 1
|
|
},
|
|
"args": {
|
|
"flavor": {
|
|
"name": "{{flavor_name}}"
|
|
},
|
|
"image": {
|
|
"name": "^cirros.*-disk$"
|
|
},
|
|
"create_floating_ip_args": {
|
|
"ext_network": "ext_network_name"
|
|
}
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"users_per_tenant": 1,
|
|
"tenants": 1
|
|
},
|
|
"network": {}
|
|
},
|
|
"sla": {
|
|
"failure_rate": {
|
|
"max": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|