NSLifecycleManagement.yaml 76.6 KB
Newer Older
1
2
openapi: 3.0.2

3
info:
4
5
  title: SOL005 - NS Lifecycle Management Interface
  description: |
6
7
8
9
    SOL005 - NS Lifecycle Management Interface
    IMPORTANT: Please note that this file might be not aligned to the current version of the ETSI Group Specification it
    refers to and has not been approved by the ETSI NFV ISG. In case of discrepancies the published ETSI Group Specification
    takes precedence.
10
    Please report bugs to https://forge.etsi.org/rep/nfv/SOL005/issues
11
12
  contact:
    name: NFV-SOL WG
13
  license:
14
    name: ETSI Forge copyright notice
15
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
Giacomo Bernini's avatar
Giacomo Bernini committed
16
  version: 2.0.0-impl:etsi.org:ETSI_NFV_OpenAPI:4
17

18
externalDocs:
19
  description: ETSI GS NFV-SOL 005 V3.5.1
20
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/03.03.01_60/gs_nfv-sol005v030301p.pdf
21
22
23
24
25

servers:
  - url: http://127.0.0.1/nslcm/v1
  - url: https://127.0.0.1/nslcm/v1

26
paths:
27
  /api_versions:
28
    $ref: ../endpoints/SOL005_endpoints.yaml#/endpoints/api-versions
29

30
  /ns_instances:
31
    parameters:
32
33
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
34
    get:
35
      summary: Query multiple NS instances.
36
      description: |
37
        Query NS Instances.
38
39
        The GET method queries information about multiple NS instances. This method shall support the URI query parameters,
        request and response data structures, and response codes, as specified in the Tables 6.4.2.3.2-1 and 6.4.2.3.2-2.
40
      parameters:
41
42
43
44
45
46
47
        - $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
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
48
      responses:
49
50
51
        "200":
          $ref: '#/components/responses/NsInstances.Get'
        "400":
52
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
53
        "401":
54
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
55
        "403":
56
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
57
        "404":
58
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
59
        "405":
60
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
61
        "406":
62
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
63
        "409":
64
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
65
        "416":
66
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
67
        "500":
68
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
69
        "503":
70
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
71
        "504":
72
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
73

74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
    post:
      summary: Create a NS instance resource.
      description: |
        The POST method creates a new NS instance resource. As the result of successfully executing this method, a new
        "Individual NS instance" resource as defined in clause 6.4.3 shall have been created, and the value of the
        "instantiationState" attribute in the representation of that resource shall be "NOT_INSTANTIATED". A notification
        of type NsIdentifierCreationNotification shall be triggered as part of successfully executing this method as defined
        in clause 6.5.2.6.
      parameters:
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/NsInstanceCreateRequest'
      responses:
        "201":
          $ref: '#/components/responses/NsInstances.Post'
        "400":
91
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
92
        "401":
93
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
94
        "403":
95
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
96
        "404":
97
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
98
        "405":
99
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
100
        "406":
101
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
102
        "409":
103
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
104
        "416":
105
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
106
        "500":
107
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
108
        "503":
109
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
110
        "504":
111
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
112

113
  /ns_instances/{nsInstanceId}:
114
    parameters:
115
116
117
      - $ref: '#/components/parameters/NsInstanceId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
118
    get:
rameshnaraya's avatar
rameshnaraya committed
119
      summary: Read an individual NS instance resource.
120
121
      description: |
        The GET method retrieves information about a NS instance by  reading an individual NS instance resource.
122
      parameters:
123
124
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
125
      responses:
126
127
128
        "200":
          $ref: '#/components/responses/IndividualNsInstance.Get'
        "400":
129
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
130
        "401":
131
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
132
        "403":
133
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
134
        "404":
135
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
136
        "405":
137
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
138
        "406":
139
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
140
        "416":
141
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
142
        "500":
143
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
144
        "503":
145
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
146
        "504":
147
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
148

149
    delete:
rameshnaraya's avatar
rameshnaraya committed
150
      summary: Delete NS instance resource.
151
      description: |
152
        Delete NS Identifier
153
154
155
        This method deletes an individual NS instance resource. As the result of successfully executing this method, the
        "Individual NS instance" resource shall not exist any longer. A notification of type "NsIdentifierDeletionNotification"
        shall be triggered as part of successfully executing this method as defined in clause 6.5.2.7.
156
      responses:
157
158
159
        "204":
          $ref: '#/components/responses/IndividualNsInstance.Delete'
        "400":
160
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
161
        "401":
162
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
163
        "403":
164
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
165
        "404":
166
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
167
        "405":
168
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
169
        "406":
170
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
171
        "409":
172
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
173
        "412":
174
          $ref: ../responses/SOL005_resp.yaml#/components/responses/412
