diff --git a/browbeat-config.yaml b/browbeat-config.yaml index f1e5182d6..6c9de9bc6 100644 --- a/browbeat-config.yaml +++ b/browbeat-config.yaml @@ -208,6 +208,50 @@ workloads: disk_format: qcow2 file: rally/glance/create-and-delete-image-cc.yml + - name: octavia + enabled: true + type: rally + concurrency: + - 2 + times: 10 + scenarios: + - name: create-and-list-loadbalancers + enabled: true + sla_max_failure: 0 + file: rally/octavia/octavia-create-list-loadbalancers.yml + - name: create-and-stats-show-loadbalancers + enabled: true + file: rally/octavia/octavia-create-stats-show-loadbalancers.yml + sla_max_failure: 0 + - name: create-and-show-loadbalancers + enabled: true + file: rally/octavia/octavia-create-show-loadbalancers.yml + sla_max_failure: 0 + - name: create-and-update-loadbalancers + enabled: true + file: rally/octavia/octavia-create-update-loadbalancers.yml + sla_max_failure: 0 + - name: create-and-delete-loadbalancers + enabled: true + file: rally/octavia/octavia-create-delete-loadbalancers.yml + sla_max_failure: 0 + - name: create-and-list-pools + enabled: true + sla_max_failure: 0 + file: rally/octavia/octavia-create-list-pools.yml + - name: create-and-show-pools + enabled: true + file: rally/octavia/octavia-create-show-pools.yml + sla_max_failure: 0 + - name: create-and-update-pools + enabled: true + file: rally/octavia/octavia-create-update-pools.yml + sla_max_failure: 0 + - name: create-and-delete-pools + enabled: true + file: rally/octavia/octavia-create-delete-pools.yml + sla_max_failure: 0 + - name: simple-plugins enabled: true type: rally diff --git a/rally/authenticate/validate_octavia-cc.yml b/rally/authenticate/validate_octavia-cc.yml new file mode 100644 index 000000000..9a6b65afd --- /dev/null +++ b/rally/authenticate/validate_octavia-cc.yml @@ -0,0 +1,22 @@ +{% set repetitions = repetitions or 2 %} +{% 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 %} +--- + Authenticate.validate_octavia: + - + args: + repetitions: {{repetitions}} + context: + users: + tenants: 1 + users_per_tenant: 8 + runner: + concurrency: {{concurrency}} + times: {{times}} + type: "constant" + 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/octavia/octavia-create-delete-loadbalancers.yml b/rally/octavia/octavia-create-delete-loadbalancers.yml new file mode 100644 index 000000000..fe63998b6 --- /dev/null +++ b/rally/octavia/octavia-create-delete-loadbalancers.yml @@ -0,0 +1,19 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_delete_loadbalancers: + - + args: {} + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/rally/octavia/octavia-create-delete-pools.yml b/rally/octavia/octavia-create-delete-pools.yml new file mode 100644 index 000000000..b633aac54 --- /dev/null +++ b/rally/octavia/octavia-create-delete-pools.yml @@ -0,0 +1,21 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_delete_pools: + - + args: + protocol: "HTTP" + lb_algorithm: "ROUND_ROBIN" + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/rally/octavia/octavia-create-list-loadbalancers.yml b/rally/octavia/octavia-create-list-loadbalancers.yml new file mode 100644 index 000000000..3c7db4c39 --- /dev/null +++ b/rally/octavia/octavia-create-list-loadbalancers.yml @@ -0,0 +1,19 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_list_loadbalancers: + - + args: {} + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/rally/octavia/octavia-create-list-pools.yml b/rally/octavia/octavia-create-list-pools.yml new file mode 100644 index 000000000..7c3715e2b --- /dev/null +++ b/rally/octavia/octavia-create-list-pools.yml @@ -0,0 +1,21 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_list_pools: + - + args: + protocol: "HTTP" + lb_algorithm: "ROUND_ROBIN" + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/rally/octavia/octavia-create-show-loadbalancers.yml b/rally/octavia/octavia-create-show-loadbalancers.yml new file mode 100644 index 000000000..1ae46208c --- /dev/null +++ b/rally/octavia/octavia-create-show-loadbalancers.yml @@ -0,0 +1,19 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_show_loadbalancers: + - + args: {} + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/rally/octavia/octavia-create-show-pools.yml b/rally/octavia/octavia-create-show-pools.yml new file mode 100644 index 000000000..105930d12 --- /dev/null +++ b/rally/octavia/octavia-create-show-pools.yml @@ -0,0 +1,21 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_show_pools: + - + args: + protocol: "HTTP" + lb_algorithm: "ROUND_ROBIN" + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/rally/octavia/octavia-create-stats-show-loadbalancers.yml b/rally/octavia/octavia-create-stats-show-loadbalancers.yml new file mode 100644 index 000000000..87ec4b973 --- /dev/null +++ b/rally/octavia/octavia-create-stats-show-loadbalancers.yml @@ -0,0 +1,19 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_stats_loadbalancers: + - + args: {} + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/rally/octavia/octavia-create-update-loadbalancers.yml b/rally/octavia/octavia-create-update-loadbalancers.yml new file mode 100644 index 000000000..a111738f5 --- /dev/null +++ b/rally/octavia/octavia-create-update-loadbalancers.yml @@ -0,0 +1,19 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_update_loadbalancers: + - + args: {} + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/rally/octavia/octavia-create-update-pools.yml b/rally/octavia/octavia-create-update-pools.yml new file mode 100644 index 000000000..dc6ef8086 --- /dev/null +++ b/rally/octavia/octavia-create-update-pools.yml @@ -0,0 +1,21 @@ +{% set sla_max_failure = sla_max_failure or 0 %} +--- + Octavia.create_and_update_pools: + - + args: + protocol: "HTTP" + lb_algorithm: "ROUND_ROBIN" + runner: + type: "constant" + times: {{ times }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + roles: + - load-balancer_member + network: {} + sla: + failure_rate: + max: {{ sla_max_failure }} diff --git a/tests/data/workloads.yml b/tests/data/workloads.yml index fa961c8dc..9aae0ea5b 100644 --- a/tests/data/workloads.yml +++ b/tests/data/workloads.yml @@ -28,6 +28,9 @@ rally: - name: valid-test-authentic-neutron enabled: false file: rally/authenticate/validate_neutron-cc.yml + - name: valid-test-authentic-octavia + enabled: true + file: rally/authenticate/validate_octavia-cc.yml - valid: false data: name: invalid-test-authenticate-01