deb-heat/heat/engine
Anderson Mesquita 87ff54290a Check resources are in expected states
Allow resource to check whether it is in an expected state and update
status and action accordingly.

This adds a check action to the stack that will perform checks in all
their resources and nested resources as well.  If a resource doesn't
have a handle_check() method, check for that resource will just pass.

If any resource at the end of a Stack.check() doesn't have a
handle_check() method, then a message will be added to the status_reason
of both the resource and the stack saying that CHECK is not (fully)
supported.  This allows for the other resources to implement their own
checks for their expected states.

Co-Authored-By: Richard Lee <rblee88@gmail.com>
Implements: blueprint stack-check (partial)
Change-Id: I18985476696faeaa47149c233a067f9494c2effa
2014-08-12 10:51:38 -04:00
..
cfn replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
clients Client plugin exception handling methods 2014-07-31 16:49:08 -05:00
hot replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
notification Port to oslo.messaging 2014-06-26 06:45:52 +02:00
resources Nova use ClientPlugin.ignore_not_found 2014-08-11 17:27:50 -05:00
__init__.py Do not initialize anything during import phase 2013-04-24 10:03:06 -07:00
api.py Add RPC method to snapshot stacks 2014-07-31 12:38:13 +02:00
attributes.py Refactor selecting values from an attribute 2014-07-15 10:21:56 -04:00
constraints.py Always convert string type params to string 2014-08-06 18:02:42 -04:00
dependencies.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
environment.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
event.py Replacing variable logger on LOG 2014-05-27 15:48:33 -04:00
function.py Use six.add_metaclass instead of __metaclass__ 2014-07-21 08:09:39 +02:00
parameter_groups.py Replacing variable logger on LOG 2014-05-27 15:48:33 -04:00
parameters.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
parser.py Move the Stack class into stack.py 2014-07-24 15:58:25 +10:00
plugin_manager.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
properties.py Add immutable property attribute 2014-08-08 11:49:36 +03:00
resource.py Check resources are in expected states 2014-08-12 10:51:38 -04:00
rsrc_defn.py Use None instead of mutables in method params defaults 2014-07-02 16:33:12 +08:00
scheduler.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
service.py Check resources are in expected states 2014-08-12 10:51:38 -04:00
signal_responder.py Replacing variable logger on LOG 2014-05-27 15:48:33 -04:00
stack_lock.py Fix H201 violations and re-enable gating 2014-07-11 10:17:38 +08:00
stack_resource.py Check resources are in expected states 2014-08-12 10:51:38 -04:00
stack_user.py stack user add _user_token 2014-07-21 15:29:07 +01:00
stack.py Check resources are in expected states 2014-08-12 10:51:38 -04:00
support.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
template.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
timestamp.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
update.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
watchrule.py Store clients in context 2014-07-21 13:00:21 -04:00