NSDManagement.yaml 116 KB
Newer Older
1
openapi: 3.0.2
2

3
info:
4
5
  title: SOL005 - NSD Management Interface 
  description: |
6
    SOL005 - NSD Management Interface 
7

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/SOL005/issues
13

14
15
  contact:
    name: NFV-SOL WG
16
  license:
17
    name: ETSI Forge copyright notice
18
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
Giacomo Bernini's avatar
Giacomo Bernini committed
19
  version: 2.2.0-impl:etsi.org:ETSI_NFV_OpenAPI:1
20

21
externalDocs:
22
  description: ETSI GS NFV-SOL 005 V3.5.1
23
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/03.05.01_60/gs_nfv-sol005v030501p.pdf
24

25
26
27
servers:
  - url: http://127.0.0.1/nsd/v2
  - url: https://127.0.0.1/nsd/v2
28

29
paths:
30
31
32
  ###############################################################################
  # API Versions                                                                #
  ###############################################################################
33
  /api_versions:
34
    $ref: '../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions'
35

36
37
38
  ###############################################################################
  # NS Descriptors                                                              #
  ###############################################################################
39
  /ns_descriptors:
40
    #ETSI GS NFV-SOL 005 V2.4.1 location: 5.4.2
41
    parameters:
42
43
44
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
45
46

    post:
47
      description: |
48
        The POST method is used to create a new NS descriptor resource. See clause 5.4.2.3.1.
49
      parameters:
50
51
52
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/CreateNsdInfoRequest'
53
54
      responses:
        201:
55
          $ref: '#/components/responses/NSDescriptors.Post.201'
56
        400:
57
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
58
        401:
59
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
60
        403:
61
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
62
        404:
63
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
64
        405:
65
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
66
        406:
67
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
68
        500:
69
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
70
        503:
71
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
72
        504:
73
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
74

75
    get:
76
      description: |
77
        The GET method queries information about multiple NS descriptor resources. See clause 5.4.2.3.2.
78
79
80
81
82
83
84
      parameters:      
        - $ref: ../components/SOL005_params.yaml#/components/parameters/filter
        - $ref: ../components/SOL005_params.yaml#/components/parameters/all_fields
        - $ref: ../components/SOL005_params.yaml#/components/parameters/fields
        - $ref: ../components/SOL005_params.yaml#/components/parameters/exclude_fields
        - $ref: ../components/SOL005_params.yaml#/components/parameters/exclude_default
        - $ref: ../components/SOL005_params.yaml#/components/parameters/nextpage_opaque_marker
85
86
      responses:
        200:
87
          $ref: '#/components/responses/NSDescriptors.Get.200'
88
        400:
89
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
90
        401:
91
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
92
        403:
93
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
94
        404:
95
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
96
        405:
97
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
98
        406:
99
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
100
        500:
101
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
102
        503:
103
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
104
        504:
105
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
106
107
108
109

  ###############################################################################
  # Individual NS Descriptor                                                    #
  ###############################################################################
110
  /ns_descriptors/{nsdInfoId}:
111
112
    #ETSI GS NFV-SOL 005 V2.4.1 location: 5.4.3
    parameters:
113
114
115
      - $ref: '#/components/parameters/NsdInfoId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
116

117
    get:
118
      description: |
119
        The GET method reads information about an individual NS descriptor. See clause 5.4.3.3.2.
120
      parameters:
121
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
122
123
      responses:
        200:
124
          $ref: '#/components/responses/IndividualNSDescriptor.Get.200'
125
        400:
126
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
127
        401:
128
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
129
        403:
130
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
131
        404:
132
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
133
        405:
134
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
135
        406:
136
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
137
        500:
138
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
139
        503:
140
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
141
        504:
142
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
143

144
    patch:
145
      description: |
146
        The PATCH method modifies the operational state and/or user defined data of an individual NS descriptor resource.
147
        See clause 5.4.3.3.4.
148
149
      requestBody:
        $ref: '#/components/requestBodies/NsdInfoModifications'
150
      responses:
151
        200:
152
          $ref: '#/components/responses/IndividualNSDescriptor.Patch.200'
153
        400:
154
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
155
        401:
156
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
157
        403:
158
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
159
        404:
160
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
161
        405:
