Go to file
Steven Hardy 53c46f0b34 Add hook-poll function to check if a stack has pending hooks
Currently using the breakpoints/hooks functionality on large trees of
stacks is a bit inconvenient, because you may set hooks in nested stacks
so the events aren't easily visible via the top-level event interfaces.

This has been addressed via the new --nested-depth option to event-list,
but it's still hard to determine (programatically e.g from a script) if
there's pending hook which requires clearing.

So this patch introduces an initial implementation of a specialized
event-list function "hook-poll", which filters the events and displays
only those events which have pending hooks (e.g those which have yet
to be signalled to clear them).

I expect the efficiency of the implementation can be much improved in the
future if we add a propert nested_depth argument to the heat events API,
and/or add a hook API which enables easier introspection of hook status.
The CLI interface should be reasonable in the event such rework happens,
but the current (slow) implementation will work with the API interfaces
we have available now in kilo Heat.

Change-Id: I71b19202ab29f44e5c09b4ee04be4aeaea038c28
2015-05-11 11:01:08 +01:00
2015-02-12 22:28:34 +05:30
2014-09-11 18:54:13 +02:00
2014-07-24 18:08:03 -04:00
2012-12-02 17:48:42 +00:00
2013-05-31 20:13:37 +10:00
2014-12-10 12:11:48 +02:00
2012-10-10 08:55:03 +13:00
2014-12-10 12:11:48 +02:00
2014-01-13 16:23:20 +13:00
2014-12-10 12:11:48 +02:00
2014-06-18 00:47:23 +00:00
2015-05-11 11:01:08 +01:00

python-heatclient

OpenStack Orchestration API Client Library

This is a client library for Heat built on the Heat orchestration API. It provides a Python API (the heatclient module) and a command-line tool (heat).

Description
OpenStack Orchestration (Heat) Client
Readme 14 MiB
Languages
Python 100%