Support External Actions

Registered by Ifat Afek

Currently, Vitrage templates support the following actions: raise alarm, set state, mark causal relationship, and mark-down.
The implementation of mark-down is patchy (update a property on the vertex and call the notifier).

We need a way to define in the template an external action that should be taken. One example is the mark-down. Another example is to execute a Mistral workflow or a Congress policy.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Ifat Afek
Direction:
Approved
Assignee:
Ifat Afek
Definition:
Approved
Series goal:
Accepted for pike
Implementation:
Implemented
Milestone target:
None
Started by
Ifat Afek
Completed by
Ifat Afek

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/support-external-actions,n,z

Addressed by: https://review.openstack.org/473728
    Support external actions in Vitrage templates.

Addressed by: https://review.openstack.org/475179
    Support external actions in Vitrage templates.

Addressed by: https://review.openstack.org/477572
    Refactor the Vitrage template validators and their tests.

Addressed by: https://review.openstack.org/478529
    Move template_content_validator and test_template_content_validator to the correct packages. This should have been part of https://review.openstack.org/477572 but was removed due to git issues.

Addressed by: https://review.openstack.org/484401
    Execute an external engine from Vitrage

Gerrit topic: https://review.openstack.org/#q,topic:validate_not,n,z

Addressed by: https://review.openstack.org/485551
    Add template validations, to handle the case of actions that don't have an action_target

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.