diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/cmNotification.json | 32 | ||||
-rw-r--r-- | templates/measurement.json | 44 | ||||
-rw-r--r-- | templates/notification.json | 42 | ||||
-rw-r--r-- | templates/notificationHttpServer.json | 52 | ||||
-rw-r--r-- | templates/registration.json | 33 |
5 files changed, 203 insertions, 0 deletions
diff --git a/templates/cmNotification.json b/templates/cmNotification.json new file mode 100644 index 0000000..750ce30 --- /dev/null +++ b/templates/cmNotification.json @@ -0,0 +1,32 @@ +{ + "event": { + "otherFields": { + "otherFieldsVersion": "3.0", + "jsonObjects": [ + { + "objectName": "CustomNotification", + "objectInstances": [ + { + "objectInstance": { + "cm3gppNotifyFields": { + "dN": "#dN", + "notificationType": "notifyMOIAttributeValueChange", + "notificationId": "notificationID123121312323", + "sourceIndicator": "sONOperation", + "eventTime": "#Timestamp", + "systemDN": "NRNB=5", + "attributeList": "#attributeList", + "correlatedNotifications": { + "notificationID-notifyMOIAttributeValueChange": "sONOperation" + }, + "additionalText": "sometext", + "cm3gppNotifyFieldsVersion": "1.0" + } + } + } + ] + } + ] + } + } +} diff --git a/templates/measurement.json b/templates/measurement.json new file mode 100644 index 0000000..a29b063 --- /dev/null +++ b/templates/measurement.json @@ -0,0 +1,44 @@ +{ + "event": { + "commonEventHeader": { + "domain": "measurementsForVfScaling", + "eventName": "vFirewallBroadcastPackets", + "eventId": "eventID123121312323", + "nfType": "mrfx", + "priority": "Normal", + "reportingEntityName": "vnf", + "sequence": 1, + "sourceName": "sample-vnf-#RandomInteger(1,10)", + "startEpochMicrosec": "#TimestampPrimitive", + "lastEpochMicrosec": "#TimestampPrimitive", + "version": 1.0 + }, + "measurementsForVfScalingFields": { + "measurementsForVfScalingFieldsVersion": 2.0, + "measurementsForVfScalingVersion": 2.0, + "measurementInterval": 180, + "concurrentSessions": 2, + "requestRate": "#RandomPrimitiveInteger(50,100)", + "meanRequestLatency": "#RandomPrimitiveInteger(1,1000)", + "cpuUsageArray": [ + { + "cpuIdentifier": "INTEL_CORE_I7_1", + "percentUsage": "#RandomPrimitiveInteger(1,100)" + }, + { + "cpuIdentifier": "INTEL_CORE_I7_2", + "percentUsage": "#RandomPrimitiveInteger(1,100)" + } + ], + "memoryUsageArray": [ + { + "vmIdentifier": "vmIdentifier", + "memoryFree": 50, + "memoryUsed": 10 + } + ], + "numberOfMediaPortsInUse": 100, + "additionalMeasurements": [] + } + } +} diff --git a/templates/notification.json b/templates/notification.json new file mode 100644 index 0000000..74888fb --- /dev/null +++ b/templates/notification.json @@ -0,0 +1,42 @@ +{ + "event": { + "commonEventHeader": { + "domain": "notification", + "eventName": "vFirewallBroadcastPackets", + "eventId": "4cfc-91cf-31a46", + "priority": "Normal", + "reportingEntityName": "myVNF", + "sequence": 1, + "sourceName": "ClosedLoopVNF", + "startEpochMicrosec": 1531616794, + "lastEpochMicrosec": 1531719042, + "vesEventListenerVersion": "7.0.1", + "version": "4.0.1" + }, + "notificationFields": { + "changeIdentifier": "PM_MEAS_FILES", + "changeType": "FileReady", + "arrayOfNamedHashMap": [ + { + "name": "A20161221.1031-1041.bin.gz", + "hashMap": { + "fileformatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10", + "location": "ftpes://192.169.0.1:22/ftp/rop/A20161224.1030-1045.bin.gz", + "compression": "gzip" + } + }, + { + "name": "A20161222.1042-1102.bin.gz", + "hashMap": { + "fileFormatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10", + "location": "ftpes://192.168.0.102:22/ftp/rop/A20161224.1045-1100.bin.gz", + "compression": "gzip" + } + } + ], + "notificationFieldsVersion": "2.0" + } + } +} diff --git a/templates/notificationHttpServer.json b/templates/notificationHttpServer.json new file mode 100644 index 0000000..f4fcc76 --- /dev/null +++ b/templates/notificationHttpServer.json @@ -0,0 +1,52 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.0.1", + "domain": "notification", + "eventName": "Notification_gnb-Nokia_FileReady", + "eventId": "FileReady_1797490e-10ae-4d48-9ea7-3d7d790b25e1", + "lastEpochMicrosec": 8745745764578, + "priority": "Normal", + "reportingEntityName": "NOK6061ZW3", + "sequence": 0, + "sourceName": "NOK6061ZW3", + "startEpochMicrosec": 8745745764578, + "timeZoneOffset": "UTC+05.30" + }, + "notificationFields": { + "changeIdentifier": "PM_MEAS_FILES", + "changeType": "FileReady", + "notificationFieldsVersion": "2.0", + "arrayOfNamedHashMap": [ + { + "name": "C_28532_measData_pm_98.xml", + "hashMap": { + "location": "http://demo:demo123456!@localhost:32080/E_VES_bulkPM_IF_3GPP_3_example_1.xml.gz", + "compression": "gzip", + "fileFormatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10" + } + }, + { + "name": "C_28532_measData_pm_99.xml", + "hashMap": { + "location": "http://demo:demo123456!@localhost:32080/E_VES_bulkPM_IF_3GPP_3_example_1.xml.gz", + "compression": "gzip", + "fileFormatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10" + } + }, + { + "name": "C_28532_measData_pm_100.xml", + "hashMap": { + "location": "http://demo:demo123456!@localhost:32080/E_VES_bulkPM_IF_3GPP_3_example_1.xml.gz", + "compression": "gzip", + "fileFormatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10" + } + } + ] + } + } +} diff --git a/templates/registration.json b/templates/registration.json new file mode 100644 index 0000000..5c4dea5 --- /dev/null +++ b/templates/registration.json @@ -0,0 +1,33 @@ +{ + "event": { + "commonEventHeader": { + "eventId": "registration_39239592", + "eventType": "pnfRegistration", + "reportingEntityName": "NOK6061ZW3", + "domain": "pnfRegistration", + "nfcNamingCode": "oam", + "sequence": 0, + "sourceId": "val13", + "internalHeaderFields": {}, + "priority": "Normal", + "sourceName": "NOK6061ZW3", + "eventName": "pnfRegistration_Nokia_5gDu", + "version": "4.0.1", + "nfNamingCode": "gNB", + "startEpochMicrosec": 1539239592379, + "vesEventListenerVersion": "7.0.1", + "lastEpochMicrosec": 1539239592379 + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.0", + "serialNumber": "6061ZW3", + "vendorName": "Nokia", + "oamV4IpAddress": "val3", + "oamV6IpAddress": "val4", + "unitFamily": "BBU", + "modelNumber": "val6", + "softwareVersion": "val7", + "unitType": "val8" + } + } +} |