SOL002SOL003VNFPerformanceManagement_def.yaml 29.6 KB
Newer Older
1
2
3
4
5
6
7
8
9
# Copyright (c) ETSI 2017.
# https://forge.etsi.org/etsi-forge-copyright-notice.txt

definitions:
  CreateThresholdRequest:
    description: >
      This type represents a request to create a threshold.
    type: object
    required:
10
      - objectType
11
12
      - objectInstanceId
      - criteria
13
      - callbackUri
14
    properties:
15
16
17
18
19
20
      objectType:
        description: >
          Type of the measured object.
          The applicable measured object type for a measurement
          is defined in clause 7.2 of ETSI GS NFV-IFA 027.
        type: string
21
22
23
24
      objectInstanceId:
        description: >
          Identifier of the VNF instance associated with this threshold.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
25
26
27
28
29
30
31
32
33
34
35
36
37
      subObjectInstanceIds:
        description: >
          Identifiers of the sub-object instances of the measured
          object instance associated with this threshold.
          May be present if a sub-object is defined in clause 6.2
          of ETSI GS NFV-IFA 027 for the related measured object type.
          If this attribute is absent and a sub-object is defined in
          clause 6.2 of ETSI GS NFV-IFA 027 for the measured object type,
          measurements will be taken for all sub-object instances of
          the measured object instance.
        type: array
        items:
          $ref: "SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
38
39
40
41
      criteria:
        description: >
          Criteria that define this threshold.
        $ref: "#/definitions/ThresholdCriteria"
42
43
44
45
46
47
48
49
50
51
52
53
      callbackUri:
        description: >
          The URI of the endpoint to send the notification to.
        $ref: "SOL002SOL003_def.yaml#/definitions/Uri"
      authentication:
        description: >
          Authentication parameters to configure the use of Authorization
          when sending notifications corresponding to this threshold,
          as defined in clause 8.3.4 of ETSI GS NFV-SOL 013.
          This attribute shall only be present if the API consumer requires
          authorization of notifications.
        $ref: "SOL002SOL003_def.yaml#/definitions/SubscriptionAuthentication"
54
55
56
57
58
59

  CreatePmJobRequest:
    description: >
      This type represents a request to create a PM job.
    type: object
    required:
60
61
      - objectType
      - objectInstanceIds
62
      - criteria
63
      - callbackUri
64
    properties:
65
66
67
68
69
70
      objectType:
        description: >
          Type of the measured object.
          The applicable measured object type for a measurement
           is defined in clause 7.2 of ETSI GS NFV-IFA 027.
        type: string
71
72
      objectInstanceIds:
        description: >
73
74
          Identifiers of the measured object instances for
          which performance information is requested to be collected.
75
76
77
        type: array
        items:
          $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
78
79
80
81
82
83
84
85
86
87
88
89
90
91
      subObjectInstanceIds:
        description: >
          Identifiers of the sub-object instances of the measured
          object instance for which performance information is requested to be collected.
          May be present if a sub-object is defined in clause 6.2
          of ETSI GS NFV-IFA 027for the related measured object type.
          If this attribute is present, the cardinality of the "objectInstanceIds"
          attribute shall be 1.
          If this attribute is absent and a sub-object is defined in clause 6.2
          of ETSI GS NFV IFA 027 for the related measured object type, measurements
          will be taken for all sub-object instances of the measured object instance.
        type: array
        items:
          $ref: "SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
92
93
94
95
      criteria:
        description: >
          Criteria of the collection of performance information.
        $ref: "#/definitions/PmJobCriteria"
96
97
98
99
100
101
102
103
104
105
106
107
      callbackUri:
        description: >
          The URI of the endpoint to send the notification to.
        $ref: "SOL002SOL003_def.yaml#/definitions/Uri"
      authentication:
        description: >
          Authentication parameters to configure the use of Authorization
          when sending notifications corresponding to this PM job, as defined
          in clause 8.3.4 of ETSI GS NFV-SOL 013.
          This attribute shall only be present if the API consumer
          requires authorization of notifications.
        $ref: "SOL002SOL003_def.yaml#/definitions/SubscriptionAuthentication"
108
109
110

  CrossingDirectionType:
    type: string
111
    enum:
