X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm-openapi.yaml;h=e9eaad4fafe3b8a477b9acd530dd241b129e8a5f;hb=refs%2Ftags%2Fv15.0.1;hp=ccd9277363dd7c9855c88ea31bba17415d06c5bd;hpb=9058fd982f40237c6ab6ee89c639c558d81977f2;p=osm%2FSOL005.git diff --git a/osm-openapi.yaml b/osm-openapi.yaml index ccd9277..e9eaad4 100644 --- a/osm-openapi.yaml +++ b/osm-openapi.yaml @@ -2223,6 +2223,49 @@ paths: $ref: '#/components/responses/UnexpectedError' default: $ref: '#/components/responses/UnexpectedError' + '/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel': + parameters: + - name: nsLcmOpOccId + in: path + required: true + description: NS LCM Operation Occurrence ID + schema: + type: string + post: + tags: + - "NS instances" + summary: Cancel an ongoing NS lifecycle management operation + description: Cancel an ongoing NS lifecycle management operation while it is being executed or rolled back + operationId: cancelNSLCMOpOcc + requestBody: + $ref: '#/components/requestBodies/CancelNSLCMOpOccRequest' + responses: + '202': + description: Accepted + '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/vnf_instances': get: tags: @@ -8744,8 +8787,6 @@ components: K8sClusterDeploymentMethods: type: object properties: - helm-chart: - type: boolean juju-bundle: type: boolean helm-chart-v3: @@ -8993,6 +9034,16 @@ components: key-file: type: string description: identify HTTPS client using this SSL key file + oci: + type: boolean + default: false + description: > + Flag to indicate whether or not it is an OCI-enabled repo (default: false) + required: + - name + - type + - url + additionalProperties: false ArrayOfK8sRepoInfo: type: array items: @@ -9180,6 +9231,14 @@ components: $ref: '#/components/schemas/Authenticationschema' required: - CallbackUri + CancelNSLCMOpOccRequest: + type: object + properties: + cancelMode: + type: string + enum: + - GRACEFUL + - FORCEFUL # END SCHEMAS requestBodies: @@ -9525,6 +9584,14 @@ components: application/yaml: schema: $ref: '#/components/schemas/NslcmSubscriptionRequest' + CancelNSLCMOpOccRequest: + content: + application/json: + schema: + $ref: '#/components/schemas/CancelNSLCMOpOccRequest' + application/yaml: + schema: + $ref: '#/components/schemas/CancelNSLCMOpOccRequest' # END REQUEST BODIES securitySchemes: