]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
engine : add suspend/resume support to watch resource
authorSteven Hardy <shardy@redhat.com>
Wed, 3 Jul 2013 17:03:57 +0000 (18:03 +0100)
committerSteven Hardy <shardy@redhat.com>
Sat, 6 Jul 2013 06:35:29 +0000 (07:35 +0100)
commitdfe60926c96139680804bfe0e84dd6b4e75d282a
treedbd1dc869e07110d369d2607961264bdd6003a05
parentc03efe6bb14ff5817c3390de5ed4a7e358b7ad18
engine : add suspend/resume support to watch resource

Add suspend/resume support to CloudWatchAlarm resource and
underlying watchrule - this means that when in suspended
state watches will not allow new metric data to be added
or for alarm evaluation/actions to happen

blueprint stack-suspend-resume

Change-Id: Ic9a1c1bd86ac8156f260791089a38889eabc6528
heat/engine/resources/cloud_watch.py
heat/engine/watchrule.py
heat/rpc/api.py
heat/tests/test_cw_alarm.py
heat/tests/test_watch.py