Vitrage template add and template validate can now be called with either a path or a string that holds the template yaml. Change-Id: Ieaa372e92d201b46124163b164cc868ae35c86b2 Story: 2004055 Task: 27061
17 lines
263 B
YAML
17 lines
263 B
YAML
metadata:
|
|
version: 3
|
|
name: template1
|
|
description: simple template
|
|
type: standard
|
|
entities:
|
|
alarm:
|
|
name: cpu problem
|
|
host:
|
|
type: nova.host
|
|
scenarios:
|
|
- condition: alarm [ on ] host
|
|
actions:
|
|
- set_state:
|
|
state: ERROR
|
|
target: host
|