112
113
114
115
116
117
118
      - UP
      - DOWN

  PerformanceInformationAvailableNotification:
    description: >
      This notification informs the receiver that performance information is
      available.
119
120
      The notification shall be triggered by the VNFM when new performance
      information collected by a PM job is available.
121
122
      The periodicity of triggering this notification is influenced by the 
      "reportingPeriod" attribute in the "PmJobCriteria" data structure.
123
    type: object
124
    required:
125
126
127
      - id
      - notificationType
      - timeStamp
128
      - pmJobId
129
      - objectType
130
131
      - objectInstanceId
      - _links
132
133
    properties:
      id:
134
135
136
137
138
139
140
141
142
143
144
        description: >
          Identifier of this notification. If a notification is sent multiple
          times due to multiple subscriptions, the "id" attribute of all these
          notifications shall have the same value.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
      notificationType:
        description: >
          Discriminator for the different notification types. Shall be set to
          "PerformanceInformationAvailableNotification" for this notification
          type.
        type: string
145
        enum:
146
147
148
149
150
          - PerformanceInformationAvailableNotification
      timeStamp:
        description: >
          Date and time of the generation of the notification.
        $ref: "SOL002SOL003_def.yaml#/definitions/DateTime"
151
152
153
154
      pmJobId:
        description: >
          Identifier of the PM job for which performance information is available.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
155
156
157
158
159
160
      objectType:
        description: >
          Type of the measured object.
          The applicable measured object type for a measurement
          is defined in clause 7.2 of ETSI GS NFV-IFA 027.
        type: string
161
162
      objectInstanceId:
        description: >
163
          Identifier of the measured object instance. as per clause 6.2 of ETSI GS NFV-IFA 027.
164
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
165
166
167
168
169
170
171
172
173
174
175
176
      subObjectInstanceIds:
        description: >
          Identifiers of the sub-object instances of the measured
          object instance for which the measurements have been taken.
          Shall be present if the related PM job has been set up to
          measure only a subset of all sub-object instances of the
          measured object instance and a sub-object is defined in clause
           6.2 of ETSI GS NFV-IFA 027 for the related measured object type.
          Shall be absent otherwise.
        type: array
        items:
          $ref: "SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
177
178
179
180
      _links:
        description: >
          Links to resources related to this notification.
        type: object
181
        required:
182
183
184
185
186
          - pmJob
          - performanceReport
        properties:
          objectInstance:
            description: >
187
              Link to the resource representing the measured object instance to which the
188
              notification applies. Shall be present if the measured object instance
189
              information is accessible as a resource.
190
            $ref: "SOL002SOL003_def.yaml#/definitions/NotificationLink"
191
192
193
194
          pmJob:
            description: >
              Link to the resource that represents the PM job for which
              performance information is available.
195
            $ref: "SOL002SOL003_def.yaml#/definitions/NotificationLink"
196
197
198
199
200
          performanceReport:
            description: >
              Link from which the available performance information of data
              type "PerformanceReport" can be obtained. This link should point
              to an "Individual performance report" resource.
201
            $ref: "SOL002SOL003_def.yaml#/definitions/NotificationLink"
202

203
204
  PerformanceReport:
    description: >
205
      This type defines the format of a performance report provided by the VNFM to the API consumer as a result
206
207
208
      of collecting performance information as part of a PM job.
      The type shall comply with the provisions defined in table 6.5.2.10-1.
    type: object
209
210
    required:
      - entries
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
    properties:
      entries:
        description: >
          List of performance information entries. Each performance report
          entry is for a given metric of a given object (i.e. VNF instance),
          but can include multiple collected values.
        type: array
        items:
          type: object
          required:
            - objectType
            - objectInstanceId
            - performanceMetric
            - performanceValue
          properties:
            objectType:
              description: >
228
229
230
                Type of the measured object.
                The applicable measured object type for a measurement is defined
                in clause 7.2 of ETSI GS NFV-IFA 027.
231
232
233
              type: string
            objectInstanceId:
              description: >
234
                Identifier of the measured object instance for which the performance metric is reported
235
236
237
              $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
            subObjectInstanceId:
              description: >
238
                Identifier of the sub-object instance of the measured object (i.e. of the measured object instance)
239
                for which the performance metric is reported.
