From 0e08abbbf9ac8b7bcb84e8f98439822a1cfd99fb Mon Sep 17 00:00:00 2001 From: Venkata Molluru Date: Thu, 25 Nov 2021 04:04:35 +0000 Subject: [DCAEGEN2] Enhance (KPI-MS) KpiComputation for SUM-RATIO operation. Issue-ID: DCAEGEN2-2989 Signed-off-by: Venkata Molluru Change-Id: Iba9dc9cab49fc085dc2f987cea65ad258d937d5b --- .../test/resources/kpi/kpi_config_sumratio.json | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 components/kpi-computation-ms/src/test/resources/kpi/kpi_config_sumratio.json (limited to 'components/kpi-computation-ms/src/test/resources/kpi/kpi_config_sumratio.json') diff --git a/components/kpi-computation-ms/src/test/resources/kpi/kpi_config_sumratio.json b/components/kpi-computation-ms/src/test/resources/kpi/kpi_config_sumratio.json new file mode 100644 index 00000000..1c6f79b9 --- /dev/null +++ b/components/kpi-computation-ms/src/test/resources/kpi/kpi_config_sumratio.json @@ -0,0 +1,34 @@ +{ + "domain": "measurementsForKpi", + "methodForKpi": [{ + "eventName": "perf3gpp_CORE_AMF_pmMeasResult", + "controlLoopSchemaType": "SLICE", + "policyScope": "resource=networkSlice;type=configuration", + "policyName": "configuration.dcae.microservice.pm-mapper.xml", + "policyVersion": "v0.0.1", + "kpis": [{ + "measType": "AMFRegNbr", + "operation": "SUM", + "operands": ["RM.RegisteredSubNbrMean"] + }] + }, + { + "eventName": "perf3gpp_AcmeNode-Acme_pmMeasResult", + "controlLoopSchemaType": "SLICE", + "policyScope": "resource=networkSlice;type=configuration", + "policyName": "configuration.dcae.microservice.pm-mapper.xml", + "policyVersion": "v0.0.1", + "kpis": [{ + "measType": "UpstreamThr", + "operation": "SUMRATIO", + "operands": ["GTP.InDataOctN3UPF","GTP.OutDataOctN3UPF"] + }, + { + "measType": "DownstreamThr", + "operation": "SUMRATIO", + "operands": ["GTP.InDataOctN3UPF","GTP.OutDataOctN3UPF"] + } + ] + } + ] +} -- cgit 1.2.3-korg