d48d9f89c8
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
42 lines
878 B
YAML
42 lines
878 B
YAML
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
---
|
|
NovaServers.boot_and_associate_floating_ip:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "{{flavor_name}}"
|
|
image:
|
|
name: "^cirros.*-disk$"
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
network: {}
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "{{flavor_name}}"
|
|
image:
|
|
name: "^cirros.*-disk$"
|
|
create_floating_ip_args:
|
|
ext_network: "ext_network_name"
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
network: {}
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|