From 7d0aedda98b3b2890b3f7d9b5de04527073cd16f Mon Sep 17 00:00:00 2001 From: Pooja03 Date: Thu, 15 Nov 2018 12:52:43 +0530 Subject: Correcting Mapper index page Correcting index page of mapper in readthedocs Change-Id: I19e6f535496085982c94e8111b07145d5ed3c0ec Issue-ID: DCAEGEN2-936 Signed-off-by: Pooja03 --- docs/sections/services/mapper/MappingFile.rst | 84 --------------------------- docs/sections/services/mapper/index.rst | 8 +-- docs/sections/services/mapper/mappingfile.rst | 84 +++++++++++++++++++++++++++ 3 files changed, 88 insertions(+), 88 deletions(-) delete mode 100644 docs/sections/services/mapper/MappingFile.rst create mode 100644 docs/sections/services/mapper/mappingfile.rst diff --git a/docs/sections/services/mapper/MappingFile.rst b/docs/sections/services/mapper/MappingFile.rst deleted file mode 100644 index e99ba5a9..00000000 --- a/docs/sections/services/mapper/MappingFile.rst +++ /dev/null @@ -1,84 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. Copyright 2018 Tech Mahindra Ltd. - -Mapping File -============ - -Mapping file is needed by Universal VES Adapter to convert the telemetry data into the VES format. -The Adapter uses Smooks Framework to do the data format conversion by using the mapping files. -Currently it requires to write the mapping file manually and upload it using the SnmpMapper application. The file gets stored into the postgres database. The pgInventory instance is used for this. - -| To know more about smooks framework check the following link: -| http://www.smooks.org/guide - -Following is the default snmp mapping file which is used when no mapping file is found while processing event from SNMP Trap Collector. - -.. code-block:: xml - - - - - - - - - - - - - - - - - - - - - - "3.0" - "XXXX" - "VesAdapter" - "fault" - commonEventHeader.domain+"_"+"_"+ faultFields.alarmCondition; - - - - "Medium" - "VesAdapter" - - - - - "MINOR" - "SNMP Agent" - "SNMP Fault" - - - "Active" - - - - - - - - - - - - - - - diff --git a/docs/sections/services/mapper/index.rst b/docs/sections/services/mapper/index.rst index 81122932..8d5ebed9 100644 --- a/docs/sections/services/mapper/index.rst +++ b/docs/sections/services/mapper/index.rst @@ -23,8 +23,8 @@ There are 2 micro services in the mapper functionality. .. toctree:: :maxdepth: 1 - ./flow.rst - ./delivery.rst - ./installation.rst - ./MappingFile.rst + ./flow.rst + ./delivery.rst + ./installation.rst + ./mappingfile.rst ./SampleSnmpTrapConversion diff --git a/docs/sections/services/mapper/mappingfile.rst b/docs/sections/services/mapper/mappingfile.rst new file mode 100644 index 00000000..e99ba5a9 --- /dev/null +++ b/docs/sections/services/mapper/mappingfile.rst @@ -0,0 +1,84 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. Copyright 2018 Tech Mahindra Ltd. + +Mapping File +============ + +Mapping file is needed by Universal VES Adapter to convert the telemetry data into the VES format. +The Adapter uses Smooks Framework to do the data format conversion by using the mapping files. +Currently it requires to write the mapping file manually and upload it using the SnmpMapper application. The file gets stored into the postgres database. The pgInventory instance is used for this. + +| To know more about smooks framework check the following link: +| http://www.smooks.org/guide + +Following is the default snmp mapping file which is used when no mapping file is found while processing event from SNMP Trap Collector. + +.. code-block:: xml + + + + + + + + + + + + + + + + + + + + + + "3.0" + "XXXX" + "VesAdapter" + "fault" + commonEventHeader.domain+"_"+"_"+ faultFields.alarmCondition; + + + + "Medium" + "VesAdapter" + + + + + "MINOR" + "SNMP Agent" + "SNMP Fault" + + + "Active" + + + + + + + + + + + + + + + -- cgit 1.2.3-korg