Parameterize Rally scenarios
[functest.git] / testcases / VIM / OpenStack / CI / rally_cert / scenario / opnfv-heat.yaml
1   HeatStacks.create_and_delete_stack:
2     -
3       args:
4         template_path: "{{ tmpl_dir }}/default.yaml.template"
5       context:
6         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
7       runner:
8         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
9       sla:
10         {{ no_failures_sla() }}
11     -
12       args:
13         template_path: "{{ tmpl_dir }}/server_with_ports.yaml.template"
14       context:
15         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
16       runner:
17         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
18       sla:
19         {{ no_failures_sla() }}
20     -
21       args:
22         template_path: "{{ tmpl_dir }}/server_with_volume.yaml.template"
23       context:
24         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
25       runner:
26         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
27       sla:
28         {{ no_failures_sla() }}
29
30   HeatStacks.create_and_list_stack:
31     -
32       args:
33         template_path: "{{ tmpl_dir }}/default.yaml.template"
34       context:
35         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
36       runner:
37         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
38       sla:
39         {{ no_failures_sla() }}
40
41   HeatStacks.create_check_delete_stack:
42     -
43       args:
44         template_path: "{{ tmpl_dir }}/random_strings.yaml.template"
45       context:
46         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
47       runner:
48         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
49       sla:
50         {{ no_failures_sla() }}
51
52   HeatStacks.create_suspend_resume_delete_stack:
53     -
54       args:
55         template_path: "{{ tmpl_dir }}/random_strings.yaml.template"
56       context:
57         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
58       runner:
59         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
60       sla:
61         {{ no_failures_sla() }}
62
63   HeatStacks.create_update_delete_stack:
64     -
65       args:
66         template_path: "{{ tmpl_dir }}/random_strings.yaml.template"
67         updated_template_path: "{{ tmpl_dir }}/updated_random_strings_add.yaml.template"
68       context:
69         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
70       runner:
71         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
72       sla:
73         {{ no_failures_sla() }}
74     -
75       args:
76         template_path: "{{ tmpl_dir }}/random_strings.yaml.template"
77         updated_template_path: "{{ tmpl_dir }}/updated_random_strings_delete.yaml.template"
78       context:
79         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
80       runner:
81         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
82       sla:
83         {{ no_failures_sla() }}
84     -
85       args:
86         template_path: "{{ tmpl_dir }}/resource_group.yaml.template"
87         updated_template_path: "{{ tmpl_dir }}/updated_resource_group_increase.yaml.template"
88       context:
89         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
90       runner:
91         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
92       sla:
93         {{ no_failures_sla() }}
94     -
95       args:
96         template_path: "{{ tmpl_dir }}/autoscaling_policy.yaml.template"
97         updated_template_path: "{{ tmpl_dir }}/updated_autoscaling_policy_inplace.yaml.template"
98       context:
99         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
100       runner:
101         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
102       sla:
103         {{ no_failures_sla() }}
104     -
105       args:
106         template_path: "{{ tmpl_dir }}/resource_group.yaml.template"
107         updated_template_path: "{{ tmpl_dir }}/updated_resource_group_reduce.yaml.template"
108       context:
109         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
110       runner:
111         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
112       sla:
113         {{ no_failures_sla() }}
114     -
115       args:
116         template_path: "{{ tmpl_dir }}/random_strings.yaml.template"
117         updated_template_path: "{{ tmpl_dir }}/updated_random_strings_replace.yaml.template"
118       context:
119         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
120       runner:
121         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
122       sla:
123         {{ no_failures_sla() }}
124
125   HeatStacks.list_stacks_and_resources:
126     -
127       context:
128         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
129       runner:
130         {{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
131       sla:
132         {{ no_failures_sla() }}