From: adurti Date: Fri, 31 May 2024 09:22:18 +0000 (+0530) Subject: Feature 11011: Multiple NS deletion in OSM(SOL005) X-Git-Tag: release-v16.0-start~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=afd7509237a474be0aa8f3c2eb103fc76afb7151;p=osm%2FSOL005.git Feature 11011: Multiple NS deletion in OSM(SOL005) Change-Id: Ie3a7527f1cfc4e4cd226b89d4152e6c91b54d2d4 Signed-off-by: adurti --- diff --git a/osm-openapi.yaml b/osm-openapi.yaml index b9dc2db..6c1b966 100644 --- a/osm-openapi.yaml +++ b/osm-openapi.yaml @@ -2179,6 +2179,49 @@ paths: $ref: '#/components/responses/UnexpectedError' default: $ref: '#/components/responses/UnexpectedError' + '/nslcm/v1/ns_instances_terminate': + post: + tags: + - "NS instances" + summary: Terminates NS instances + description: Terminates multiple NS instances. + operationId: MultiNsTerminateRequest + requestBody: + $ref: '#/components/requestBodies/MultiNsTerminateRequest' + responses: + '202': + description: Accepted + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectIdList' + application/yaml: + schema: + $ref: '#/components/schemas/ObjectIdList' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' '/nslcm/v1/ns_instances_content': get: tags: @@ -6787,6 +6830,14 @@ components: id: type: string format: uuid + ObjectIdList: + type: object + properties: + ns_ids: + type: array + items: + type: string + format: uuid KeyValuePairs: # A free list of key:value pairs type: object @@ -7639,6 +7690,19 @@ components: required: - updateType additionalProperties: false + MultiNsTerminateRequest: + type: object + properties: + ns_ids: + description: List of Ns instance Ids to be deleted + type: array + items: + type: string + format: uuid + autoremove: + description: remove network service if termination end without error + type: boolean + additionalProperties: false # CreateNSinstanceContentRequest: # Substituted by InstantiateNsRequest CreateNSinstanceContentResponse: @@ -9644,6 +9708,14 @@ components: application/yaml: schema: $ref: '#/components/schemas/UpdateNsRequest' + MultiNsTerminateRequest: + content: + application/json: + schema: + $ref: '#/components/schemas/MultiNsTerminateRequest' + application/yaml: + schema: + $ref: '#/components/schemas/MultiNsTerminateRequest' # CreateNSinstanceContentRequest: # Substituted by InstantiateNsRequest CreateNstInfoRequest: