diff --git a/browbeat-config.yaml b/browbeat-config.yaml index 507b2c686..3ea180612 100644 --- a/browbeat-config.yaml +++ b/browbeat-config.yaml @@ -641,3 +641,28 @@ workloads: num_stop_start_vms: 5 workloads: all file: rally/rally-plugins/dynamic-workloads/dynamic_workload_min.yml + + - name: manila + enabled: false + type: rally + rally_deployment: overcloud + concurrency: + - 1 + times: 1 + scenarios: + - name: create-share-network-and-list + enabled: true + file: rally/manila/create-share-network-and-list.yaml + - name: create-share-network-and-delete + enabled: true + file: rally/manila/create-share-network-and-delete.yaml + - name: create-share-and-shrink + enabled: true + share_type: default + share_proto: "nfs" + file: rally/manila/create-share-and-shrink.yaml + - name: create-share-and-extend + enabled: true + share_type: default + share_proto: "nfs" + file: rally/manila/create-share-and-extend.yaml diff --git a/rally/manila/create-share-and-extend.yaml b/rally/manila/create-share-and-extend.yaml new file mode 100644 index 000000000..ac20e00aa --- /dev/null +++ b/rally/manila/create-share-and-extend.yaml @@ -0,0 +1,28 @@ +{% 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 %} +--- + ManilaShares.create_and_extend_share: + - + args: + share_type: {{share_type}} + share_proto: "{{ share_proto }}" + size: 1 + new_size: 2 + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + quotas: + manila: + shares: -1 + gigabytes: -1 + users: + tenants: 2 + 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 }} diff --git a/rally/manila/create-share-and-shrink.yaml b/rally/manila/create-share-and-shrink.yaml new file mode 100644 index 000000000..a46a8d049 --- /dev/null +++ b/rally/manila/create-share-and-shrink.yaml @@ -0,0 +1,28 @@ +{% 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 %} +--- + ManilaShares.create_and_shrink_share: + - + args: + share_type: {{share_type}} + share_proto: "{{ share_proto }}" + size: 2 + new_size: 1 + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + quotas: + manila: + shares: -1 + gigabytes: -1 + users: + tenants: 2 + 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 }} diff --git a/rally/manila/create-share-network-and-delete.yaml b/rally/manila/create-share-network-and-delete.yaml new file mode 100644 index 000000000..a1deff41c --- /dev/null +++ b/rally/manila/create-share-network-and-delete.yaml @@ -0,0 +1,22 @@ +{% 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 %} +--- + ManilaShares.create_share_network_and_delete: + - + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + quotas: + manila: + share_networks: -1 + users: + tenants: 2 + 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 }} diff --git a/rally/manila/create-share-network-and-list.yaml b/rally/manila/create-share-network-and-list.yaml new file mode 100644 index 000000000..6aae3f00e --- /dev/null +++ b/rally/manila/create-share-network-and-list.yaml @@ -0,0 +1,26 @@ +{% 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 %} +--- + ManilaShares.create_share_network_and_list: + - + args: + detailed: True + search_opts: + name: "rally" + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + quotas: + manila: + share_networks: -1 + users: + tenants: 2 + 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 }}