162
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
163
        406:
164
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
165
        409:
166
          $ref: '#/components/responses/IndividualNSDescriptor.Patch.409'
167
        412:
168
          $ref: '#/components/responses/IndividualNSDescriptor.Patch.412'
169
        500:
170
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
171
        503:
172
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
173
        504:
174
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
175

176
    delete:
177
      description: |
178
        The DELETE method deletes an individual NS descriptor resource. See clause 5.4.3.3.5.
179
180
      responses:
        204:
181
          $ref: '#/components/responses/IndividualNSDescriptor.Delete.204'
182
        400:
183
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
184
        401:
185
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
186
        403:
187
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
188
        404:
189
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
190
        405:
191
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
192
        406:
193
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
194
        409:
195
          $ref: '#/components/responses/IndividualNSDescriptor.Delete.409'
196
        500:
197
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
198
        503:
199
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
200
        504:
201
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
202
203

  ###############################################################################
204
  # NSD Archive Content                                                         #
205
  ###############################################################################
206
  /ns_descriptors/{nsdInfoId}/nsd_content:
207
208
    #ETSI GS NFV-SOL 005 V2.4.1 location: 5.4.4
    parameters:
209
210
211
      - $ref: '#/components/parameters/NsdInfoId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
212

213
    get:
214
      description: |
215
        The GET method fetches the content of the NSD archive. See clause 5.4.4.3.2.
216
      parameters:
217
218
        - $ref: '#/components/parameters/AcceptTextOrZip'
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Range
219
220
      responses:
        200:
221
          $ref: '#/components/responses/NsdArchiveContent.Get.200'
222
        206:
223
          $ref: '#/components/responses/NsdArchiveContent.Get.206'
224
        400:
225
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
226
        401:
227
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
228
        403:
229
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
230
        404:
231
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
232
        405:
233
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
234
        409:
235
          $ref: '#/components/responses/NsdArchiveContent.Get.409'
236
        416:
237
          $ref: '#/components/responses/NsdArchiveContent.Get.416'
238
        500:
239
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
240
        503:
241
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
242
        504:
243
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
244

245
    put:
246
      description: |
247
        The PUT method is used to upload the content of an NSD archive. See clause 5.4.4.3.3.
248
      parameters:
249
        - $ref: '#/components/parameters/ContentTypeZip'
250
251
      responses:
        202:
252
          $ref: '#/components/responses/NsdArchiveContent.Put.202'
253
        204:
254
          $ref: '#/components/responses/NsdArchiveContent.Put.204'
255
        400:
256
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
257
        401:
258
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
259
        403:
260
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
261
        404:
262
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
263
        405:
264
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
265
        406:
266
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
267
        409:
268
          $ref: '#/components/responses/NsdArchiveContent.Put.409'
269
        500:
270
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
271
        503:
272
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
273
        504:
274
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
275
276
277
278

  ###############################################################################
  # NSD                                                                         #
  ###############################################################################
279
  /ns_descriptors/{nsdInfoId}/nsd:
280
281
    #ETSI GS NFV-SOL 005 V2.4.1 location: 5.4.4a
    parameters:
282
283
284
      - $ref: '#/components/parameters/NsdInfoId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
285
286

    get:
287
      description: |
288
        The GET method reads the content of the NSD within an NSD archive. See clause 5.4.4a.3.2.
289
      parameters:
290
291
        - $ref: ../components/SOL005_params.yaml#/components/parameters/include_signatures
        - $ref: '#/components/parameters/AcceptTextOrZip'
292
293
      responses:
        200:
294
          $ref: '#/components/responses/NSD.Get.200'
295
        400:
296
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
297
        401:
298
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
299
        403:
300
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
301
        404:
302
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
303
        405:
304
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
305
        406:
306
          $ref: '#/components/responses/NSD.Get.406'
307
        409:
308
          $ref: '#/components/responses/NSD.Get.409'
309
        500:
310
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
311
        503:
312
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
313
        504:
314
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
315
316
317
318

  ###############################################################################
  # NSD Archive Manifest                                                        #
  ###############################################################################
319
  /ns_descriptors/{nsdInfoId}/manifest:
320
321
    #ETSI GS NFV-SOL 005 V2.4.1 location: 5.4.4b
    parameters:
