browbeat/rally/rally-plugins/netcreate-boot/netcreate_nova_boot_fip_ping.yml
venkata anil 37196babc4 Allow multiple VMs per network
Ping floating ip test is creating one network and
one vm per network for the ping. One VM per network
is not realistic scenario. This patch allows users
to spawn multiple vms per network for the ping test.

Change-Id: Ic18f37a2fb978047252b6e2f33f80b18cc27ce7b
2020-03-04 12:38:51 +05:30

45 lines
1.1 KiB
YAML

{% set image_name = image_name or 'cirros' %}
{% set flavor_name = flavor_name or 'm1.xtiny' %}
{% set num_vms = num_vms or 1 %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
BrowbeatPlugin.create_network_nova_boot_ping:
-
args:
floating: True
flavor:
name: '{{flavor_name}}'
image:
name: '{{image_name}}'
num_vms: {{num_vms}}
ext_net_id: '{{ext_net_id}}'
network_create_args: {}
router_create_args: {}
subnet_create_args: {}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
floatingip: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}