Files
vitrage-tempest-plugin/vitrage_tempest_plugin/tests/resources/templates/api/corrupted_template.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

28 lines
634 B
YAML

metadata:
name: corrupted_template
definitions:
entities:
- entity:
category: RESOURCE
type: nova.host
template_id: host
- entity:
category: RESOURCE
type: nova.instance
template_id: instance
relationships:
- relationship:
source: host
target: instance
relationship_type: contains
template_id: host_contains_instance
scenarios:
- scenario:
condition: alarm_on_host and host_contains_instance and alarm_on_instance
actions:
- action:
action_type: add_causal_relationship
action_target:
source: host_alarm
target: instance_alarm