metadata:
 name: not_or_unsupported2
definitions:
 entities:
  - entity:
     category: ALARM
     type: nagios
     name: alarm2
     severity: WARNING
     template_id: alarm2
  - entity:
     category: ALARM
     type: nagios
     name: alarm3
     severity: WARNING
     template_id: alarm3
  - entity:
     category: RESOURCE
     type: nova.instance
     template_id: instance3
 relationships:
  - relationship:
     source: alarm2
     relationship_type: on
     target: instance3
     template_id : alarm2_on_instance3
  - relationship:
     source: alarm3
     relationship_type: on
     target: instance3
     template_id : alarm3_on_instance3
scenarios:
 - scenario:
    condition: alarm2_on_instance3 or not alarm3_on_instance3
    actions:
     - action:
        action_type: raise_alarm
        properties:
         alarm_name: alarmx
         severity: WARNING
        action_target:
         target: instance3
     - action:
        action_type: execute_mistral
        properties:
         workflow: wf_3