322
323
324
      - $ref: '#/components/parameters/NsdInfoId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
325
326

    get:
327
      description: |
328
        The GET method reads the content of the manifest file within an NSD archive. See clasue 5.4.4b.3.2.
329
      parameters:
330
331
        - $ref: '#/components/parameters/AcceptTextOrZip'
        - $ref: ../components/SOL005_params.yaml#/components/parameters/include_signatures
332
333
      responses:
        200:
334
          $ref: '#/components/responses/NsdArchiveManifest.Get.200'
335
        400:
336
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
337
        401:
338
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
339
        403:
340
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
341
        404:
342
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
343
        405:
344
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
345
        409:
346
          $ref: '#/components/responses/NsdArchiveManifest.Get.409'
347
        500:
348
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
349
        503:
350
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
351
        504:
352
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
353

354
355
356
  ###############################################################################
  # Individual NSD Archive Artifact                                             #
  ###############################################################################
357
  /ns_descriptors/{nsdInfoId}/artifacts/{artifactPath}:
358
    #ETSI GS NFV-SOL 005 V3.5.1 location: 5.4.4c
359
    parameters:
360
361
362
363
      - $ref: '#/components/parameters/NsdInfoId'
      - $ref: '#/components/parameters/ArtifactPathInNSD'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
364
    get:
365
      description: |
366
        The GET method fetches the content of an individual artifact within an NSD archive. See clause 5.4.4c.3.2.
367
      parameters:
368
369
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Range
        - $ref: ../components/SOL005_params.yaml#/components/parameters/include_signatures
370
371
      responses:
        200:
372
          $ref: '#/components/responses/IndividualNsdArchiveArtifact.Get.200'
373
        206:
374
          $ref: '#/components/responses/IndividualNsdArchiveArtifact.Get.206'
375
376
377
378
379
380
381
382
383
        400:
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
        401:
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
        403:
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
        404:
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
        406:
384
          $ref: '#/components/responses/IndividualNsdArchiveArtifact.Get.406'
385
386
387
        405:
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
        409:
388
          $ref: '#/components/responses/IndividualNsdArchiveArtifact.Get.409'
389
        416:
390
          $ref: '#/components/responses/IndividualNsdArchiveArtifact.Get.416'
391
392
393
394
395
396
397
        500:
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
        503:
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
        504:
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
  
398
399
400
  ###############################################################################
  # PNF Descriptors                                                             #
  ###############################################################################
401
  /pnf_descriptors:
402
    #ETSI GS NFV-SOL 005 V2.4.1 location: 5.4.5
403
    parameters:
404
405
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
406
407

    post:
408
      description: |
409
        The POST method is used to create a new PNF descriptor resource. See clause 5.4.5.3.1.
410
      parameters:
411
412
413
414
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/CreatePnfdInfoRequest'
415
416
      responses:
        201:
417
          $ref: '#/components/responses/PNFDescriptors.Post.201'
418
        400:
419
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
420
        401:
421
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
422
        403:
423
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
424
        404:
425
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
426
        405:
427
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
428
        406:
429
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
430
        500:
431
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
432
        503:
433
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
434
        504:
435
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
436

437
    get:
438
      description: |
439
        The GET method queries information about multiple PNF descriptor resources. See clause 5.4.5.3.2.
440
      parameters:
441
442
443
444
445
446
        - $ref: ../components/SOL005_params.yaml#/components/parameters/filter
        - $ref: ../components/SOL005_params.yaml#/components/parameters/all_fields
        - $ref: ../components/SOL005_params.yaml#/components/parameters/fields
        - $ref: ../components/SOL005_params.yaml#/components/parameters/exclude_fields
        - $ref: ../components/SOL005_params.yaml#/components/parameters/exclude_default
        - $ref: ../components/SOL005_params.yaml#/components/parameters/nextpage_opaque_marker
447
448
      responses:
        200:
449
          $ref: '#/components/responses/PNFDescriptors.Get.200'
450
        400:
451
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
452
        401:
453
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
454
        403:
455
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
456
        404:
457
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
458
        405:
459
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
460
        406:
461
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
462
        500:
463
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
464
        503:
465
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
466
        504:
467
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
468

469
470
471
  ###############################################################################
  # Individual PNF Descriptor                                                   #
  ###############################################################################
