b678916645249c30f2cee3f2e38d8b07f2ef5f09
[functest.git] / testcases / VIM / OpenStack / CI / rally_cert / task.yaml
1 {%- set glance_image_location = glance_image_location|default("http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img") %}
2 {%- set image_name = image_name|default("functest-img-rally") %}
3 {%- set flavor_name = flavor_name|default("m1.tiny") %}
4 {%- set use_existing_users = use_existing_users|default(false) %}
5 {%- set service_list = service_list|default(["authenticate", "cinder", "keystone", "nova", "glance", "neutron", "quotas", "requests", "heat", "vm"]) %}
6 {%- set live_migration = live_migration|default(false) %}
7 {%- set smoke = smoke|default(true) %}
8 {%- set floating_network = floating_network|default("net04_ext") %}
9 {%- set controllers_amount = controllers_amount|default(1) %}
10 {%- if smoke %}
11 {%- set users_amount = 1 %}
12 {%- set tenants_amount = 1 %}
13 {%- else %}
14 {%- set users_amount = users_amount|default(1) %}
15 {%- set tenants_amount = tenants_amount|default(1) %}
16 {%- endif %}
17
18 {%- from "macro/macro.yaml" import user_context, vm_params, unlimited_volumes, constant_runner, rps_runner, no_failures_sla -%}
19 {%- from "macro/macro.yaml" import volumes, unlimited_nova, unlimited_neutron, glance_args -%}
20
21 ---
22 {% if "authenticate" in service_list %}
23 {%- include "scenario/opnfv-authenticate.yaml"-%}
24 {% endif %}
25
26 {% if "cinder" in service_list %}
27 {%- include "scenario/opnfv-cinder.yaml"-%}
28 {% endif %}
29
30 {% if "keystone" in service_list %}
31 {%- include "scenario/opnfv-keystone.yaml"-%}
32 {% endif %}
33
34 {% if "nova" in service_list %}
35 {%- include "scenario/opnfv-nova.yaml"-%}
36 {% endif %}
37
38 {% if "glance" in service_list %}
39 {%- include "scenario/opnfv-glance.yaml"-%}
40 {% endif %}
41
42 {% if "neutron" in service_list %}
43 {%- include "scenario/opnfv-neutron.yaml"-%}
44 {% endif %}
45
46 {% if "quotas" in service_list %}
47 {%- include "scenario/opnfv-quotas.yaml"-%}
48 {% endif %}
49
50 {% if "requests" in service_list %}
51 {%- include "scenario/opnfv-requests.yaml"-%}
52 {% endif %}
53
54 {% if "heat" in service_list %}
55 {%- include "scenario/opnfv-heat.yaml"-%}
56 {% endif %}
57
58 {% if "vm" in service_list %}
59 {%- include "scenario/opnfv-vm.yaml"-%}
60 {% endif %}