892f69ab30
PBench integration with Rally/Browbeat so users that have PBench workloads can start running them inside of a cloud context Change-Id: I6d6c674e7de712a32e0c331804faef9c11c32b82
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
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 %}
|
|
{% set times = times or 1 %}
|
|
{% set concurrency = concurrency or 1 %}
|
|
{% set num_pairs = num_pairs or 1 %}
|
|
|
|
---
|
|
BrowbeatPlugin.nova_create_pbench_uperf:
|
|
-
|
|
args:
|
|
image:
|
|
name: '{{image_name}}'
|
|
flavor:
|
|
name: '{{flavor_name}}'
|
|
zones:
|
|
server: '{{hypervisor_server}}'
|
|
client: '{{hypervisor_client}}'
|
|
external:
|
|
name: '{{external_network}}'
|
|
user: '{{user}}'
|
|
password: '{{password}}'
|
|
num_pairs: {{num_pairs}}
|
|
test_types: '{{test_types}}'
|
|
protocols: '{{protocols}}'
|
|
samples: '{{samples}}'
|
|
test_name: '{{test_name}}'
|
|
send_results: {{send_results}}
|
|
cloudname: '{{cloudname}}'
|
|
elastic_host: '{{elastic_host}}'
|
|
elastic_port: '{{elastic_port}}'
|
|
runner:
|
|
concurrency: 1
|
|
times: 1
|
|
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}}
|
|
|