Commit 9d68c338 authored by piscione's avatar piscione
Browse files

SOL005_120 to SOL005_123

parent 9f1fc39f
Loading
Loading
Loading
Loading
Loading
+21 −31
Original line number Original line Diff line number Diff line
@@ -205,6 +205,9 @@ definitions:
    description: >
    description: >
      This type represents modifications to the information of a VNF snapshot package. 
      This type represents modifications to the information of a VNF snapshot package. 
      It shall comply with the provisions defined in table 11.5.2.4-1.
      It shall comply with the provisions defined in table 11.5.2.4-1.
      NOTE:	At least one of the three parameters shall be present. If the VNF snapshot
      is not uploaded or built, the operation is used only to update existing or add additional
      user defined data using the userDefinedData attribute.
    type: object
    type: object
    anyOf:
    anyOf:
      - required:
      - required:
@@ -217,19 +220,12 @@ definitions:
      name:
      name:
        description: >
        description: >
          New value of the human-readable name of the VNF snapshot package. 
          New value of the human-readable name of the VNF snapshot package. 
          
          See note.
          At least one of the three parameters shall be present. If the VNF snapshot package 
          is not uploaded or built, the operation is used only to update existing or add additional 
          user defined data using the userDefinedData attribute.
        type: string
        type: string
      userDefinedData:
      userDefinedData:
        description: >
        description: >
          User defined data for the VNF snapshot package to be updated. 
          User defined data for the VNF snapshot package to be updated. 
          For existing keys, the value is replaced. 
          For existing keys, the value is replaced. See note.
          
          At least one of the three parameters shall be present. If the VNF snapshot package 
          is not uploaded or built, the operation is used only to update existing or add additional 
          user defined data using the userDefinedData attribute.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs" 
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs" 
      state:
      state:
        description: >
        description: >
@@ -241,9 +237,7 @@ definitions:
          Explicit change of state is only permitted from the following states:
          Explicit change of state is only permitted from the following states:
          - ERROR_EXTRACTING 
          - ERROR_EXTRACTING 


          At least one of the three parameters shall be present. If the VNF snapshot package 
          See note.
          is not uploaded or built, the operation is used only to update existing or add additional 
          user defined data using the userDefinedData attribute.
        type: string
        type: string
        enum:
        enum:
          - AVAILABLE
          - AVAILABLE
@@ -314,6 +308,9 @@ definitions:
      This type represents the request parameters for building the content of a VNF snapshot package.
      This type represents the request parameters for building the content of a VNF snapshot package.
      The NFVO can obtain the VNF snapshot data through the information provided in the request 
      The NFVO can obtain the VNF snapshot data through the information provided in the request 
      parameters. It shall comply with the provisions defined in table 11.5.2.6-1.
      parameters. It shall comply with the provisions defined in table 11.5.2.6-1.

      NOTE:	The "overrideImportForVnfcSnapshotIds" provides the list of VNFC snapshots for which the VNF
      snapshot-level snapshot resource import policy is overridden. See also examples in the present clause.
    type: object
    type: object
    required:
    required:
      - vnfSnapshotInfoId
      - vnfSnapshotInfoId
@@ -338,9 +335,7 @@ definitions:
          If present, it indicates the list of VNFC snapshots to which the VNF snapshot-level 
          If present, it indicates the list of VNFC snapshots to which the VNF snapshot-level 
          import snapshot resource policy indicated by the "importSnapshotResource" attribute 
          import snapshot resource policy indicated by the "importSnapshotResource" attribute 
          does not apply and the opposite value shall be considered. 
          does not apply and the opposite value shall be considered. 
          
          See note.
          The "overrideImportForVnfcSnapshotIds" provides the list of VNFC snapshots for which the 
          VNF snapshot-level snapshot resource import policy is overridden. See also examples in the 
          present clause.
          present clause.
        type: array
        type: array
        items:
        items:
