---
  version: 2
  title: Task for rally-task-octavia job
  description: >
    This task contains various scenarios for testing load balancing
  subtasks:
    -
      title: Octavia.create_and_list_loadbalancers
      workloads:
      -
        scenario:
          Octavia.create_and_list_loadbalancers: {}
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
    -
      title: Octavia.create_and_delete_loadbalancers
      workloads:
      -
        scenario:
          Octavia.create_and_delete_loadbalancers: {}
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
    -
      title: Octavia.create_and_update_loadbalanacers
      workloads:
      -
        scenario:
          Octavia.create_and_update_loadbalancers: {}
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
    -
      title: Octavia.create_and_stats_loadbalanacers
      workloads:
      -
        scenario:
          Octavia.create_and_stats_loadbalancers: {}
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
    -
      title: Octavia.create_and_show_loadbalanacers
      workloads:
      -
        scenario:
          Octavia.create_and_show_loadbalancers: {}
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
    -
      title: Octavia.create_and_list_pools
      workloads:
      -
        scenario:
          Octavia.create_and_list_pools:
            protocol: "HTTP"
            lb_algorithm: "ROUND_ROBIN"
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
    -
      title: Octavia.create_and_delete_pools
      workloads:
      -
        scenario:
          Octavia.create_and_delete_pools:
            protocol: "HTTP"
            lb_algorithm: "ROUND_ROBIN"
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
    -
      title: Octavia.create_and_update_pools
      workloads:
      -
        scenario:
          Octavia.create_and_update_pools:
            protocol: "HTTP"
            lb_algorithm: "ROUND_ROBIN"
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
    -
      title: Octavia.create_and_show_pools
      workloads:
      -
        scenario:
          Octavia.create_and_show_pools:
            protocol: "HTTP"
            lb_algorithm: "ROUND_ROBIN"
        runner:
          constant:
            times: 2
            concurrency: 2
        contexts:
          users:
            tenants: 2
          roles: ["load-balancer_member"]
          network: {}
        sla:
          failure_rate:
            max: 0
