Remove domino and promise from upper-constraints
[functest.git] / functest / opnfv_tests / openstack / rally / scenario / sanity / opnfv-ceilometer.yaml
1   CeilometerAlarms.create_alarm_and_get_history:
2     -
3       args:
4         meter_name: "ram_util"
5         threshold: 10.0
6         type: "threshold"
7         state: "ok"
8         statistic: "avg"
9         alarm_actions: ["http://localhost:8776/alarm"]
10         ok_actions: ["http://localhost:8776/ok"]
11         insufficient_data_actions: ["http://localhost:8776/notok"]
12       runner:
13         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
14       context:
15         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
16       sla:
17         {{ no_failures_sla() }}
18
19   CeilometerAlarms.create_and_delete_alarm:
20     -
21       args:
22         meter_name: "ram_util"
23         threshold: 10.0
24         type: "threshold"
25         statistic: "avg"
26         alarm_actions: ["http://localhost:8776/alarm"]
27         ok_actions: ["http://localhost:8776/ok"]
28         insufficient_data_actions: ["http://localhost:8776/notok"]
29       runner:
30         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
31       context:
32         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
33       sla:
34         {{ no_failures_sla() }}
35
36   CeilometerAlarms.create_and_get_alarm:
37     -
38       args:
39         meter_name: "ram_util"
40         threshold: 10.0
41         type: "threshold"
42         statistic: "avg"
43         alarm_actions: ["http://localhost:8776/alarm"]
44         ok_actions: ["http://localhost:8776/ok"]
45         insufficient_data_actions: ["http://localhost:8776/notok"]
46       runner:
47         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
48       context:
49         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
50       sla:
51         {{ no_failures_sla() }}
52
53   CeilometerAlarms.create_and_list_alarm:
54     -
55       args:
56         meter_name: "ram_util"
57         threshold: 10.0
58         type: "threshold"
59         statistic: "avg"
60         alarm_actions: ["http://localhost:8776/alarm"]
61         ok_actions: ["http://localhost:8776/ok"]
62         insufficient_data_actions: ["http://localhost:8776/notok"]
63       runner:
64         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
65       context:
66         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
67       sla:
68         {{ no_failures_sla() }}
69
70   CeilometerQueries.create_and_query_alarm_history:
71     -
72       args:
73         orderby: !!null
74         limit: !!null
75         meter_name: "ram_util"
76         threshold: 10.0
77         type: "threshold"
78         statistic: "avg"
79         alarm_actions: ["http://localhost:8776/alarm"]
80         ok_actions: ["http://localhost:8776/ok"]
81         insufficient_data_actions: ["http://localhost:8776/notok"]
82       runner:
83         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
84       context:
85         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
86       sla:
87         {{ no_failures_sla() }}
88
89   CeilometerQueries.create_and_query_alarms:
90     -
91       args:
92         filter: {"and": [{"!=": {"state": "dummy_state"}},{"=": {"type": "threshold"}}]}
93         orderby: !!null
94         limit: 10
95         meter_name: "ram_util"
96         threshold: 10.0
97         type: "threshold"
98         statistic: "avg"
99         alarm_actions: ["http://localhost:8776/alarm"]
100         ok_actions: ["http://localhost:8776/ok"]
101         insufficient_data_actions: ["http://localhost:8776/notok"]
102       runner:
103         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
104       context:
105         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
106       sla:
107         {{ no_failures_sla() }}
108
109   CeilometerQueries.create_and_query_samples:
110     -
111       args:
112         filter: {"=": {"counter_unit": "instance"}}
113         orderby: !!null
114         limit: 10
115         counter_name: "cpu_util"
116         counter_type: "gauge"
117         counter_unit: "instance"
118         counter_volume: 1.0
119         resource_id: "resource_id"
120       runner:
121         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
122       context:
123         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
124       sla:
125         {{ no_failures_sla() }}
126
127   CeilometerAlarms.create_and_update_alarm:
128     -
129       args:
130         meter_name: "ram_util"
131         threshold: 10.0
132         type: "threshold"
133         statistic: "avg"
134         alarm_actions: ["http://localhost:8776/alarm"]
135         ok_actions: ["http://localhost:8776/ok"]
136         insufficient_data_actions: ["http://localhost:8776/notok"]
137       runner:
138         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
139       context:
140         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
141       sla:
142         {{ no_failures_sla() }}
143
144   CeilometerEvents.create_user_and_get_event:
145     -
146       runner:
147         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
148       context:
149         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
150       sla:
151         {{ no_failures_sla() }}
152
153   CeilometerEvents.create_user_and_list_events:
154     -
155       runner:
156         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
157       context:
158         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
159       sla:
160         {{ no_failures_sla() }}
161
162   CeilometerEvents.create_user_and_list_event_types:
163     -
164       runner:
165         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
166       context:
167         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
168       sla:
169         {{ no_failures_sla() }}
170
171   CeilometerTraits.create_user_and_list_trait_descriptions:
172     -
173       runner:
174         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
175       context:
176         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
177       sla:
178         {{ no_failures_sla() }}
179
180   CeilometerTraits.create_user_and_list_traits:
181     -
182       runner:
183         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
184       context:
185         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
186       sla:
187         {{ no_failures_sla() }}
188
189   CeilometerStats.get_stats:
190     -
191       runner:
192         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
193       context:
194         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
195         ceilometer:
196           counter_name: "benchmark_meter"
197           counter_type: "gauge"
198           counter_unit: "%"
199           counter_volume: 100
200           resources_per_tenant: 100
201           samples_per_resource: 100
202           timestamp_interval: 10
203           metadata_list:
204             -
205               status: "active"
206               name: "rally benchmark on"
207               deleted: "false"
208             -
209               status: "terminated"
210               name: "rally benchmark off"
211               deleted: "true"
212         {% endcall %}
213       args:
214         meter_name: "benchmark_meter"
215         filter_by_user_id: true
216         filter_by_project_id: true
217         filter_by_resource_id: true
218         metadata_query:
219           status: "terminated"
220         period: 300
221         groupby: "resource_id"
222       sla:
223         {{ no_failures_sla() }}
224
225   CeilometerResource.get_tenant_resources:
226     -
227       runner:
228         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
229       context:
230         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
231         ceilometer:
232           counter_name: "cpu_util"
233           counter_type: "gauge"
234           counter_volume: 1.0
235           counter_unit: "instance"
236         {% endcall %}
237       sla:
238         {{ no_failures_sla() }}
239
240   CeilometerAlarms.list_alarms:
241     -
242       runner:
243         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
244       context:
245         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
246       sla:
247         {{ no_failures_sla() }}