175
        "500":
176
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
177
        "503":
178
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
179
        "504":
180
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
181

182
  /ns_instances/{nsInstanceId}/instantiate:
183
    parameters:
184
185
186
      - $ref: '#/components/parameters/NsInstanceId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
187
    post:
rameshnaraya's avatar
rameshnaraya committed
188
      summary: Instantiate a NS.
189
190
191
192
193
      description: |
        The POST method requests to instantiate a NS instance resource. The steps and conditions that apply as the result
        of successfully executing this method are specified in clause 6.4.1.2. In addition, once the NFVO has successfully
        completed the underlying NS LCM operation occurrence, it shall set the "nsState" attribute to the value "INSTANTIATED"
        in the representation of the "Individual NS instance" resource.
194
      parameters:
195
196
197
198
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/NsInstanceInstantiateRequest'
199
      responses:
200
201
202
        "202":
          $ref: '#/components/responses/InstantiateNsInstance.Post'
        "400":
203
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
204
        "401":
205
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
206
        "403":
207
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
208
        "404":
209
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
210
        "405":
211
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
212
        "406":
213
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
214
        "409":
215
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
216
        "416":
217
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
218
        "500":
219
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
220
        "503":
221
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
222
        "504":
223
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
224

225
  /ns_instances/{nsInstanceId}/scale:
226
    parameters:
227
228
229
      - $ref: '#/components/parameters/NsInstanceId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
230
    post:
rameshnaraya's avatar
rameshnaraya committed
231
      summary: Scale a NS instance.
232
233
234
235
236
      description: |
        The POST method requests to scale a NS instance resource. The steps and conditions that apply as the result of
        successfully executing this method are specified in clause 6.4.1.2. In addition, once the NFVO has successfully
        completed the underlying NS LCM operation occurrence, it shall reflect the result of scaling the NS instance by
        updating the "nsScaleStatus" attribute in the representation of the "Individual NS instance" resource.
237
      parameters:
238
239
240
241
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/NsInstanceScaleRequest'
242
      responses:
243
244
245
        "202":
          $ref: '#/components/responses/ScaleNsInstance.Post'
        "400":
246
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
247
        "401":
248
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
249
        "403":
250
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
251
        "404":
252
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
253
        "405":
254
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
255
        "406":
256
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
257
        "409":
258
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
259
        "416":
260
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
261
        "500":
262
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
263
        "503":
264
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
265
        "504":
266
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
267

268
  /ns_instances/{nsInstanceId}/update:
269
    parameters:
270
271
272
      - $ref: '#/components/parameters/NsInstanceId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
273
    post:
rameshnaraya's avatar
rameshnaraya committed
274
      summary: Updates a NS instance.
275
      description: |
276
        The POST method updates an NS instance.
277
      parameters:
278
279
280
281
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/NsInstanceUpdateRequest'
282
      responses:
283
284
285
        "202":
          $ref: '#/components/responses/UpdateNsInstance.Post'
        "400":
286
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
287
        "401":
288
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
289
        "403":
290
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
291
        "404":
292
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
293
        "405":
294
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
295
        "406":
296
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
297
        "409":
298
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
299
        "416":
300
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
301
        "500":
302
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
303
        "503":
304
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
305
        "504":
306
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
307

308
  /ns_instances/{nsInstanceId}/heal:
309
    parameters:
310
311
312
      - $ref: '#/components/parameters/NsInstanceId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
313
    post:
314
      summary: Heal a NS instance.
315
316
317
318
319
      description: |
        The POST method requests to heal an NS instance. This method shall follow the provisions specified in the Tables
        6.4.7.3.1-1 and 6.4.7.3.1-2 for URI query parameters, request and response data structures, and response codes.
        The steps and conditions that apply as the result of successfully executing this method are specified in clause
        6.4.1.2.
320
      parameters:
321
322
323
324
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/NsInstanceHealRequest'
325
      responses:
326
327
328
        "202":
          $ref: '#/components/responses/HealNsInstance.Post'
        "400":
329
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
330
        "401":
331
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
332
        "403":
333
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
334
        "404":
335
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
336
        "405":
337
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
338
        "406":
339
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
340
        "409":
341
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
342
        "416":
343
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
344
        "500":
345
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
346
        "503":
347
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
348
        "504":
349
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
350

351
  /ns_instances/{nsInstanceId}/terminate:
352
    parameters:
353
354
355
      - $ref: '#/components/parameters/NsInstanceId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
356
    post:
357
      summary: Terminate a NS instance.
