Commit 41911e58 authored by piscione's avatar piscione
Browse files

Solved other comments related to SOL005 updates.

parent 5de335a2
Loading
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -592,11 +592,37 @@ components:
          explode: false
          schema:
            type: string
        Etag:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string
        Last-Modified:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string  
        If-Unmodified-Since:
          description: The If-Unmodified-Since of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
        If-Match:
          description: The If-Match of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
          
      content:
        application/json:
          schema:
            $ref: ./definitions/NFVICapacityInformation_def.yaml#/components/schemas/CapacityThresholdModifications


    IndividualCapacityThreshold.Patch.412:
      description: |
        412 PRECONDITION FAILED
+49 −0
Original line number Diff line number Diff line
@@ -1376,11 +1376,36 @@ components:
          explode: false
          schema:
            type: string
        Etag:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string
        Last-Modified:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string  
        If-Unmodified-Since:
          description: The If-Unmodified-Since of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
        If-Match:
          description: The If-Match of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: "definitions/SOL005NSDescriptorManagement_def.yaml#/definitions/NsdInfoModifications"
        

    IndividualNSDescriptor.Patch.409:
      description: |
        409 CONFLICT
@@ -1710,6 +1735,30 @@ components:
          explode: false
          schema:
            type: string
        Etag:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string
        Last-Modified:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string  
        If-Unmodified-Since:
          description: The If-Unmodified-Since of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
        If-Match:
          description: The If-Match of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string

    NsdArchiveContent.Put.409:
      description: |
+13 −13
Original line number Diff line number Diff line
@@ -28,6 +28,18 @@ definitions:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"

  NsdInfo:
    description: 
     'This type represents a response for the query NSD operation.
      NOTE 1: At least one of the attributes - vnfPkgId and nestedNsdInfoId shall be present,
      after the NSD is on-boarded.
      NOTE 2: If the value of the nsdOnboardingState attribute is not equal to "ONBOARDED",
      the value of the nsdOperationalState attribute shall be equal to "DISABLED".
      NOTE 3: If the value of the nsdOnboardingState attribute is not equal to "ONBOARDED",
      the value of the nsdUsageState attribute shall be equal to "NOT_IN_USE".
      NOTE 4: State changes of an NSD are illustrated in clause B.2.
      NOTE 5: This attribute shall be present after the NSD is on-boarded for those VNF packages that are already on-boarded. 
      NOTE 6: This attribute shall be present after the NSD is on-boarded for those PNFDs that are already on-boarded.
      NOTE 7: This attribute shall be present after the NSD is on-boarded for those nested NSDs that are already on-boarded.'
    type: object
    anyOf:
      - required:
@@ -45,16 +57,6 @@ definitions:
        description: >
          Identifier of the on boarded individual NS descriptor
          resource. This identifier is allocated by the NFVO.
          NOTE 1: At least one of the attributes - vnfPkgId and nestedNsdInfoId shall be present,
          after the NSD is on-boarded.
          NOTE 2: If the value of the nsdOnboardingState attribute is not equal to "ONBOARDED",
          the value of the nsdOperationalState attribute shall be equal to "DISABLED".
          NOTE 3: If the value of the nsdOnboardingState attribute is not equal to "ONBOARDED",
          the value of the nsdUsageState attribute shall be equal to "NOT_IN_USE".
          NOTE 4: State changes of an NSD are illustrated in clause B.2.
          NOTE 5: This attribute shall be present after the NSD is on-boarded for those VNF packages that are already on-boarded. 
          NOTE 6: This attribute shall be present after the NSD is on-boarded for those PNFDs that are already on-boarded.
          NOTE 7: This attribute shall be present after the NSD is on-boarded for those nested NSDs that are already on-boarded. 
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
      nsdId:
        description: >
@@ -116,7 +118,7 @@ definitions:
          Identifies the NsdInfo element for the nested NSD
          referenced by the on-boarded NS descriptor
          resource.
          See notes 1 and 6.
          See notes 1 and 7.
        type: array
        items:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
@@ -192,8 +194,6 @@ definitions:
            description: >
              Link to the NSD content resource.
            $ref: "../../definitions/SOL005_def.yaml#/definitions/Link"
    description: >
      This type represents a response for the query NSD operation.

  CreateNsdInfoRequest:
    type: object
