VNFLifecycleManagementNotification.yaml 14.1 KB
Newer Older
1
openapi: 3.0.2
2
3

info:
4
  title: SOL003 - VNF Lifecycle Management Notification interface
5
  description: |
6
7
    SOL003 - VNF Lifecycle Management Notification interface

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

12
    Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
13
14
  contact:
    name: NFV-SOL WG
15
16
17
  license:
    name: "ETSI Forge copyright notice"
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
18
  version: "2.0.0-impl:etsi.org:ETSI_NFV_OpenAPI:1"
19
20

externalDocs:
21
22
  description: ETSI GS NFV-SOL 003 V3.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.05.01_60/gs_NFV-SOL003v030501p.pdf
23

24
servers:
Giacomo Bernini's avatar
Giacomo Bernini committed
25
26
  - url: http://127.0.0.1/callback/v2
  - url: https://127.0.0.1/callback/v2
27
28

paths:
29
  ###############################################################################
30
  # Notification endpoint VnfLcmOperationOccurrenceNotification                 #
31
  ###############################################################################
32
  /URI_is_provided_by_the_client_when_creating_the_subscription-VnfLcmOperationOccurrenceNotification:
33
34
35
    parameters:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
36
    post:
37
      description: |
38
39
        The POST method delivers a notification from the API producer to an API consumer. The API consumer shall
        have previously created an "Individual subscription" resource with a matching filter. See clause 5.4.20.3.1.
40
41
      requestBody:
        $ref: '#/components/requestBodies/VnfLcmOperationOccurrenceNotification'
42
43
      responses:
        204:
44
          $ref: '#/components/responses/VnfLcmOperationOccurrenceNotification.Post.204'
45
        400:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
46
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/400"
47
        401:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
48
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/401"
49
        403:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
50
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/403"
51
        405:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
52
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/405"
53
        406:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
54
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/406"
55
        500:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
56
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/500"
57
        503:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
58
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/503"
59
60

    get:
61
      description: |
62
63
        The GET method allows the API producer to test the notification endpoint that is provided by the API consumer,
        e.g. during subscription. See clause 5.4.20.3.2.
64
65
      responses:
        204:
66
          $ref: '#/components/responses/VnfLcmOperationOccurrenceNotification.Get.204'
67
        400:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
68
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/400"
69
        401:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
70
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/401"
71
        403:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
72
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/403"
73
        405:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
74
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/405"
75
        406:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
76
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/406"
77
        500:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
78
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/500"
79
        503:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
80
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/503"
81

82
83
84
  ###############################################################################
  # Notification endpoint VnfIdentifierCreationNotification                     #
  ###############################################################################
85
  /URI_is_provided_by_the_client_when_creating_the_subscription-VnfIdentifierCreationNotification:
86
87
88
    parameters:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
89
    post:
90
      description: |
91
92
        The POST method delivers a notification from the API producer to an API consumer. The API consumer shall
        have previously created an "Individual subscription" resource with a matching filter. See clause 5.4.20.3.1.
93
94
      requestBody:
        $ref: '#/components/requestBodies/VnfIdentifierCreationNotification'
95
96
      responses:
        204:
97
          $ref: '#/components/responses/VnfIdentifierCreationNotification.Post.204'
98
        400:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
99
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/400"
100
        401:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
101
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/401"
102
        403:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
103
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/403"
104
        405:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
105
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/405"
106
        406:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
107
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/406"
108
        500:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
109
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/500"
110
        503:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
111
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/503"
112
113

    get:
114
      description: |
Francesca Moscatelli's avatar
Francesca Moscatelli committed
115
        The GET method allows the API producer to test the notification endpoint that is provided by the API consumer,
116
        e.g. during subscription. See clause 5.4.20.3.2.
117
118
      responses:
        204:
119
          $ref: '#/components/responses/VnfIdentifierCreationNotification.Get.204'
120
        400:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
121
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/400"
122
        401:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
123
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/401"
124
        403:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
