rally-openstack/samples/tasks/scenarios/nova/boot-and-associate-floating-ip.yaml
chenhb d48d9f89c8 Add option arguments of scenarios of floating ip creation
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
2017-12-05 11:35:26 +00:00

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