@@ -350,16 +345,15 @@ definitions:
          VNF snapshot-level policy indicating whether the NFVO shall import the snapshotted resources 
          VNF snapshot-level policy indicating whether the NFVO shall import the snapshotted resources 
          from the NFVI (TRUE) or keep in the NFVI the snapshotted resources as external artifacts 
          from the NFVI (TRUE) or keep in the NFVI the snapshotted resources as external artifacts 
          during the building of the VNF snapshot package file (FALSE). Default value is TRUE. 
          during the building of the VNF snapshot package file (FALSE). Default value is TRUE. 
          
          See note.
          The "overrideImportForVnfcSnapshotIds" provides the list of VNFC snapshots for which the 
          VNF snapshot-level snapshot resource import policy is overridden. See also examples in the 
          present clause.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Boolean" 
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Boolean" 


  ExtractVnfSnapshotPkgRequest:
  ExtractVnfSnapshotPkgRequest:
    description: >
    description: >
      This type represents the request parameters for extracting the content of a VNF snapshot package.
      This type represents the request parameters for extracting the content of a VNF snapshot package.
      It shall comply with the provisions defined in table 11.5.2.7-1.
      It shall comply with the provisions defined in table 11.5.2.7-1.

      NOTE:	Either the parameter vnfSnapshotInfoId or vnfInstanceId, but not both, shall be provided.
    type: object
    type: object
    oneOf:
    oneOf:
      - required:
      - required:
@@ -371,15 +365,13 @@ definitions:
        description: >
        description: >
          Identifier held by the NFVO about an "Individual VNF snapshot" resource managed by the VNFM 
          Identifier held by the NFVO about an "Individual VNF snapshot" resource managed by the VNFM 
          to which the content of the VNF snapshot package will be extracted to.
          to which the content of the VNF snapshot package will be extracted to.
          
          See note.
          Either the parameter vnfSnapshotInfoId or vnfInstanceId, but not both, shall be provided.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier" 
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier" 
      vnfInstanceId:
      vnfInstanceId:
        description: >
        description: >
          Identifier of the VNF instance to which the content and extraction of the VNF snapshot 
          Identifier of the VNF instance to which the content and extraction of the VNF snapshot 
          package is to be associated. 
          package is to be associated. 
          
          See note.
          Either the parameter vnfSnapshotInfoId or vnfInstanceId, but not both, shall be provided.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"


  CancelVnfSnapshotPkgOperationRequest:
  CancelVnfSnapshotPkgOperationRequest:
@@ -485,6 +477,8 @@ definitions:
      This type represents an artifact contained in or external to a VNF snapshot package which 
      This type represents an artifact contained in or external to a VNF snapshot package which 
      represents a snapshot image. 
      represents a snapshot image. 
      It shall comply with the provisions defined in table 11.5.3.2-1.
      It shall comply with the provisions defined in table 11.5.3.2-1.
      NOTE 1:	The list of permitted values was taken from "Container formats" in OpenStack®: "Disk and container formats for images".
      NOTE 2:	The list of permitted values was adapted from "Disk formats" in OpenStack®: "Disk and container formats for images".
    type: object
    type: object
    required:
    required:
      - id
      - id
@@ -542,9 +536,7 @@ definitions:
          - OVA: OVF package in a tarfile.
          - OVA: OVF package in a tarfile.
          - OVF: OVF container format.
          - OVF: OVF container format.


          The list of permitted values was taken from "Container formats" in 
          See note 1.
          OpenStack®: "Disk and container formats for images" 
          (Available from https://docs.openstack.org/glance/pike/user/formats.html)
        type: string
        type: string
        enum:
        enum:
          - AKI
          - AKI
@@ -571,9 +563,7 @@ definitions:
          - VHDX: enhanced version of VHD format.
          - VHDX: enhanced version of VHD format.
          - VMDK: a common disk image format.
          - VMDK: a common disk image format.


          The list of permitted values was adapted from "Disk formats" in 
          See note 2.
          OpenStack®: "Disk and container formats for images" 
          (Available from https://docs.openstack.org/glance/pike/user/formats.html)
        type: string
        type: string
        enum:
        enum:
          - AKI
          - AKI