Add barbican Scenarios

- create-and-list-secret
- create-and-delete-secret
- create-and-delete-certificate

Change-Id: I5fe92b68e758fa70ea5a3dcc254186e220e155d3
This commit is contained in:
Asma Syed Hameed 2024-09-09 13:27:18 +05:30
parent 36165d5896
commit 799d3c4a94
4 changed files with 75 additions and 0 deletions

View File

@ -909,3 +909,21 @@ workloads:
sample: 1 sample: 1
ansible_forks: 5 ansible_forks: 5
file: rally/rally-plugins/pbench-fio/pbench-fio.yml 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

View 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}}

View 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}}

View 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}}