aboutsummaryrefslogtreecommitdiffstats
path: root/templates/measurement.json
blob: a29b063db6182d757431683db662e94d3118e846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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": []
    }
  }
}