Skip to content
Snippets Groups Projects
Commit f4062419 authored by Nikolay Stanchev's avatar Nikolay Stanchev
Browse files

Resolves merge conflicts

parents e971f449 af59d5dd
Branches
Tags
No related merge requests found
...@@ -21,26 +21,28 @@ ...@@ -21,26 +21,28 @@
// Created for Project : FLAME // Created for Project : FLAME
--> -->
# **FLAME - Alerts Configuration** # **FLAME - TOSCA Alerts Specification**
#### **Authors** #### **Authors**
|Authors|Organisation| |Authors|Organisation|
|:---:|:---:| |:---:|:---:|
|[Nikolay Stanchev](mailto:ns17@it-innovation.soton.ac.uk)|[University of Southampton, IT Innovation Centre](http://www.it-innovation.soton.ac.uk)| |[Nikolay Stanchev](mailto:ns17@it-innovation.soton.ac.uk)|[University of Southampton, IT Innovation Centre](http://www.it-innovation.soton.ac.uk)|
|[Michael Boniface](mailto:mjb@it-innovation.soton.ac.uk)|[University of Southampton, IT Innovation Centre](http://www.it-innovation.soton.ac.uk)|
#### Description #### Description
This document outlines the configuration of alerts within CLMC. Alerts are configured through a YAML-based This document outlines the TOSCA alert specification used to configure alerts within CLMC. Alerts are configured through a YAML-based
TOSCA-compliant document. This document is passed to the CLMC service, which parses and validates the document. Subsequently, TOSCA-compliant document according to the TOSCA simple profile. This document is passed to the CLMC service, which parses and validates the document. Subsequently, the CLMC service
the CLMC service creates and activates the alerts within Kapacitor, then registers the HTTP alert handlers specified in the document. creates and activates the alerts within Kapacitor, then registers the HTTP alert handlers specified in the document.
The specification is compliant with the TOSCA policy template as implemented by the Openstack tosca parser. See an example below:
https://github.com/openstack/tosca-parser/blob/master/toscaparser/tests/data/policies/tosca_policy_template.yaml
#### TOSCA Alerts Configuration Document #### TOSCA Alerts Specification Document
The TOSCA Alerts Configuration Document consists of two main sections - **metadata** and **policies**. Full definitions and The TOSCA Alerts Specification Document consists of two main sections - **metadata** and **triggers**. Full definitions and
clarification of the structure of the document is given in the following sections. An example of a valid alert configuration clarification of the structure of the document is given in the following sections. An example of a valid alert specification
document will look like: document will look like:
```yaml ```yaml
...@@ -104,7 +106,7 @@ topology_template: ...@@ -104,7 +106,7 @@ topology_template:
##### Metadata ##### Metadata
The ***metadata*** section specifies the service function chain ID and the service function chain instance ID, for which this The ***metadata*** section specifies the service function chain ID and the service function chain instance ID, for which this
alerts configuration relates to. The format is the following: alerts specification relates to. The format is the following:
```yaml ```yaml
metadata: metadata:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment