From 25b606b1bbe517dc20f8c2340fb6f7368fdc0b2c Mon Sep 17 00:00:00 2001 From: demx8as6 Date: Thu, 7 Apr 2022 17:04:38 +0200 Subject: [PATCH] Create more VES stndDefined Examples A new json template was created for sending stndDefined NotifyNewAlarm messages. Issue-ID: OAM-263 Change-Id: I73173400f9f2184428325548169f0a31f818c438 Signed-off-by: demx8as6 --- .../json/templates/stndDefined-notifyNewAlarm.json | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 solution/dev/client-scripts-ves-v7/json/templates/stndDefined-notifyNewAlarm.json diff --git a/solution/dev/client-scripts-ves-v7/json/templates/stndDefined-notifyNewAlarm.json b/solution/dev/client-scripts-ves-v7/json/templates/stndDefined-notifyNewAlarm.json new file mode 100644 index 0000000..7c8c732 --- /dev/null +++ b/solution/dev/client-scripts-ves-v7/json/templates/stndDefined-notifyNewAlarm.json @@ -0,0 +1,61 @@ +{ + "event": { + "commonEventHeader": { + "domain": "@domain@", + "eventId": "@eventId@", + "eventName": "@domain@_@eventType@_Alarms_@alarm@", + "eventType": "@eventType@_Alarms", + "sequence": 0, + "priority": "Low", + "reportingEntityId": "", + "reportingEntityName": "@controllerName@", + "sourceId": "", + "sourceName": "@pnfId@", + "startEpochMicrosec": "@timestamp@", + "lastEpochMicrosec": "@timestamp@", + "nfNamingCode": "@type@", + "nfVendorName": "@vendor@", + "timeZoneOffset": "+00:00", + "version": "4.1", + "stndDefinedNamespace": "3GPP-FaultSupervision", + "vesEventListenerVersion": "7.2.1" + }, + "stndDefinedFields": { + "schemaReference": "https://forge.3gpp.org/rep/sa5/MnS/blob/SA88-Rel16/OpenAPI/faultMnS.yaml#components/schemas/NotifyNewAlarm", + "data": { + "href": "href1", + "uri": "1", + "notificationId": 0, + "notificationType": "notifyNewAlarm", + "eventTime": "@eventTime@", + "systemDN": "xyz", + "alarmId": "@alarm@", + "alarmType": "COMMUNICATIONS_ALARM", + "probableCause": "@alarm@", + "specificProblem": "@alarm@", + "perceivedSeverity": "@severity@", + "correlatedNotifications": [], + "rootCauseIndicator": false, + "backedUpStatus": true, + "backUpObject": "xyz", + "trendIndication": "MORE_SEVERE", + "thresholdInfo": { + "observedMeasurement": "new", + "observedValue": 123 + }, + "monitoredAttributes": { + "interface": "@interface@" + }, + "proposedRepairActions": "Call the police!", + "additionalText": "O-RAN Software Community OAM", + "additionalInformation": { + "eventTime": "@eventTime@", + "equipType": "@type@", + "vendor": "@vendor@", + "model": "@model@" + } + }, + "stndDefinedFieldsVersion": "1.0" + } + } +} \ No newline at end of file -- 2.16.6