240
241
242
243
                Shall be present if this is required in clause 6.2 of ETSI GS NFV-IFA 027
                for the related measured object type.
                The sub-object allows to structure the measured object but is not to be confused
                with sub-counters which allow to structure the measurement value.
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
                EXAMPLE:
                  Measured object:  VnfInstanceXYZ
                  Sub-object:       VnfcInstance1
                  Measurement:      vCPU_utilization
                  Sub-counters:     vCPU utilization of each of the vCPUs of VnfcInstance1
                                    (vCPU_utilization.vCPU1, vCPU_utilization.vCPU2, etc.).
              $ref: "SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
            performanceMetric:
              description: >
                Name of the metric collected. This attribute shall contain the related "Measurement Name"
                value as defined in clause 7.2 of ETSI GS NFV-IFA 027.
              type: string
            performanceValues:
              description: >
                List of performance values with associated timestamp.
              type: array
              items:
                type: object
                required:
                  - timeStamp
264
                  - value
265
266
267
                properties:
                  timeStamp:
                    description: >
268
                      Time stamp indicating when the data has been collected.
269
270
271
272
273
274
275
                    $ref: "SOL002SOL003_def.yaml#/definitions/DateTime"
                  value:
                    description: >
                      Value of the metric collected.
                      The type of this attribute shall correspond to the related "Measurement Unit"
                      as defined in clause 7.2. of ETSI GS NFV-IFA 027.
                    type: object
276
277
278
279
280
281
                  context:
                    description: >
                      Measurement context information related to the measured value.
                      The set of applicable keys is defined per measurement in the
                      related "Measurement Context" in clause 7.2 of ETSI GS NFV-IFA 027.
                    $ref: "SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
282
283
284
285
286
287
288

  PmJob:
    description: >
      This type represents a PM job.
    type: object
    required:
      - id
289
      - objectType
290
291
      - objectInstanceIds
      - criteria
292
293
      - callbackUri
      - _links
294
295
296
297
298
    properties:
      id:
        description: >
          Identifier of this PM job.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
299
300
301
302
303
304
305
      objectType:
        description: >
          Type of the measured object.
          The applicable measured object type for a measurement
          is defined in clause 7.2 of ETSI GS NFV-IFA 027.
        type:
          string
306
307
      objectInstanceIds:
        description: >
308
          Identifiers of the measured object instances for which performance information
309
310
311
312
          is collected.
        type: array
        items:
          $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
313
314
315
316
317
318
319
320
321
322
323
324
325
326
      subObjectInstanceIds:
        description: >
          Identifiers of the sub-object instances of the measured object
          instance for which performance information is requested to be collected.
          May be present if a sub-object is defined in clause 6.2 of
          ETSI GS NFV-IFA 027 for the related measured object type.
          If this attribute is present, the cardinality of the "objectInstanceIds"
          attribute shall be 1.
          If this attribute is absent and a sub-object is defined in clause 6.2 of
          ETSI GS NFV IFA 027 for the related measured object type, measurements will
          be taken for all sub-object instances of the measured object instance.
        type: array
        items:
          $ref: "SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
327
328
329
330
      criteria:
        description: >
          Criteria of the collection of performance information.
        $ref: "#/definitions/PmJobCriteria"
331
332
333
334
      callbackUri:
        description: >
          The URI of the endpoint to send the notification to.
        $ref: "SOL002SOL003_def.yaml#/definitions/Uri"
335
336
337
338
339
340
341
342
343
344
      reports:
        description: >
          Information about available reports collected by this PM job.
        type: object
        required:
          - href
          - readyTime
        properties:
          href:
            description: >
345
              The URI where the report can be obtained.
346
347
348
349
350
351
352
353
354
355
356
357
358
            type: string
            format: url
          readyTime:
            description: >
              The time when the report was made available.
            $ref: "SOL002SOL003_def.yaml#/definitions/DateTime"
          expiryTime:
            description: >
              The time when the report will expire.
            $ref: "SOL002SOL003_def.yaml#/definitions/DateTime"
          fileSize:
            description: >
              The size of the report file in bytes, if known.
359
360
361
362
363
            type: integer 
            minimum: 0
            maximum: 1024
            # TODO: How to express unsigned int? 
            # Done using min and max params to set a range for positive int.
