0c5ce21ba5
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
32 lines
881 B
JSON
32 lines
881 B
JSON
{
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|