metadata:
 name: one_vertex
definitions:
 entities:
  - entity:
     category: RESOURCE
     type: nova.instance
     template_id: instance2
 relationships:
scenarios:
 - scenario:
    condition: instance2
    actions:
     - action:
        action_type: raise_alarm
        properties:
         alarm_name: alarm_x
         severity: WARNING
        action_target:
         target: instance2
     - action:
        action_type: execute_mistral
        properties:
         workflow: wf_instance
