Include ieft-hardware 27/9127/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Wed, 28 Sep 2022 14:35:01 +0000 (16:35 +0200)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Wed, 28 Sep 2022 14:35:19 +0000 (16:35 +0200)
- add an event template

IssueID: OAM-301
Change-Id: I56d54ccb4614c2e3a2c2c76c9d9536f85ce20ef9
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
code/client-scripts-ves-v7/json/templates/stndDefined-o1NotifyPnfRegistration.json [new file with mode: 0644]

diff --git a/code/client-scripts-ves-v7/json/templates/stndDefined-o1NotifyPnfRegistration.json b/code/client-scripts-ves-v7/json/templates/stndDefined-o1NotifyPnfRegistration.json
new file mode 100644 (file)
index 0000000..2ac255b
--- /dev/null
@@ -0,0 +1,60 @@
+{
+  "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": "o1-notify-pnf-registration",
+      "vesEventListenerVersion": "7.2.1"
+    },
+    "stndDefinedFields": {
+      "schemaReference": "https://gerrit.o-ran-sc.org/r/gitweb?p=scp/oam/modeling.git;a=blob;f=data-model/yang/working/o-ran-sc/template/yes-o1-notify-pnf-registration.yang",
+      "data": {
+        "object-class": "managed-element",
+        "object-instance": "@pnfId@",
+        "notification-identifier": "@timestamp@",
+        "notification-type": "o1-notify-pnf-registration",
+        "event-time": "@eventTime@",
+        "system": "xyz",
+        "o1-specification-version": "v07.00",
+        "vendor-pen": "57272",
+        "vendor-name": "highstreet technologies USA Corp.",
+        "oam-host": "@oamIpV6@",
+        "oam-port": 830,
+        "unit-family": "@vendor@-@type@",
+        "unit-type": "@type@",
+        "restart-reason": "system-reboot",
+        "serial-number": "@vendor@-@type@-@oamIp@-@model@",
+        "macAddress": "@macAddress@",
+        "modelNumber": "@model@",
+        "softwareVersion": "2.3.5",
+        "manufactureDate": "2021-01-16",
+        "lastServiceDate": "2021-03-26",
+        "transport-protocol": "SSH",
+        "username": "netconf",
+        "password": "netconf!",
+        "reconnect-on-changed-schema": "false",
+        "sleep-factor": "1.5",
+        "tcpOnly": "false",
+        "connection-timeout": "20000",
+        "max-connection-attempts": "100",
+        "between-attempts-timeout": "2000",
+        "keepalive-delay": "120"
+      },
+      "stndDefinedFieldsVersion": "1.0"
+    }
+  }
+}
\ No newline at end of file