125
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/403"
126
        405:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
127
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/405"
128
        406:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
129
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/406"
130
        500:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
131
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/500"
132
        503:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
133
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/503"
134

135
136
137
  ###############################################################################
  # Notification endpoint VnfIdentifierDeletionNotification                     #
  ###############################################################################
138
  /URI_is_provided_by_the_client_when_creating_the_subscription-VnfIdentifierDeletionNotification:
139
140
141
    parameters:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
142
    post:
143
      description: |
144
145
        The POST method delivers a notification from the API producer to an API consumer. The API consumer shall
        have previously created an "Individual subscription" resource with a matching filter. See clause 5.4.20.3.1.
146
147
      requestBody:
        $ref: '#/components/requestBodies/VnfIdentifierDeletionNotification'
148
149
      responses:
        204:
150
          $ref: '#/components/responses/VnfIdentifierDeletionNotification.Post.204'
151
        400:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
152
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/400"
153
        401:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
154
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/401"
155
        403:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
156
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/403"
157
        405:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
158
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/405"
159
        406:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
160
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/406"
161
        500:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
162
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/500"
163
        503:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
164
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/503"
165
166

    get:
167
      description: |
Francesca Moscatelli's avatar
Francesca Moscatelli committed
168
        The GET method allows the API producer to test the notification endpoint that is provided by the API consumer,
169
        e.g. during subscription. See clause 5.4.20.3.2.
170
171
      responses:
        204:
172
          $ref: '#/components/responses/VnfIdentifierDeletionNotification.Get.204'
173
        400:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
174
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/400"
175
        401:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
176
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/401"
177
        403:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
178
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/403"
179
        405:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
180
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/405"
181
        406:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
182
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/406"
183
        500:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
184
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/500"
185
        503:
186
187
188
189
190
191
192
193
194
195
196
          $ref: "../../responses/SOL002SOL003_resp.yaml#/components/responses/503"


components:
  requestBodies:
    VnfLcmOperationOccurrenceNotification:
      description: |
        A notification about lifecycle changes triggered by a VNF LCM operation occurrence..
      content:
        application/json:
          schema:
Francesca Moscatelli's avatar
Francesca Moscatelli committed
197
            $ref: "../VNFLifecycleManagement/definitions/SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfLcmOperationOccurrenceNotification"
198
199
200
201
202
203
204
205
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
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
      required: true

    VnfIdentifierCreationNotification:
      description: |
        A notification about the creation of a VNF identifier and the related "Individual VNF instance" resource.
      content:
        application/json:
          schema:
            $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfIdentifierCreationNotification"
      required: true

    VnfIdentifierDeletionNotification:
      description: |
        A notification about the deletion of a VNF identifier and the related "Individual VNF instance" resource.
      content:
        application/json:
          schema:
            $ref: "../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfIdentifierDeletionNotification"
      required: true

  responses:
    VnfLcmOperationOccurrenceNotification.Post.204:
      description: |
        204 NO CONTENT

        Shall be returned when the notification has been delivered successfully.
      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.
          style: simple
          explode: false
          schema:
            type: string
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string

    VnfLcmOperationOccurrenceNotification.Get.204:
      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.
          style: simple
          explode: false
          schema:
            type: string
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string

    VnfIdentifierCreationNotification.Post.204:
      description: |
        204 NO CONTENT

        Shall be returned when the notification has been delivered successfully.
      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.
          style: simple
          explode: false
          schema:
            type: string
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string

    VnfIdentifierCreationNotification.Get.204:
      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.
          style: simple
          explode: false
          schema:
            type: string
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string

    VnfIdentifierDeletionNotification.Post.204:
      description: |
        204 NO CONTENT

        Shall be returned when the notification has been delivered successfully.
      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.
          style: simple
          explode: false
          schema:
            type: string
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string

    VnfIdentifierDeletionNotification.Get.204:
      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.
          style: simple
          explode: false
          schema:
            type: string
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string