Gergely Csatari's avatar
Gergely Csatari committed
364
365
366
367
368
369
370
371
372
373
374
375
      _links:
        description: >
          Links for this resource.
        type: object
        required:
          - self
        properties:
          self:
            description: >
              URI of this resource.
            $ref: "SOL002SOL003_def.yaml#/definitions/Link"
          objects:
376
            description: >
377
              Links to resources representing the measured
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
              object instances for which performance
              information is collected. Shall be present if the
              measured object instance information is
              accessible as a resource.
            type: array
            items:
              $ref: "SOL002SOL003_def.yaml#/definitions/Link"

  PmJobModifications:
    description: >
      This type represents modifications to a PM job.
      It shall comply with the provisions defined in table 6.5.2.12-1.
    type: object
    properties:
      callbackUri:
        description: >
          New value of the "callbackUri" attribute.
          The value "null" is not permitted. See note.
        $ref: "SOL002SOL003_def.yaml#/definitions/Uri"
      authentication:
        description: >
          New value of the "authentication" attribute, or "null"
          to remove the attribute. If present in a request body,
          these modifications shall be applied according to the
402
          rules of JSON Merge Patch.
403
404
405
          This attribute shall not be present in response bodies.
          At least one of the attributes defined in this type shall be present in request bodies.
        $ref: "SOL002SOL003_def.yaml#/definitions/SubscriptionAuthentication"
406
407
408
409
410
411
412
413
414
415
416

  PmJobCriteria:
    description: >
      Criteria of the collection of performance information.
    type: object
    required:
      - collectionPeriod
      - reportingPeriod
    properties:
      performanceMetric:
        description: >
417
418
419
          This defines the types of performance metrics for the specified object instances.
          Valid values are specified as "Measurement Name" values in clause 7.2 of ETSI GS NFV-IFA 027.
          At least one of the two attributes (performance metric or group) shall be present.
420
        type: array
421
        items:
422
423
424
425
          type: string
      performanceMetricGroup:
        description: >
          Group of performance metrics. A metric group is a pre-defined list
426
          of metrics, known to the API producer that it can decompose to
427
428
          individual metrics. Valid values are specified as "Measurement Group"
          values in clause 7.2 of ETSI GS NFV-IFA 027.
429
430
431
          At least one of the two attributes (performance metric or group)
          shall be present.
        type: array
432
        items:
433
434
435
          type: string
      collectionPeriod:
        description: >
436
437
438
439
440
          Specifies the periodicity at which the API producer will collect
          performance information. The unit shall be seconds. See notes 1 and 2.
          
          NOTE 1: At the end of each reportingPeriod, the API producer will inform the
          API consumer about availability of the performance data collected for
441
442
443
444
445
          each completed collection period during this reportingPeriod. The
          reportingPeriod should be equal to or a multiple of the
          collectionPeriod. In the latter case, the performance data for the
          collection periods within one reporting period are reported
          together.
446
447
448
449

          NOTE 2:	In particular when choosing short collection and reporting periods, 
          the number of PM jobs that can be supported depends on the capability of the 
          producing entity.
450
        type: integer
451
452
        minimum: 0
        maximum: 1024
453
        # TODO: How to express unsigned int?
454
        # Done using min and max params to set a range for positive int.
455
456
      reportingPeriod:
        description: >
457
458
459
460
461
462
          Specifies the periodicity at which the API producer will report to the
          API consumer about performance information. The unit shall be seconds.
          See notes 1 and 2.
          
          NOTE 1: At the end of each reportingPeriod, the API producer will inform the
          API consumer about availability of the performance data collected for
463
464
465
466
467
          each completed collection period during this reportingPeriod. The
          reportingPeriod should be equal to or a multiple of the
          collectionPeriod. In the latter case, the performance data for the
          collection periods within one reporting period are reported
          together.
468
469
470
471

          NOTE 2:	In particular when choosing short collection and reporting periods, 
          the number of PM jobs that can be supported depends on the capability of the 
          producing entity.
472
        type: integer
473
474
        minimum: 0
        maximum: 1024
475
        # TODO: How to express unsigned int?
476
        # Done using min and max params to set a range for positive int.
