From: demx8as6 Date: Sat, 24 Sep 2022 12:03:12 +0000 (+0200) Subject: Create template for notifyClearedAlarm X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=4c1e7c7af54606a8497c4e9d8bcaa13ff61b3353;p=oam.git Create template for notifyClearedAlarm - updates on notifyNewAlarm template IssueID: OAM-291 Change-Id: Idc7105a0fdd63abed47dbce867cb37771aa93de3 Signed-off-by: demx8as6 --- diff --git a/code/client-scripts-ves-v7/json/templates/stndDefined-r16-notify-new-alarm.json b/code/client-scripts-ves-v7/json/templates/stndDefined-r16-notify-new-alarm.json new file mode 100644 index 0000000..fea0de0 --- /dev/null +++ b/code/client-scripts-ves-v7/json/templates/stndDefined-r16-notify-new-alarm.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/-/raw/Rel-16/OpenAPI/TS28532_FaultMnS.yaml#components/schemas/NotifyNewAlarm", + "data": { + "href": "href1", + "notificationId": 0, + "notificationType": "notifyNewAlarm", + "eventTime": "@eventTime@", + "systemDN": "xyz", + "alarmId": "@alarm@", + "alarmType": "COMMUNICATIONS_ALARM", + "probableCause": "@alarm@", + "specificProblem": "@alarm@", + "perceivedSeverity": "@severity@", + "backedUpStatus": true, + "backUpObject": "xyz", + "trendIndication": "MORE_SEVERE", + "thresholdInfo": { + "observedMeasurement": "new", + "observedValue": 123.1 + }, + "correlatedNotifications": [], + "stateChangeDefinition": [{ "operational-state": "DISABLED" }], + "monitoredAttributes": { + "interface": "@interface@" + }, + "proposedRepairActions": "Call the police!", + "additionalText": "O-RAN Software Community OAM", + "additionalInformation": { + "eventTime": "@eventTime@", + "equipType": "@type@", + "vendor": "@vendor@", + "model": "@model@" + }, + "rootCauseIndicator": false + }, + "stndDefinedFieldsVersion": "1.0" + } + } +} \ No newline at end of file