Commit 5f42b5a5 authored by moscatelli's avatar moscatelli
Browse files

SOL003_36: Responses' codes updated according to SOL003 and SOL013

parent 36dda968
Loading
Loading
Loading
Loading
Loading
+15 −6
Original line number Diff line number Diff line
@@ -566,9 +566,7 @@ paths:
    post:
      #SOL003 location: 5.4.4.3.1
      description: >
        Instantiate VNF


        Instantiate VNF.
        The POST method instantiates a VNF instance.
      parameters:
        - name: InstantiateVnfRequest
@@ -607,7 +605,7 @@ paths:
      responses:
        202:
          description: >
            Accepted
            202 ACCEPTED

            The request was accepted for processing, but the  processing has
            not been completed.
@@ -620,6 +618,8 @@ paths:
              description: The resource URI of the created VNF instance
              type: string
              format: url
              maximum: 1
              minimum: 1
            WWW-Authenticate:
              description: >
                Challenge if the corresponding HTTP request has not provided
@@ -647,13 +647,22 @@ paths:
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        409:
          $ref: "responses/VNFLifecycleManagement_resp.yaml#/responses/409-state-conflict-INSTANTIATED"
          description: >
            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 "Individual VNF instance" resource is in INSTANTIATED state,
            or that a required child attribute of the "extensions" attribute has not been set.
            Those attributes are marked as "required" in the VNFD.
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/409"
        416:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/416"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
        504:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
          
  ###############################################################################
  # Scale VNF task                                                              #
  ###############################################################################