477
478
479
480
481
482
483
484
485
486
487
      reportingBoundary:
        description: >
          Identifies a time boundary after which the reporting will stop.
          The boundary shall allow a single reporting as well as periodic
          reporting up to the boundary.
        $ref: "SOL002SOL003_def.yaml#/definitions/DateTime"

  Threshold:
    description: >
      This type represents a threshold.
    type: object
488
    required:
489
      - id
490
      - objectType
491
492
      - objectInstanceId
      - criteria
493
      - callbackUri
494
      - _links
495
    properties:
496
497
498
499
      id:
        description: >
          Identifier of this threshold resource.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
500
501
502
503
504
505
      objectType:
        description: >
          Type of the measured object.
          The applicable measured object type for a measurement
          is defined in clause 7.2 of ETSI GS NFV-IFA 027.
        type: string
506
507
508
509
      objectInstanceId:
        description: >
          Identifier of the VNF instance associated with the threshold.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
510
511
512
513
514
515
516
517
518
519
520
521
522
      subObjectInstanceIds:
        description: >
          Identifiers of the sub-object instances of the measured object
          instance associated with the threshold.
          May be present if a sub-object is defined in clause 6.2 of
          ETSI GS NFV-IFA 027 for the related measurement type.
          If this attribute is absent and a sub-object is defined in clause 6.2
          of ETSI GS NFV-IFA 027 for the related measured object type,
          measurements will be taken for all sub-object instances of the
          measured object instance.
        type: array
        items:
          $ref: "SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
523
524
525
526
      criteria:
        description: >
          Criteria that define this threshold.
        $ref: "#/definitions/ThresholdCriteria"
527
528
529
530
      callbackUri:
        description: >
          The URI of the endpoint to send the notification to.
        $ref: "SOL002SOL003_def.yaml#/definitions/Uri"
531
532
533
534
      _links:
        description: >
          Links for this resource.
        type: object
535
        required:
536
          - self
537
        properties:
538
539
540
541
          self:
            description: >
              URI of this resource.
            $ref: "SOL002SOL003_def.yaml#/definitions/Link"
542
          object:
543
            description: >
544
              Link to a resource representing the measured object instance for which
545
              performance information is collected. Shall be present if the
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
              measured object instance information is accessible as a resource.
            $ref: "SOL002SOL003_def.yaml#/definitions/Link"

  ThresholdModifications:
    description: >
      This type represents modifications to a threshold.
      It shall comply with the provisions defined in table 6.5.2.11-1.
    type: object
    properties:
      callbackUri:
        description: >
          New value of the "callbackUri" attribute.
          The value "null" is not permitted. See note.
        $ref: "SOL002SOL003_def.yaml#/definitions/Uri"
      authentication:
        description: >
          New value of the "authentication" attribute, or "null"
          to remove the attribute. If present in a request body,
          these modifications shall be applied according to the
565
          rules of JSON Merge Patch.
566
567
568
          This attribute shall not be present in response bodies.
          At least one of the attributes defined in this type shall be present in request bodies.
        $ref: "SOL002SOL003_def.yaml#/definitions/SubscriptionAuthentication"
569
570
571
572
573

  ThresholdCriteria:
    description: >
      This type represents criteria that define a threshold.
    type: object
574
    required:
575
576
      - performanceMetric
      - thresholdType
577
    properties:
578
579
      performanceMetric:
        description: >
580
581
          Defines the performance metric associated with the threshold.
          Valid values are specified as "Measurement Name" values in clause 7.2 of ETSI GS NFV-IFA 027.
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
        type: string
      thresholdType:
        description: >
          Type of threshold. This attribute determines which other attributes
          are present in the data structure.
          Permitted values:
          * SIMPLE: Single-valued static threshold
          In the present document, simple thresholds are defined. The
          definition of additional threshold types is left for future
          specification.
        type: string
        enum:
          - SIMPLE
      simpleThresholdDetails:
        description: >
          Details of a simple threshold. Shall be present if
          thresholdType="SIMPLE".
        type: object
600
        required:
601
602
          - thresholdValue
          - hysteresis
603
        properties:
604
605
606
607
          thresholdValue:
            description: >
              The threshold value. Shall be represented as a floating point
              number.
608
609
610
611
            # TODO: This should be floating.
            # Done using Number type and floating formate             
            type: number
            format: float
