Files
vitrage-tempest-plugin/vitrage_tempest_plugin/tests/resources/templates/api/v1_execute_mistral.yaml
T
Ifat Afek 8534ccb721 Renamed vitrage_tempest_tests to vitrage_tempest_plugin
In order to add vitrage_tempest_plugin to PyPi and to OpenStack CI system,
it must be named vitrage_tempest_plugin. vitrage_tempest_tests was a
copy&paste mistake.

Change-Id: I574414aba16377cc550111b9bcd627c28f04fc49
2018-02-22 13:53:57 +00:00

30 lines
634 B
YAML

metadata:
version: 1
name: v1_execute_mistral
description: execute mistral
definitions:
entities:
- entity:
category: ALARM
name: notifiers.mistral.trigger.alarm.1
template_id: alarm
- entity:
category: RESOURCE
type: nova.host
template_id: host
relationships:
- relationship:
source: alarm
relationship_type: on
target: host
template_id : alarm_on_host
scenarios:
- scenario:
condition: alarm_on_host
actions:
- action:
action_type: execute_mistral
properties:
workflow: wf_for_tempest_test_1234
farewell: Hello and Goodbye