Commit e2e96c1e authored by piscione's avatar piscione
Browse files

SOL005_82, SOL005_85 to SOL005_88, SOL005_91 to SOL005_97

parent 1371b7a4
Loading
Loading
Loading
Loading
Loading
+34 −2
Original line number Diff line number Diff line
@@ -196,6 +196,11 @@ paths:
    delete:
      description: |
        The DELETE method deletes an individual NS descriptor resource. See clause 5.4.3.3.5.
        An individual NS descriptor resource can only be deleted when there is no NS instance
        using it (i.e. "nsdUsageState" = "NOT_IN_USE"), there is no NSD referring to it which
        have a value of "strict NSD constituent onboarding" set to True and has been disabled
        already (i.e. "nsdOperationalState" = "DISABLED"). Otherwise, the DELETE method shall
        fail. 
      responses:
        204:
          $ref: '#/components/responses/IndividualNSDescriptor.Delete.204'
@@ -265,6 +270,21 @@ paths:
    put:
      description: |
        The PUT method is used to upload the content of an NSD archive. See clause 5.4.4.3.3.
        Whether all descriptors referenced from the NSD: VNFD, PNFD and NSD for nested NSs 
        shall be on-boarded before this operation depends on the value of "strict NSD 
        constituent onboarding" present in the NSD. 
        The user may use this operation to upload a new NSD version, which can be associated 
        to an NS instance with the Update NS operation (see clause 6.4.6). Different NSD 
        versions have the same "nsdInvariantId" attribute, but different "nsdId" attributes 
        and different NSD information objects. The design of different NSD versions and their 
        business logic is out of scope of the present document. 
        After a successful result, the NSD and those referenced descriptors that are already 
        on-boarded are known to and validated by the NFVO. The associated NSD information 
        object is updated with the information populated from the validated NSD. The NSD is 
        onboarded and is in "nsdOperationalState" = "ENABLED" and "nsdUsageState" = "NOT_IN_USE" 
        states, allowing its use for NS lifecycle management. See the NSD state model in clause 
        B.1.2. If there are on-boarded NSDs that refer to this NSD as a nested NSD, their 
        respective NsdInfo records are updated to refer to the on-boarded nested NSD.
      parameters:
        - $ref: '#/components/parameters/ContentTypeZip'
      responses:
@@ -598,6 +618,9 @@ paths:
    delete:
      description: |
        The DELETE method deletes an individual PNF descriptor resource. See clause 5.4.6.3.5.
        An individual PNF descriptor resource can only be deleted when there is no NS instance 
        using it or there is NSD referencing it which have a value of "strict NSD constituent 
        onboarding" set to True. 
      responses:
        204:
          $ref: '#/components/responses/IndividualPnfDescriptor.Delete.200'
@@ -667,6 +690,15 @@ paths:
    put:
      description: |
        The PUT method is used to upload the content of a PNFD archive. See clause 5.4.7.3.3.
        The user may use this operation to upload a new PNFD version. Different PNFD versions 
        have the same "pnfdInvariantId" attribute, but different "pnfdId" attributes and different 
        PNFD information objects. The design of different PNFD versions and their business logic 
        is out of scope of the present document. 
        Once on-boarded, the PNFD is known to and validated by the NFVO. The associated PNFD information 
        object is updated with the information populated from the validated PNFD. If there are on-boarded 
        NSDs that refer to this PNFD, their respective NsdInfo records are updated to refer to the 
        on-boarded PNFD. 
        
      parameters:
        - $ref: '#/components/parameters/AcceptText'
        - $ref: '#/components/parameters/ContentTypeZip'
@@ -1319,8 +1351,8 @@ components:
        200 OK

        Shall be returned when the operation has been accepted and completed successfully.
        The response body shall contain attribute modifications for an 'Individual NS descriptor'
        resource (see clause 5.5.2.1).
        The response body shall contain attribute modifications for an "Individual NS 
        descriptor" resource (see clause 5.5.2.1).
      headers:
        Content-Type:
          description: |
+30 −9
Original line number Diff line number Diff line
@@ -52,6 +52,9 @@ definitions:
          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: >
@@ -60,6 +63,13 @@ definitions:
          way. It is copied from the NSD content and shall be
          present after the NSD content is on-boarded.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
      nsdExtInvariantId:
        description: >
            dentifies an NSD in a version independent manner. This attribute is invariant across versions of the NSD that fulfil 
            certain conditions related to the external connectivity and management of the NS. It shall be present after the NSD 
            content has been on-boarded if it is included in the NSD and shall be absent otherwise. If present it is copied from 
            the NSD of the on-boarded content.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
      nsdName:
        type: string
        description: >
@@ -80,15 +90,16 @@ definitions:
        description: >
          This identifier, which is allocated by the NSD
          designer, identifies an NSD in a version independent
          manner. This information is copied from the NSD
          content and shall be present after the NSD content is
          manner.  This attribute is invariant across versions of NSD with no constraint 
          on the changes across versions. This information is copied from the NSD
          of the on-boarded content and shall be present after the NSD content is
          on-boarded.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
      vnfPkgIds:
        description: >
          Identifies the VNF package for the VNFD referenced
          by the on-boarded NS descriptor resource.
          See note 1.
          See notes 1 and 5.
        type: array
        items:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
@@ -96,7 +107,7 @@ definitions:
        description: >
          Identifies the PnfdInfo element for the PNFD
          referenced by the on-boarded NS descriptor
          resource.
          resource. See note 6.
        type: array
        items:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
@@ -105,7 +116,7 @@ definitions:
          Identifies the NsdInfo element for the nested NSD
          referenced by the on-boarded NS descriptor
          resource.
          See note 1.
          See notes 1 and 6.
        type: array
        items:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
@@ -232,7 +243,7 @@ definitions:
          is copied from the PNFD content and shall be
          present after the PNFD content is on-boarded.
        type: string
      pnfdersion:
      pnfdVersion:
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Version"
      pnfdProvider:
        description: >
@@ -241,10 +252,20 @@ definitions:
        type: string
      pnfdInvariantId:
        description: >
          Identifies a PNFD in a version independent
          manner. This attribute is invariant across versions
          of PNFD.
          Identifies a PNFD in a version independent manner. This attribute is invariant
          across versions of PNFD. It is copied from the PNFD content and shall be present 
          after the PNFD content is on-boarded. 
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"

      pnfdExtInvariantId:
        description: >
          Identifies a PNFD in a version independent manner. This attribute is invariant 
          across versions of the PNFD that expose the same external connectivity, i.e. 
          same number of pnfExtCpds and same identifiers. It shall be present after the PNFD 
          content has been on-boarded if it is included in the PNFD and shall be absent otherwise. 
          If present it is copied from the PNFD of the on-boarded content. 
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"

      archiveSecurityOption:
        description: >
          Signals the security option used by the PNFD archive as defined