X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=kafka-pm-producer%2Fdocs%2Foverview.rst;fp=kafka-pm-producer%2Fdocs%2Foverview.rst;h=b2469ef8a0f712d7932f65cc6e69ca835891819a;hb=499fc3793b4af0fafa36b5ed0eded6e8f1ec4a39;hp=0000000000000000000000000000000000000000;hpb=75de76f7874f32495fd0a3b41fea8bf45d79b587;p=nonrtric%2Fplt%2Franpm.git diff --git a/kafka-pm-producer/docs/overview.rst b/kafka-pm-producer/docs/overview.rst new file mode 100644 index 0000000..b2469ef --- /dev/null +++ b/kafka-pm-producer/docs/overview.rst @@ -0,0 +1,129 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. SPDX-License-Identifier: CC-BY-4.0 +.. Copyright (C) 2023 Nordix + + +PM Data Converter +~~~~~~~~~~~~~~~~~ + + +******** +Overview +******** + +The task of the PM Data Converter is to convert PM Measurement report files, +(XML formatted according to 3GPP TS 32.432 and 3GPP TS 32.435) into Json. + +The component receives objects from kafka that indicates that new PM Report files +are collected from the RAN. The event is sent by the Data File Collector. + +The XML file is read from the storage, converted to Json, gzipped and stored. + +A Json object indicating that a new Json PM Mesurement report is available is sent on +a Kafka topic to be picked up by other components for further processing, + +.. image:: ./Architecture.png + :width: 500pt + + + +This product is a part of :doc:`NONRTRIC `. + + + +********************* +Output PM Measurement +********************* + +The Json format of the PM mesaurememt follows the same structure as the input XML format (defined by 3GPP). + +Here follows an example: + +.. code-block:: javascript + + { + "event":{ + "commonEventHeader":{ + "domain":"perf3gpp", + "eventId":"9efa1210-f285-455f-9c6a-3a659b1f1882", + "eventName":"perf3gpp_gnb-Ericsson_pmMeasResult", + "sourceName":"O-DU-1122", + "reportingEntityName":"", + "startEpochMicrosec":951912000000, + "lastEpochMicrosec":951912900000, + "timeZoneOffset":"+00:00" + }, + "perf3gppFields":{ + "perf3gppFieldsVersion":"1.0", + "measDataCollection":{ + "granularityPeriod":900, + "measuredEntityUserName":"RNC Telecomville", + "measuredEntityDn":"SubNetwork=CountryNN,MeContext=MEC-Gbg-1,ManagedElement=RNC-Gbg-1", + "measuredEntitySoftwareVersion":"", + "measInfoList":[ + { + "measInfoId":{ + "sMeasInfoId":"PM=1,PmGroup=NRCellDU_GNBDU" + }, + "measTypes":{ + "sMeasTypesList":[ + "succImmediateAssignProcs" + ] + }, + "measValuesList":[ + { + "measObjInstId":"RncFunction=RF-1,UtranCell=Gbg-997", + "suspectFlag":"false", + "measResults":[ + { + "p":1, + "sValue":"1113" + } + ] + }, + { + "measObjInstId":"RncFunction=RF-1,UtranCell=Gbg-998", + "suspectFlag":"false", + "measResults":[ + { + "p":1, + "sValue":"234" + } + ] + }, + { + "measObjInstId":"RncFunction=RF-1,UtranCell=Gbg-999", + "suspectFlag":"true", + "measResults":[ + { + "p":1, + "sValue":"789" + } + ] + } + ] + } + ] + } + } + } + } + + +************************** +Output File Ready Message +************************** + +Here follows an example of the sent object indicating that a new Json file is available. +It only contains the name of the stored file. The name of the bucket and the minio endpoint +must be known by the event receiver. + +.. code-block:: javascript + + { + "filename": "xyz.json.gzip" + } + + + +