aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 702ebc78e470bed1e74cda5144cdca16a4c5d77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Missing Heartbeat service

# Interface Diagram
This repo is the thing in red:

![Alt text](doc/cbs_diagram.png?raw=true)

# Overview

Missing Heartbeat service tracks Heartbeat messages from VNF VMs and generates Missing Heartbeat signal for certain number of failed heartbeats. The service tracks heartbeat Messages from DMaaP message routes and generates Missing Heartbeat signal.  The IP:Port of DMaaP Message router for Input messages and Output messages needs to  be configured. The input and output messages are in JSON format.
The VNF VMs input topic , output topic, periodicity and number of Heartbests can be configuredin cofig YAML file.   
   The format of output messages is still being worked out.
# Assumptions
1. Input and Output messages are in JSON format
2. The periodicity of Heartbeat messages is more than 15sec


# Testing
You need tox:
```
pip install tox
```
Then from the root dir, *not in a virtual env*, just run:
```
tox
```
You may have to alter the tox.ini for the python envs you wish to test with.