72fb9441a0
The following changes have been made: + Change class name to BrowbeatPlguin for consistency + Change JSON input task to YAML for consistency + Implement quotas in input task + Make concurrency/times configurable via scenario-previously times was set to 1 and there was no way to change concurrency Change-Id: I09ff27974695fbc36d60b988aa34d987dac32688
43 lines
982 B
YAML
43 lines
982 B
YAML
|
|
{% 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}}'
|
|
ext_net:
|
|
id: {{ 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
|
|
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}}
|
|
|