612
613
614
615
616
617
618
619
620
621
622
623
624
625
          hysteresis:
            description: >
              The hysteresis of the threshold. Shall be represented as a
              non-negative floating point number.
              A notification with crossing direction "UP" will be generated if
              the measured value reaches or exceeds
              "thresholdValue" + "hysteresis". A notification with crossing
              direction "DOWN" will be generated if the measured value reaches
              or undercuts "thresholdValue" - "hysteresis".
              The hysteresis is defined to prevent storms of threshold
              crossing notifications. When processing a request to create a
              threshold, implementations should enforce a suitable minimum
              value for this attribute (e.g. override the value or reject the
              request).
626
627
628
629
630
631
632
            # TODO: This should be floating.
            # Done using Number type and floating format.
            type: number
            minimum: 0
            maximum: 1024
            format: float

633
634
635
636
  ThresholdCrossedNotification:
    description: >
      This type represents a notification that is sent when a threshold has
      been crossed.
637
638
      The timing of sending this notification is determined by the capability
      of the producing entity to evaluate the threshold crossing condition.
639
640
      The notification shall be triggered by the VNFM when a threshold has
      been crossed.
641
    type: object
642
    required:
643
644
645
646
647
      - id
      - notificationType
      - timeStamp
      - thresholdId
      - crossingDirection
648
      - objectType
649
650
651
652
      - objectInstanceId
      - performanceMetric
      - performanceValue
      - _links
653
654
    properties:
      id:
655
656
657
658
659
        description: >
          Identifier of this notification. If a notification is sent multiple
          times due to multiple subscriptions, the "id" attribute of all these
          notifications shall have the same value.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
660
      notificationType:
661
662
663
664
        description: >
          Discriminator for the different notification types. Shall be set to
          "ThresholdCrossedNotification" for this notification type.
        type: string
665
        enum:
666
667
668
669
670
671
672
673
674
675
676
677
678
679
          - ThresholdCrossedNotification
      timeStamp:
        description: >
          Date and time of the generation of the notification.
        $ref: "SOL002SOL003_def.yaml#/definitions/DateTime"
      thresholdId:
        description: >
          Identifier of the threshold which has been crossed.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
      crossingDirection:
        description: >
          An indication of whether the threshold was crossed in upward or
          downward direction.
        $ref: "#/definitions/CrossingDirectionType"
680
681
682
683
684
      objectType:
        description: >
          Type of the measured object.
          The applicable measured object type for a measurement is defined in clause 7.2 of ETSI GS NFV-IFA 027.
        type: string
685
686
687
688
      objectInstanceId:
        description: >
          Identifier that identifies a VNF instance.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"
689
690
691
692
693
694
695
696
      subObjectInstanceId:
        description: >
          Identifier of the sub-object of the measured object (i.e. a VNFC instance)
          to which the measurement applies.
          Shall be present if this is required in an external measurement specification.
          The sub-object allows to structure the measured object, but is not to be confused
          with sub-counters which allow to structure the measurement.
        $ref: "SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
697
698
699
      performanceMetric:
        description: >
          Performance metric associated with the threshold.
700
701
          This attribute shall contain the related "Measurement Name"
          value as defined in clause 7.2 of ETSI GS NFV-IFA 027.
702
703
704
705
        type: string
      performanceValue:
        description: >
          Value of the metric that resulted in threshold crossing.
706
707
          The type of this attribute shall correspond to the related
          "Measurement Unit" as defined in clause 7.2 of ETSI GS NFV-IFA 027.
708
        type: object
709
710
711
712
713
714
      context:
        description: >
          Measurement context information related to the measured value.
          The set of applicable keys is defined per measurement in the
          related "Measurement Context" in clause 7.2 of ETSI GS NFV-IFA 027.
        $ref: "SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
715
716
717
718
      _links:
        description: >
          Links to resources related to this notification.
        type: object
719
        required:
720
          - threshold
721
        properties:
722
723
          objectInstance:
            description: >
724
725
              Link to the resource representing the measured object instance to which the
              notified change applies. Shall be present if the measured object instance
726
              information is accessible as a resource.
727
            $ref: "SOL002SOL003_def.yaml#/definitions/NotificationLink"
728
729
730
731
          threshold:
            description: >
              Link to the resource that represents the threshold that was
              crossed.
732
            $ref: "SOL002SOL003_def.yaml#/definitions/NotificationLink"