358
359
360
361
362
363
364
365
366
      description: |
        Terminate NS task.   The POST method terminates an NS instance. This method shall follow the provisions specified
        in the Tables 6.4.8.3.1-1 and 6.4.8.3.1-2 for URI query parameters, request and response data structures, and
        response codes. The steps and conditions that apply as the result of successfully executing this method are
        specified in clause 6.4.1.2. In addition, once the NFVO has successfully completed the underlying NS LCM operation
        occurrence, it shall set the "nsState" attribute in the representation of the "Individual NS instance" resource
        to the value "NOT_INSTANTIATED". This method can only be used with an NS instance in the INSTANTIATED state.
        Terminating an NS instance does not delete the NS instance identifier, but rather transitions the NS into the
        NOT_INSTANTIATED state.
367
      parameters:
368
369
370
371
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/NsInstanceTerminateRequest'
372
      responses:
373
374
375
        "202":
          $ref: '#/components/responses/TerminateNsInstance.Post'
        "400":
376
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
377
        "401":
378
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
379
        "403":
380
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
381
        "404":
382
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
383
        "405":
384
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
385
        "406":
386
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
387
        "409":
388
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
389
        "416":
390
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
391
        "500":
392
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
393
        "503":
394
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
395
        "504":
396
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
397

398
399
400
401
  /ns_lcm_op_occs:
    parameters:
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
402
    get:
rameshnaraya's avatar
rameshnaraya committed
403
      summary: Query multiple NS LCM operation occurrences.
404
405
406
407
408
      description: |
        Get Operation Status. Shall be returned upon the following error: The operation cannot be executed currently,
        due to a conflict with the state of the resource. Typically, this is due to the fact that the NS instance resource
        is in NOT_INSTANTIATED state, or that another lifecycle management operation is ongoing. The response body shall
        contain a ProblemDetails structure, in which the "detail" attribute shall convey more information about the error.
409
      parameters:
410
411
412
        - $ref: ../components/SOL005_params.yaml#/components/parameters/filter
        - $ref: ../components/SOL005_params.yaml#/components/parameters/fields
        - $ref: ../components/SOL005_params.yaml#/components/parameters/exclude_fields
413
414
415
416
417
418
419
420
421
422
423
424
425
426
        - in: query
          name: exclude_default
          description: >
            - Indicates to exclude the following complex attributes from the response. See clause 5.3 of ETSI GS NFV-SOL 013 [16] for details. The NFVO shall support this parameter.

              The following attributes shall be excluded from the NsLcmOpOcc structure in the response body if this parameter is provided:
              -	operationParams
              -	changedVnfInfo
              -	error
              -	resourceChanges
              -	lcmCoordinations
              - warnings
          schema:
            type: string
427
428
        - $ref: ../components/SOL005_params.yaml#/components/parameters/nextpage_opaque_marker
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
429
      responses:
430
431
432
        "200":
          $ref: '#/components/responses/NsLcmOpOccs.Get'
        "400":
433
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
434
        "401":
435
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
436
        "403":
437
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
438
        "404":
439
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
440
        "405":
441
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
442
        "406":
443
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
444
        "500":
445
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
446
        "503":
447
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
448
        "504":
449
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
450

451
  /ns_lcm_op_occs/{nsLcmOpOccId}:
452
    parameters:
453
454
455
      - $ref: '#/components/parameters/NsLcmOpOccId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
456
    get:
rameshnaraya's avatar
rameshnaraya committed
457
      summary: Read an individual NS LCM operation occurrence resource.
458
459
460
461
462
      description: |
        The API consumer can use this method to read status information about a NS lifecycle management operation
        occurrence by reading an individual "NS LCM operation occurrence" resource. This method shall follow the provisions
        specified in the Tables 6.4.10.3.2-1 and 6.4.10.3.2-2 for URI query parameters, request and response data structures,
        and response codes.
463
      parameters:
464
465
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
466
      responses:
467
468
469
        "200":
          $ref: '#/components/responses/IndividualNsLcmOpOcc.Get'
        "400":
470
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
471
        "401":
472
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
473
        "403":
474
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
475
        "404":
476
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
477
        "405":
478
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
479
        "406":
480
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
481
        "416":
482
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
483
        "500":
484
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
485
        "503":
486
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
487
        "504":
488
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
489

490
  /ns_lcm_op_occs/{nsLcmOpOccId}/retry:
491
    parameters:
492
493
494
      - $ref: '#/components/parameters/NsLcmOpOccId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
495
    post:
rameshnaraya's avatar
rameshnaraya committed
496
      summary: Retry a NS lifecycle management operation occurrence.
497
498
499
500
501
      description: |
        The POST method initiates retrying a NS lifecycle management operation  if that operation has experienced a
        temporary failure, i.e. the related "NS LCM operation occurrence" is in "FAILED_TEMP" state. This method shall
        follow the provisions specified in the  Tables 6.4.11.3.1-1 and 6.4.11.3.1-2 for URI query parameters, request
        and response data structures, and response codes.