+24 −0
Original line number Diff line number Diff line
@@ -440,6 +440,30 @@ components:
          explode: false
          schema:
            type: string
        Etag:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string
        Last-Modified:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string  
        If-Unmodified-Since:
          description: The If-Unmodified-Since of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
        If-Match:
          description: The If-Match of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
+96 −5
Original line number Diff line number Diff line
@@ -203,7 +203,24 @@ paths:
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
    post:
      description: |
        The POST method instantiates an NS instance. See clause 6.4.4.3.1.
        The POST method instantiates an NS instance. 
        In case of the "feasibilityCheckReserve" attribute is present, the method 
        runs the feasibility check procedure for an NS instantiation scheduled 
        operation or runs the feasibility checking procedure followed by the 
        execution of the subsequent (actual) NS instantiation operation.
        This method shall follow the provisions specified in the tables 6.4.4.3.1-1 
        and 6.4.4.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.
        Before the NFVO initiates the "Instantiate NS" operation it shall verify 
        (if not already done previously when onboarding the NSD) that all descriptors 
        referenced in the selected NS deployment flavour, or a respective 
        overriding descriptor indicated in the operation, are already on-boarded.
        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.

      parameters:
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
@@ -281,7 +298,30 @@ paths:
      - $ref: ../components/SOL005_params.yaml#/components/parameters/Authorization
    post:
      description: |
        The POST method updates an NS instance. See clause 6.4.6.3.1.
        The POST method updates an NS instance.
        In case of the "feasibilityCheckReserve" attribute is present, 
        the NFVO runs the feasibility check procedure for an NS updating 
        scheduled operation or runs the feasibility checking procedure 
        followed by the execution of the subsequent (actual) NS updating 
        operation.
        This method shall follow the provisions specified in the tables 
        6.4.6.3.1-1 and 6.4.6.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. 
        If the "Update NS" operation involves adding a VNF instance, a 
        nested NS instance or a PNF to the NS instance, changing an NS 
        or VNF deployment flavour, or changing the associated NSD descriptor 
        or a current VNF package, the NFVO shall, before it initiates the 
        operation, verify (if not already done previously when onboarding 
        the NSD) that all descriptors referenced in the selected NS 
        deployment flavour, or a respective overriding descriptor indicated 
        in the operation, are already on-boarded.
        In addition, once the NFVO has successfully completed the underlying 
        NS LCM operation occurrence, it shall reflect the result of the update 
        of the NS instance by updating the representation of the "Individual 
        NS instance" resource accordingly to the update.

      parameters:
        - $ref: ../components/SOL005_params.yaml#/components/parameters/Accept
        - $ref: ../components/SOL005_params.yaml#/components/parameters/ContentType
@@ -494,8 +534,7 @@ paths:
        $ref: '#/components/requestBodies/NsLcmInfoModificationRequest'
      responses:
        "204":
          $ref: ../responses/SOL005_resp.yaml#/components/responses/204
          description: Shall be returned when the "Individual NS LCM operation occurrence" resource has been changed successfully.
          $ref: '#/components/responses/NsLcmOpOccs.Patch.204'
        "400":
          $ref: ../responses/SOL005_resp.yaml#/components/responses/400
        "401":
@@ -2621,3 +2660,55 @@ components:
          schema:
            type: string
      content: {}

    NsLcmOpOccs.Patch.204:
      description: |
        204 No Content
        Shall be returned when the "Individual NS LCM operation occurrence" resource has been changed successfully.
        The response body shall be empty.
      headers:
        Version:
          description: |
            Version of the API used in the response.
          style: simple
          explode: false
          schema:
            type: string
        WWW-Authenticate:
          description: |
            Challenge if the corresponding HTTP request has not provided authorization, or error details if the
            corresponding HTTP request has provided an invalid authorization token.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
        Etag:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string
        Last-Modified:
          description: The Etag of the response header.
          style: simple
          explode: false
          schema:
            type: string  
        If-Unmodified-Since:
          description: The If-Unmodified-Since of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
        If-Match:
          description: The If-Match of the response header. Available if in the previous response Last-Modified or ETag header was sent.
          style: simple
          explode: false
          schema:
            type: string
 No newline at end of file
Loading