NFVManoFaultManagementNotification.yaml 20.2 KB
Newer Older
1
openapi: 3.0.2
2
info:
3
  version: 1.3.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:
15
16
  description: ETSI GS NFV-SOL 009 V3.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/009/03.05.01_60/gs_NFV-SOL009v030501p.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
paths:
27
  /URI_is_provided_by_the_client_when_creating_the_subscription-AlarmNotification:
28
29
30
31
    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
32
        created an "Individual subscription" resource with a matching filter. See clause 7.5.7.3.1.
33
      parameters:
34
35
36
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/ContentType"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
37
      requestBody:
Giacomo Bernini's avatar
Giacomo Bernini committed
38
        $ref: "#/components/requestBodies/AlarmNotification"
39
40
      responses:
        "204":
41
          $ref: "#/components/responses/AlarmNotification.Post.204"
42
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
43
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
44
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
45
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
46
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
47
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
48
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
49
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
50
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
51
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
52
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
53
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
54
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
55
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
56
57
58
    get:
      description: >
        The GET method allows the server to test the notification endpoint that
59
        is provided by the client, e.g. during subscription. See clause 7.5.7.3.2.
60
      parameters:
61
62
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
63
64
      responses:
        "204":
65
          $ref: "#/components/responses/AlarmNotification.Get.204"
66
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
67
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
68
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
69
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
70
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
71
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
72
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
73
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
74
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
75
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
76
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
77
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
78
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
79
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
80
  /URI_is_provided_by_the_client_when_creating_the_subscription-AlarmClearedNotification:
81
82
83
84
    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
85
        created an "Individual subscription" resource with a matching filter. See clause 7.5.7.3.1.
86
      parameters:
87
88
89
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/ContentType"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
90
      requestBody:
Giacomo Bernini's avatar
Giacomo Bernini committed
91
        $ref: "#/components/requestBodies/AlarmClearedNotification"
92
93
      responses:
        "204":
94
          $ref: "#/components/responses/AlarmClearedNotification.Post.204"
95
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
96
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
97
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
98
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
99
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
100
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
101
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
102
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
103
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
104
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
105
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
106
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
107
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
108
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
109
110
111
    get:
      description: >
        The GET method allows the server to test the notification endpoint that
112
        is provided by the client, e.g. during subscription. See clause 7.5.7.3.2.
113
      parameters:
114
115
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
116
117
      responses:
        "204":
118
          $ref: "#/components/responses/AlarmClearedNotification.Get.204"
119
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
120
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
121
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
122
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
123
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
124
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
125
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
126
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
127
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
128
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
129
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
130
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
131
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
132
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
133
  /URI_is_provided_by_the_client_when_creating_the_subscription-AlarmListRebuiltNotification:
134
135
136
137
    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
138
        created an "Individual subscription" resource with a matching filter. See clause 7.5.7.3.1.
139
      parameters:
140
141
142
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/ContentType"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
143
      requestBody:
Giacomo Bernini's avatar
Giacomo Bernini committed
144
        $ref: "#/components/requestBodies/AlarmListRebuiltNotification"
145
146
      responses:
        "204":
147
          $ref: "#/components/responses/AlarmListRebuiltNotification.Post.204"
148
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
149
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
150
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
151
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
152
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
153
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
154
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
155
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
156
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
157
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
158
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
159
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
160
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
161
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
162
163
164
    get:
      description: >
        The GET method allows the server to test the notification endpoint that
165
        is provided by the client, e.g. during subscription. See clause 7.5.7.3.2.
166
      parameters:
167
168
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
169
170
      responses:
        "204":
171
          $ref: "#/components/responses/AlarmListRebuiltNotification.Get.204"
172
        "400":
Giacomo Bernini's avatar
Giacomo Bernini committed
173
          $ref: ../components/SOL009_resp.yaml#/components/responses/400
174
        "401":
Giacomo Bernini's avatar
Giacomo Bernini committed
175
          $ref: ../components/SOL009_resp.yaml#/components/responses/401
176
        "403":
Giacomo Bernini's avatar
Giacomo Bernini committed
177
          $ref: ../components/SOL009_resp.yaml#/components/responses/403
178
        "405":
Giacomo Bernini's avatar
Giacomo Bernini committed
179
          $ref: ../components/SOL009_resp.yaml#/components/responses/405
180
        "406":
Giacomo Bernini's avatar
Giacomo Bernini committed
181
          $ref: ../components/SOL009_resp.yaml#/components/responses/406
182
        "500":
Giacomo Bernini's avatar
Giacomo Bernini committed
183
          $ref: ../components/SOL009_resp.yaml#/components/responses/500
184
        "503":
Giacomo Bernini's avatar
Giacomo Bernini committed
185
          $ref: ../components/SOL009_resp.yaml#/components/responses/503
186

187
components:
Giacomo Bernini's avatar
Giacomo Bernini committed
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
  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

217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
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
  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
385
386

  responses:
387
    AlarmNotification.Post.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
      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

410
    AlarmNotification.Get.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
      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

434
    AlarmClearedNotification.Post.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
      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

457
    AlarmClearedNotification.Get.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
      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

481
    AlarmListRebuiltNotification.Post.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
      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

504
    AlarmListRebuiltNotification.Get.204:
Giacomo Bernini's avatar
Giacomo Bernini committed
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
      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