472
  /pnf_descriptors/{pnfdInfoId}:
473
474
    #ETSI GS NFV-SOL 005 V2.4.1 location: 5.4.6
    parameters:
475
      - $ref: '#/components/parameters/PnfdInfoId'
476

477
    get:
478
      description: |
479
        The GET method reads information about an individual PNF descriptor. See clause 5.4.6.3.2.
480
      parameters:
481
482
483
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
484
485
      responses:
        200:
486
          $ref: '#/components/responses/IndividualPnfDescriptor.Get.200'
487
        400:
488
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
489
        401:
490
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
491
        403:
492
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
493
        404:
494
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
495
        405:
496
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
497
        406:
498
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
499
        500:
500
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
501
        503:
502
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
503
        504:
504
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
505
506

    patch:
507
      description: |
508
        The PATCH method modifies the user defined data of an individual PNF descriptor resource. See clause 5.4.6.3.4.
509
      parameters:
510
511
512
513
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/PnfdInfoModifications'
514
515
      responses:
        200:
516
          $ref: '#/components/responses/IndividualPnfDescriptor.Patch.200'
517
        400:
518
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
519
        401:
520
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
521
        403:
522
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
523
        404:
524
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
525
        405:
526
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
527
        406:
528
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
529
        412:
530
          $ref: '#/components/responses/IndividualPnfDescriptor.Patch.412'
531
        500:
532
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
533
        503:
534
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
535
        504:
536
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
537

538
    delete:
539
      description: |
540
        The DELETE method deletes an individual PNF descriptor resource. See clause 5.4.6.3.5.
541
542
      responses:
        204:
543
          $ref: '#/components/responses/IndividualPnfDescriptor.Delete.200'
544
        400:
545
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
546
        401:
547
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
548
        403:
549
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
550
        404:
551
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
552
        405:
553
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
554
        406:
555
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
556
        500:
557
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
558
        503:
559
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
560
        504:
561
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
562

563
  ###############################################################################
564
  # PNFD Archive Content                                                        #
565
  ###############################################################################
566
  /pnf_descriptors/{pnfdInfoId}/pnfd_content:
567
568
    #ETSI GS NFV-SOL 005 V2.4.1 location: 5.4.7
    parameters:
569
570
571
      - $ref: '#/components/parameters/PnfdInfoId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
572

573
    get:
574
      description: |
575
        The GET method fetches the content of the PNFD archive. See clause 5.4.7.3.2.
576
      parameters:
577
578
        - $ref: '#/components/parameters/AcceptText'
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Range
579
580
      responses:
        200:
581
          $ref: '#/components/responses/PnfdArchiveContent.Get.200'
582
        206:
583
          $ref: '#/components/responses/PnfdArchiveContent.Get.206'
584
        400:
585
          $ref: "../responses/SOL005_resp.yaml#/components/responses/400"
586
        401:
587
          $ref: "../responses/SOL005_resp.yaml#/components/responses/401"
588
        403:
589
          $ref: "../responses/SOL005_resp.yaml#/components/responses/403"
590
        404:
591
          $ref: "../responses/SOL005_resp.yaml#/components/responses/404"
592
        405:
593
          $ref: "../responses/SOL005_resp.yaml#/components/responses/405"
594
        406:
595
          $ref: "../responses/SOL005_resp.yaml#/components/responses/406"
596
        409:
597
          $ref: '#/components/responses/PnfdArchiveContent.Get.409'
598
        416:
599
          $ref: '#/components/responses/PnfdArchiveContent.Get.416'
600
        500:
601
          $ref: "../responses/SOL005_resp.yaml#/components/responses/500"
602
        503:
603
          $ref: "../responses/SOL005_resp.yaml#/components/responses/503"
604
        504:
605
          $ref: "../responses/SOL005_resp.yaml#/components/responses/504"
606

607
    put:
608
      description: |
609
        The PUT method is used to upload the content of a PNFD archive. See clause 5.4.7.3.3.
610
      parameters:
611
612
        - $ref: '#/components/parameters/AcceptText'
        - $ref: '#/components/parameters/ContentTypeZip'
613
      responses:
614
        202:
615
          $ref: '#/components/responses/PnfdArchiveContent.Put.200'