Jump to: navigation, search

Difference between revisions of "Vitrage/Blueprints/deduced-state"

(Flow Example)
(Blanked the page)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Overview==
 
As discussed in the Template Condition Evaluation, template conditions are tested to see if they evaluate to true. When this happens, we need to perform the actions specified in the template.
 
In this blueprint we discuss the Deduce Alarm template, which enables to set the state of a resource after the condition is met. For example: the state of a resource should be changed as a result of a new alarm raised on that resource.
 
 
==Template Details==
 
The Deduce Alarm template describes an if-then flow. Specifically, if alarm X happens on resource A then then change resource A state.
 
The if portion includes a condition on the cloud state, which also specifies the relation between the different resources being considered.
 
The then portion describes the new state and the resource which is affected.
 
 
When the condition evaluates to false, the state reverts back the value it would be without this template.
 
The state will be managed through the relevant OpenStack project
 
  
==Flow Example==
 
When alarm X happens on resource A, update resource B state.
 
[[File:deduce-alarm|thumbnail]]
 

Latest revision as of 10:13, 15 November 2015