1 {%- macro user_context(tenants,users_per_tenant, use_existing_users) -%}
2 {%- if use_existing_users and caller is not defined -%} {}
4 {%- if not use_existing_users %}
7 users_per_tenant: {{ users_per_tenant }}
9 {%- if caller is defined %}
15 {%- macro vm_params(image=none, flavor=none, size=none) %}
16 {%- if flavor is not none %}
20 {%- if image is not none %}
24 {%- if size is not none %}
29 {%- macro unlimited_volumes() %}
36 {%- macro constant_runner(concurrency=1, times=1, is_smoke=True) %}
42 concurrency: {{ concurrency }}
47 {%- macro rps_runner(rps=1, times=1, is_smoke=True) %}
58 {%- macro no_failures_sla() %}
63 {%- macro volumes(size=1, volumes_per_tenant=1) %}
66 volumes_per_tenant: {{ volumes_per_tenant }}
69 {%- macro unlimited_nova(keypairs=false) %}
78 security_group_rules: -1
82 {%- macro unlimited_neutron() %}
83 {% if "neutron" in service_list %}
91 {%- macro glance_args(location, container="bare", type="qcow2") %}
92 container_format: {{ container }}
93 disk_format: {{ type }}
94 image_location: {{ location }}