diff --git a/browbeat-config.yaml b/browbeat-config.yaml index a745d5b0b..83eecfb34 100644 --- a/browbeat-config.yaml +++ b/browbeat-config.yaml @@ -531,6 +531,32 @@ workloads: iface_mac: "3c:fd:fe:c1:8c:70" file: rally/rally-plugins/netcreate-boot/provider_netcreate_nova_boot_ping.yml + - name: swift + enabled: false + type: rally + rally_deployment: overcloud + concurrency: + - 1 + times: 1 + scenarios: + # object_size: size of created swift objects in byte + - name: create-container-and-object-then-delete-all + enabled: false + objects_per_container: 10 + object_size: 1024 + file: rally/swift/create-container-and-object-then-delete-all.yaml + - name: create-container-and-object-then-list-objects + enabled: false + objects_per_container: 10 + object_size: 1024 + file: rally/swift/create-container-and-object-then-list-objects.yaml + - name: list-objects-in-containers + enabled: true + objects_per_container: 10 + object_size: 1024 + containers_per_tenant: 1 + file: rally/swift/list-objects-in-containers.yaml + - name: plugin-workloads enabled: false type: rally diff --git a/rally/swift/create-container-and-object-then-delete-all.yaml b/rally/swift/create-container-and-object-then-delete-all.yaml new file mode 100644 index 000000000..6ffe4a68d --- /dev/null +++ b/rally/swift/create-container-and-object-then-delete-all.yaml @@ -0,0 +1,24 @@ +{% 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 %} +--- + SwiftObjects.create_container_and_object_then_delete_all: + - + args: + objects_per_container: {{ objects_per_container }} + object_size: {{ object_size }} + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 1 + users_per_tenant: 1 + roles: + - "admin" + 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/swift/create-container-and-object-then-list-objects.yaml b/rally/swift/create-container-and-object-then-list-objects.yaml new file mode 100644 index 000000000..8c0516871 --- /dev/null +++ b/rally/swift/create-container-and-object-then-list-objects.yaml @@ -0,0 +1,24 @@ +{% 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 %} +--- + SwiftObjects.create_container_and_object_then_list_objects: + - + args: + objects_per_container: {{ objects_per_container }} + object_size: {{ object_size }} + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 1 + users_per_tenant: 1 + roles: + - "admin" + 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/swift/list-objects-in-containers.yaml b/rally/swift/list-objects-in-containers.yaml new file mode 100644 index 000000000..e20726e5f --- /dev/null +++ b/rally/swift/list-objects-in-containers.yaml @@ -0,0 +1,25 @@ +{% 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 %} +--- + SwiftObjects.list_objects_in_containers: + - + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 1 + users_per_tenant: 1 + roles: + - "admin" + swift_objects: + containers_per_tenant: {{ containers_per_tenant }} + objects_per_container: {{ objects_per_container }} + object_size: {{ object_size }} + sla: + max_avg_duration: {{ sla_max_avg_duration }} + max_seconds_per_iteration: {{ sla_max_seconds }} + failure_rate: + max: {{ sla_max_failure }}