metadata:
 name: basic_template_with_include
 description: basic template for general tests
includes:
  - name: fake_def_template
definitions:
 entities:
  - entity:
     category: ALARM
     type: nagios
     name: host_problem
     template_id: alarm11
  - entity:
     category: RESOURCE
     type: nova.host
     template_id: resource11
 relationships:
  - relationship:
     source: alarm11
     target: resource11
     relationship_type: on
     template_id : alarm11_on_host11
scenarios:
 - scenario:
    condition: alarm_on_host11
    actions:
     - action:
        action_type: set_state
        properties:
         state: SUBOPTIMAL
        action_target:
         target: resource11
