summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/mapper/flow.rst
blob: 9fe3bfbbfe1e84b0e648479798a3f0afedb42318 (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
29
30
31
32
33
34
35
36
37
38
39
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright 2018-2019 Tech Mahindra Ltd.

============
Flow for converting Rest Conf Collector notification
============
.. [1] RestConf Collector generates rcc-notication in JSON format and publishes it on DMaaP topic **unathenticated.DCAE_RCC_OUTPUT**
.. [2] The Universal VES Adapter(UVA) microservice has subscribed to this DMaaP topic.
.. [3] On receiving an event from DMaaP, the adapter uses the corresponding mapping file and converts received notification into the VES event. It uses the notification-id from the received notification to find the required mapping file. 
.. [4] Those notifications for which no mapping file is identified, a default mapping file is used with generic mappings to create the VES event.
.. [5] The VES formatted Event will be then published on DMaaP topic **unauthenticated.VES_PNFREG_OUTPUT**.


.. image:: ./flow-rest-conf.png
   :height: 200px
   :width: 300 px
   :scale: 50 %
   :alt: alternate text
   :align: left
   
   
   ============
Flow for converting SNMP Collector notification
============
.. [1] VNF submits SNMP traps to the SNMP collector.
.. [2] Collector converts the trap into JSON format and publishes it on DMaaP topic **unauthenticated.ONAP-COLLECTOR-SNMPTRAP**
.. [3] The Universal VES Adapter(UVA) microservice has subscribed to this DMaaP topic.
.. [4] On receiving an event from DMaaP, the adapter uses the corresponding mapping file and converts received event into the VES event. It uses the enterprise ID from the received event to find the required mapping file. 
.. [5] Those SNMP Traps for which no mapping file is identified, a default mapping file is used with generic mappings to create the VES event.
.. [6] The VES formatted Event will be then published on DMaaP topic **unauthenticated.SEC_FAULT_OUTPUT**.


.. image:: ./flow.png
   :height: 200px
   :width: 300 px
   :scale: 50 %
   :alt: alternate text
   :align: left