NFVManoFaultManagementNotification.yaml 21.3 KB
Newer Older
1
openapi: 3.0.2
2
3
info:
  version: 1.0.0-impl:etsi.org:ETSI_NFV_OpenAPI:1
4
  title: SOL009 - NFV-MANO Fault Management Notification Operation
5
  description: >
6
    SOL009 - NFV-MANO Fault Management Notification Operation
7
8
9
10
11
12
13
14

    IMPORTANT: Please note that this file might be not aligned to the current version of the ETSI Group Specification it refers to. In case of discrepancies the published ETSI Group Specification takes precedence.

    Please report bugs to https://forge.etsi.org/bugzilla/buglist.cgi?component=Nfv-Openapis&list_id=61&product=NFV&resolution=
  license:
    name: ETSI Forge copyright notice
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
externalDocs:
Giacomo Bernini's avatar
Giacomo Bernini committed
15
16
  description: ETSI GS NFV-SOL 009 V3.3.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/009/03.03.01_60/gs_NFV-SOL009v030301p.pdf
17

18
19
20
21
security:
  - OauthSecurity:
      - all

22
servers:
Giacomo Bernini's avatar
Giacomo Bernini committed
23
24
  - url: http://127.0.0.1/callback/v1
  - url: https://127.0.0.1/callback/v1
25

26
27
28
29
30
31
32
33
34
35
36
paths:
  /URI-is-provided-by-the-client-when-creating-the-subscription-AlarmNotification:
    post:
      description: >
        The POST method notifies an NFV-MANO functional entity alarm or that the
        alarm list has been rebuilt. The API consumer shall have previously
        created an "Individual subscription" resource with a matching filter.
        This method shall follow the provisions specified in the tables
        7.5.7.3.1-1 and 7.5.7.3.1-2 for URI query parameters, request and
        response data structures, and response codes.
      parameters:
37
38
39
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/ContentType"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
40
      requestBody:
Giacomo Bernini's avatar
Giacomo Bernini committed
41
        $ref: "#/components/requestBodies/AlarmNotification"
42
43
      responses:
        "204":
44
          $ref: "#/components/responses/AlarmNotification.Post.204"
45
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
46
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
47
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
48
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
49
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
50
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
51
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
52
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
53
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
54
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
55
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
56
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
57
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
58
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
59
60
61
62
63
64
65
66
    get:
      description: >
        The GET method allows the server to test the notification endpoint that
        is provided by the client, e.g. during subscription. This method shall
        follow the provisions specified in the tables 7.5.7.3.2-1 and
        7.5.7.3.2-2 for URI query parameters, request and response data
        structures, and response codes.
      parameters:
67
68
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
69
70
      responses:
        "204":
71
          $ref: "#/components/responses/AlarmNotification.Get.204"
72
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
73
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
74
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
75
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
76
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
77
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
78
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
79
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
80
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
81
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
82
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
83
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
84
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
85
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
86
87
88
89
90
91
92
93
94
95
  /URI-is-provided-by-the-client-when-creating-the-subscription-AlarmClearedNotification:
    post:
      description: >
        The POST method notifies an NFV-MANO functional entity alarm or that the
        alarm list has been rebuilt. The API consumer shall have previously
        created an "Individual subscription" resource with a matching filter.
        This method shall follow the provisions specified in the tables
        7.5.7.3.1-1 and 7.5.7.3.1-2 for URI query parameters, request and
        response data structures, and response codes.
      parameters:
96
97
98
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/ContentType"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
99
      requestBody:
Giacomo Bernini's avatar
Giacomo Bernini committed
100
        $ref: "#/components/requestBodies/AlarmClearedNotification"
101
102
      responses:
        "204":
103
          $ref: "#/components/responses/AlarmClearedNotification.Post.204"
104
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
105
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
106
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
107
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
108
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
109
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
110
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
111
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
112
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
113
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
114
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
115
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
116
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
117
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
118
119
120
121
122
123
124
125
    get:
      description: >
        The GET method allows the server to test the notification endpoint that
        is provided by the client, e.g. during subscription. This method shall
        follow the provisions specified in the tables 7.5.7.3.2-1 and
        7.5.7.3.2-2 for URI query parameters, request and response data
        structures, and response codes.
      parameters:
126
127
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
128
129
      responses:
        "204":
130
          $ref: "#/components/responses/AlarmClearedNotification.Get.204"
131
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
132
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
133
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
134
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
135
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
136
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
137
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
138
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
139
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
140
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
141
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
142
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
143
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
144
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
145
146
147
148
149
150
151
152
153
154
  /URI-is-provided-by-the-client-when-creating-the-subscription-AlarmListRebuiltNotification:
    post:
      description: >
        The POST method notifies an NFV-MANO functional entity alarm or that the
        alarm list has been rebuilt. The API consumer shall have previously
        created an "Individual subscription" resource with a matching filter.
        This method shall follow the provisions specified in the tables
        7.5.7.3.1-1 and 7.5.7.3.1-2 for URI query parameters, request and
        response data structures, and response codes.
      parameters:
155
156
157
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/ContentType"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
158
      requestBody:
Giacomo Bernini's avatar
Giacomo Bernini committed
159
        $ref: "#/components/requestBodies/AlarmListRebuiltNotification"
160
161
      responses:
        "204":
162
          $ref: "#/components/responses/AlarmListRebuiltNotification.Post.204"
163
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
164
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
165
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
166
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
167
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
168
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
169
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
170
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
171
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
172
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
173
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
174
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
175
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
176
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
177
178
179
180
181
182
183
184
    get:
      description: >
        The GET method allows the server to test the notification endpoint that
        is provided by the client, e.g. during subscription. This method shall
        follow the provisions specified in the tables 7.5.7.3.2-1 and
        7.5.7.3.2-2 for URI query parameters, request and response data
        structures, and response codes.
      parameters:
185
186
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
187
188
      responses:
        "204":
189
          $ref: "#/components/responses/AlarmListRebuiltNotification.Get.204"
190
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
191
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
192
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
193
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
194
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
195
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
196
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
197
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
198
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
199
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
200
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
201
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
202
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
203
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
204

205
components:
Giacomo Bernini's avatar
Giacomo Bernini committed
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
  requestBodies:
    AlarmNotification:
      description: >
        Information of a NFV-MANO functional entity alarm.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/AlarmNotification"
      required: true

    AlarmClearedNotification:
      description: |
        Information of the clearance of an NFV-MANO functional entity alarm.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/AlarmClearedNotification"
      required: true

    AlarmListRebuiltNotification:
      description: >
        Information that the alarm list has been rebuilt by the NFV-MANO
        functional entity.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/AlarmListRebuiltNotification"
      required: true

235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
  schemas:
    AlarmNotification:
      description: >
        This type represents an alarm notification about NFV-MANO functional entity faults.
        It shall comply with the provisions defined in table 7.6.2.5-1.
        This notification shall be triggered by the NFV-MANO functional entity when:
        -	An alarm has been created.
        -	An alarm has been updated, e.g. if the severity of the alarm has changed.

      type: object
      required:
        - id
        - notificationType
        - subscriptionId
        - timeStamp
        - alarm
        - _links
      properties:
        id:
          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: "../components/SOL009_schemas.yaml#/components/schemas/Identifier"
        notificationType:
          description: >
            Discriminator for the different notification types. Shall be set to
            "AlarmNotification" for this notification type.
          type: string
          enum:
            - AlarmNotification
        subscriptionId:
          description: >
            Identifier of the subscription that this notification relates to.
          $ref: "../components/SOL009_schemas.yaml#/components/schemas/Identifier"
        timeStamp:
          description: >
            Date-time of the generation of the notification.
          $ref: "../components/SOL009_schemas.yaml#/components/schemas/DateTime"
        alarm:
          description: >
            Information about an alarm including AlarmId, affected VNF
            identifier, and FaultDetails.
          $ref: "../components/SOL009_schemas.yaml#/components/schemas/Alarm"
        _links:
          description: >
            Links to resources related to this notification.
          type: object
          required:
            - subscription
          properties:
            subscription:
              description: >
                Link to the related subscription.
              $ref: "../components/SOL009_schemas.yaml#/components/schemas/NotificationLink"

    AlarmClearedNotification:
      description: >
        This type represents an alarm cleared notification about VNF faults.
        The notification shall be triggered by the VNFM when an alarm has been
        cleared.
      type: object
      required:
        - id
        - notificationType
        - subscriptionId
        - timeStamp
        - alarmId
        - alarmClearedTime
        - _links
      properties:
        id:
          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: "../components/SOL009_schemas.yaml#/components/schemas/Identifier"
        notificationType:
          description: >
            Discriminator for the different notification types. Shall be set to
            "AlarmClearedNotification" for this notification type.
          type: string
          enum:
            - AlarmClearedNotification
        subscriptionId:
          description: >
            Identifier of the subscription that this notification relates to.
          $ref: "../components/SOL009_schemas.yaml#/components/schemas/Identifier"
        timeStamp:
          description: >
            Date-time of the generation of the notification.
          $ref: "../components/SOL009_schemas.yaml#/components/schemas/DateTime"
        alarmId:
          description: >
            Alarm identifier.
          $ref: "../components/SOL009_schemas.yaml#/components/schemas/Identifier"
        alarmClearedTime:
          description: >
            The time stamp indicating when the alarm was cleared.
        _links:
          description: >
            Links to resources related to this notification.
          type: object
          required:
            - subscription
            - alarm
          properties:
            subscription:
              description: >
                Link to the related subscription.
              $ref: "../components/SOL009_schemas.yaml#/components/schemas/NotificationLink"
            alarm:
              description: >
                Link to the resource that represents the related alarm.
              $ref: "../components/SOL009_schemas.yaml#/components/schemas/NotificationLink"

    AlarmListRebuiltNotification:
      description: >
        This type represents a notification that the alarm list has been
        rebuilt, e.g. if the VNFM detects its storage holding the alarm
        list is corrupted.
        The notification shall be triggered by the VNFM when the alarm list has
        been rebuilt.
      type: object
      required:
        - id
        - notificationType
        - subscriptionId
        - timeStamp
        - _links
      properties:
        id:
          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: "../components/SOL009_schemas.yaml#/components/schemas/Identifier"
        notificationType:
          description: >
            Discriminator for the different notification types. Shall be set to
            "AlarmListRebuiltNotification" for this notification type.
          type: string
          enum:
            - AlarmListRebuiltNotification
        subscriptionId:
          description: >
            Identifier of the subscription that this notification relates to.
          $ref: "../components/SOL009_schemas.yaml#/components/schemas/Identifier"
        timeStamp:
          description: >
            Date-time of the generation of the notification.
          $ref: "../components/SOL009_schemas.yaml#/components/schemas/DateTime"
        _links:
          description: >
            Links to resources related to this notification.
          type: object
          required:
            - subscription
            - alarms
          properties:
            subscription:
              description: >
                Link to the related subscription.
              $ref: "../components/SOL009_schemas.yaml#/components/schemas/NotificationLink"
            alarms:
              description: >
                Link to the alarm list, i.e. the "Alarms" resource.
              $ref: "../components/SOL009_schemas.yaml#/components/schemas/NotificationLink"
