browbeat/rally/rally-plugins/octavia/octavia-create-loadabalancer-resources.yml
Asma Syed Hameed 6aca8b9bd9 Octavia Scenario to create loadbalancer resources
spawns jump host and a given number of clients
It also creates a load balancer, listener, pool
and adds those clients to the pool

Change-Id: Id0d4f3e12167b00619fc71f57bf467c670a93098
2021-04-23 14:42:35 +05:30

55 lines
1.5 KiB
YAML

{% set image_name = image_name or 'centos7' %}
{% set flavor_name = flavor_name or 'm1.small' %}
{% set num_clients = num_clients or 2 %}
{% set password = password or 'None' %}
{% set protocol = protocol or 'HTTP' %}
{% set lb_algorithm = lb_algorithm or 'ROUND_ROBIN' %}
{% set protocol_port = protocol_port or 80 %}
{% 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 %}
---
BrowbeatPlugin.OctaviaCreateLoadbalancerResources:
-
args:
image:
name: '{{image_name}}'
flavor:
name: '{{flavor_name}}'
network_create_args: {}
router_create_args: {}
subnet_create_args: {}
user: '{{user}}'
password: '{{password}}'
num_clients: {{num_clients}}
protocol: '{{protocol}}'
lb_algorithm: '{{lb_algorithm}}'
protocol_port: '{{protocol_port}}'
ext_net_id: '{{ext_net_id}}'
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 2
users_per_tenant: 2
network: {}
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
floatingip: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}