Add barbican Scenarios
- create-and-list-secret - create-and-delete-secret - create-and-delete-certificate Change-Id: I5fe92b68e758fa70ea5a3dcc254186e220e155d3
This commit is contained in:
parent
36165d5896
commit
799d3c4a94
@ -909,3 +909,21 @@ workloads:
|
||||
sample: 1
|
||||
ansible_forks: 5
|
||||
file: rally/rally-plugins/pbench-fio/pbench-fio.yml
|
||||
|
||||
- name: barbican
|
||||
enabled: false
|
||||
type: rally
|
||||
rally_deployment: overcloud
|
||||
concurrency:
|
||||
- 1
|
||||
times: 1
|
||||
scenarios:
|
||||
- name: create-and-list-secrets
|
||||
enabled: true
|
||||
file: rally/barbican/create-and-list-secret.yaml
|
||||
- name: create-and-delete-secrets
|
||||
enabled: true
|
||||
file: rally/barbican/create-and-delete-secret.yaml
|
||||
- name: create-and-delete-certificate
|
||||
enabled: true
|
||||
file: rally/barbican/create-and-delete-certificate.yaml
|
||||
|
19
rally/barbican/create-and-delete-certificate.yaml
Normal file
19
rally/barbican/create-and-delete-certificate.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
{% 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 %}
|
||||
---
|
||||
BarbicanContainers.create_certificate_and_delete:
|
||||
-
|
||||
runner:
|
||||
type: "constant"
|
||||
times: {{times}}
|
||||
concurrency: {{concurrency}}
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
sla:
|
||||
max_avg_duration: {{sla_max_avg_duration}}
|
||||
max_seconds_per_iteration: {{sla_max_seconds}}
|
||||
failure_rate:
|
||||
max: {{sla_max_failure}}
|
19
rally/barbican/create-and-delete-secret.yaml
Normal file
19
rally/barbican/create-and-delete-secret.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
{% 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 %}
|
||||
---
|
||||
BarbicanSecrets.create_and_delete:
|
||||
-
|
||||
runner:
|
||||
type: "constant"
|
||||
times: {{times}}
|
||||
concurrency: {{concurrency}}
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
sla:
|
||||
max_avg_duration: {{sla_max_avg_duration}}
|
||||
max_seconds_per_iteration: {{sla_max_seconds}}
|
||||
failure_rate:
|
||||
max: {{sla_max_failure}}
|
19
rally/barbican/create-and-list-secret.yaml
Normal file
19
rally/barbican/create-and-list-secret.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
{% 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 %}
|
||||
---
|
||||
BarbicanSecrets.create_and_list:
|
||||
-
|
||||
runner:
|
||||
type: "constant"
|
||||
times: {{times}}
|
||||
concurrency: {{concurrency}}
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
sla:
|
||||
max_avg_duration: {{sla_max_avg_duration}}
|
||||
max_seconds_per_iteration: {{sla_max_seconds}}
|
||||
failure_rate:
|
||||
max: {{sla_max_failure}}
|
Loading…
Reference in New Issue
Block a user