rally-openstack/samples/tasks/scenarios/ceilometer/create-and-get-alarm.yaml
maxinjian 0c5ce21ba5 Add CeilometerAlarms.create_and_get_alarm
Create and get the newly created alarm.

These scenarios test GET /v2/alarms/(alarm_id)
Initially alarm is created and then its detailed information is
fetched using its alarm_id.

Change-Id: I3320df227bd963890e4be8765569dbd82329ff4d
2016-11-07 23:52:50 -05:00

23 lines
551 B
YAML

---
CeilometerAlarms.create_and_get_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"]
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0