browbeat/rally/CeilometerAlarms/create_and_list_alarm-cc.yml
Alex Krzos f18707403c Browbeat Ceilometer Rally Tests
+ Added all Rally Ceilometer scenarios and added minimal ceilometer
  config to ceilometer-minimal.yaml
+ BrowbeatPlugin: Nova boot and persist scenario which boots
  persisting extra tiny instances
+ Two additional Browbeat Configs that use nova boot and persist
  plugin to stress telemetry services over time

Change-Id: Ib52c60559c974c2e63478305a610df6afca5f087
2016-08-09 09:24:33 -04:00

28 lines
856 B
YAML

{% 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 %}
---
CeilometerAlarms.create_and_list_alarm:
-
args:
meter_name: "ram_util"
threshold: 10.0
type: "threshold"
statistic: "avg"
alarm_actions: ["http://localhost:8776/alarm"]
ok_actions: ["http://localhost:8776/ok"]
insufficient_data_actions: ["http://localhost:8776/notok"]
context:
users:
tenants: 2
users_per_tenant: 2
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}