Giacomo Bernini's avatar
Giacomo Bernini committed
403
404

  responses:
405
    AlarmNotification.Post.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
      description: >
        204 NO CONTENT

        Shall be returned when the notification has been delivered successfully. The response body shall be empty.
      headers:
        WWW-Authenticate:
          description: >
            Challenge if the corresponding HTTP request has not provided
            authorization, or error details if the corresponding HTTP
            request has provided an invalid authorization token.
          schema:
            type: string
            minimum: 0
            maximum: 1
        Version:
          description: |
            Version of the API used in the response.
          schema:
            type: string
            minimum: 1
            maximum: 1

428
    AlarmNotification.Get.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
      description: >
        204 NO CONTENT

        Shall be returned to indicate that the notification endpoint has been tested successfully.
        The response body shall be empty.
      headers:
        WWW-Authenticate:
          description: >
            Challenge if the corresponding HTTP request has not provided
            authorization, or error details if the corresponding HTTP
            request has provided an invalid authorization token.
          schema:
            type: string
            minimum: 0
            maximum: 1
        Version:
          description: |
            Version of the API used in the response.
          schema:
            type: string
            minimum: 1
            maximum: 1

452
    AlarmClearedNotification.Post.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
      description: >
        204 NO CONTENT

        Shall be returned when the notification has been delivered successfully. The response body shall be empty.
      headers:
        WWW-Authenticate:
          description: >
            Challenge if the corresponding HTTP request has not provided
            authorization, or error details if the corresponding HTTP
            request has provided an invalid authorization token.
          schema:
            type: string
            minimum: 0
            maximum: 1
        Version:
          description: |
            Version of the API used in the response.
          schema:
            type: string
            minimum: 1
            maximum: 1

475
    AlarmClearedNotification.Get.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
      description: >
        204 NO CONTENT

        Shall be returned to indicate that the notification endpoint has been tested successfully.
        The response body shall be empty.
      headers:
        WWW-Authenticate:
          description: >
            Challenge if the corresponding HTTP request has not provided
            authorization, or error details if the corresponding HTTP
            request has provided an invalid authorization token.
          schema:
            type: string
            minimum: 0
            maximum: 1
        Version:
          description: |
            Version of the API used in the response.
          schema:
            type: string
            minimum: 1
            maximum: 1

499
    AlarmListRebuiltNotification.Post.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
      description: >
        204 NO CONTENT

        Shall be returned when the notification has been delivered successfully. The response body shall be empty.
      headers:
        WWW-Authenticate:
          description: >
            Challenge if the corresponding HTTP request has not provided
            authorization, or error details if the corresponding HTTP
            request has provided an invalid authorization token.
          schema:
            type: string
            minimum: 0
            maximum: 1
        Version:
          description: |
            Version of the API used in the response.
          schema:
            type: string
            minimum: 1
            maximum: 1

522
    AlarmListRebuiltNotification.Get.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
      description: >
        204 NO CONTENT

        Shall be returned to indicate that the notification endpoint has been tested successfully. The response body shall be empty.
      headers:
        WWW-Authenticate:
          description: >-
            Challenge if the corresponding HTTP request has not provided
            authorization, or error details if the corresponding HTTP
            request has provided an invalid authorization token.
          schema:
            type: string
            minimum: 0
            maximum: 1
        Version:
          description: >-
            Version of the API used in the response.
          schema:
            type: string
            minimum: 1
            maximum: 1