502
      responses:
503
504
505
        "202":
          $ref: '#/components/responses/NsLcmOpOccRetry.Post'
        "400":
506
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
507
        "401":
508
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
509
        "403":
510
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
511
        "404":
512
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
513
        "405":
514
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
515
        "406":
516
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
517
        "409":
518
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
519
        "416":
520
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
521
        "500":
522
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
523
        "503":
524
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
525
        "504":
526
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
527

528
  /ns_lcm_op_occs/{nsLcmOpOccId}/rollback:
529
    parameters:
530
531
532
      - $ref: '#/components/parameters/NsLcmOpOccId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
533
    post:
rameshnaraya's avatar
rameshnaraya committed
534
      summary: Rollback a NS lifecycle management operation occurrence.
535
536
537
538
539
      description: |
        The POST method initiates rolling back a NS lifecycle operation  if that operation has experienced a temporary
        failure, i.e. the related "NS LCM operation occurrence" is in "FAILED_TEMP" state. This method shall follow the
        provisions specified in the  Tables 6.4.12.3.1-1 and 6.4.12.3.1-2 for URI query parameters, request and response
        data structures, and response codes.
540
      responses:
541
542
543
        "202":
          $ref: '#/components/responses/NsLcmOpOccRollback.Post'
        "400":
544
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
545
        "401":
546
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
547
        "403":
548
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
549
        "404":
550
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
551
        "405":
552
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
553
        "406":
554
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
555
        "409":
556
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
557
        "416":
558
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
559
        "500":
560
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
561
        "503":
562
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
563
        "504":
564
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
565

566
  /ns_lcm_op_occs/{nsLcmOpOccId}/continue:
567
    parameters:
568
569
570
      - $ref: '#/components/parameters/NsLcmOpOccId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
571
    post:
rameshnaraya's avatar
rameshnaraya committed
572
      summary: Continue a NS lifecycle management operation occurrence.
573
574
575
576
577
      description: |
        The POST method initiates continuing an NS lifecycle operation if that operation has experienced a temporary
        failure, i.e. the related "NS LCM operation occurrence" is in "FAILED_TEMP" state. This method shall follow the
        provisions specified in the Tables 6.4.13.3.1-1 and 6.4.13.3.1-2 for URI query parameters, request and response
        data structures, and response codes.
578
      responses:
579
580
581
        "202":
          $ref: '#/components/responses/NsLcmOpOccContinue.Post'
        "400":
582
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
583
        "401":
584
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
585
        "403":
586
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
587
        "404":
588
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
589
        "405":
590
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
591
        "406":
592
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
593
        "409":
594
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
595
        "416":
596
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
597
        "500":
598
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
599
        "503":
600
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
601
        "504":
602
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
603

604
  /nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/fail:
605
    parameters:
606
607
608
      - $ref: '#/components/parameters/NsLcmOpOccId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
609
    post:
rameshnaraya's avatar
rameshnaraya committed
610
      summary: Mark a NS lifecycle management operation occurrence as failed.
611
612
      description: |
        The POST method marks a NS lifecycle management operation  occurrence as "finally failed" if that operation
613
614
        occurrence is in "FAILED_TEMP" state.
      parameters:
615
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
616
      responses:
617
618
619
        "200":
          $ref: '#/components/responses/NsLcmOpOccFail.Post'
        "400":
620
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
621
        "401":
622
          $ref: ../responses/SOL005_resp.yaml#/components/responses/401
623
        "403":
624
          $ref: ../responses/SOL005_resp.yaml#/components/responses/403
625
        "404":
626
          $ref: ../responses/SOL005_resp.yaml#/components/responses/404
627
        "405":
628
          $ref: ../responses/SOL005_resp.yaml#/components/responses/405
629
        "406":
630
          $ref: ../responses/SOL005_resp.yaml#/components/responses/406
631
        "409":
632
          $ref: ../responses/SOL005_resp.yaml#/components/responses/409
633
        "416":
634
          $ref: ../responses/SOL005_resp.yaml#/components/responses/416
635
        "500":
636
          $ref: ../responses/SOL005_resp.yaml#/components/responses/500
637
        "503":
638
          $ref: ../responses/SOL005_resp.yaml#/components/responses/503
639
        "504":
640
          $ref: ../responses/SOL005_resp.yaml#/components/responses/504
641

642
  /nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel:
643
    parameters:
644
645
646
      - $ref: '#/components/parameters/NsLcmOpOccId'
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Version
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
647
    post:
rameshnaraya's avatar
rameshnaraya committed
648
      summary: Cancel a NS lifecycle management operation occurrence.
649
      description: |