Commit adb89d31 authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL003_61: VnfcSnapshotInfo added

parent a8261dbc
Loading
Loading
Loading
Loading
+69 −0
Original line number Diff line number Diff line
@@ -1396,6 +1396,75 @@ definitions:
          Shall be present in case this CP instance maps to an internal VL. See note.
        $ref: "SOL002SOL003_def.yaml#/definitions/Identifier"

  VnfcSnapshotInfo:
    description: >
      This type represents a VNFC snapshot.
    type: object
    required:
      - id
      - vnfcInstanceId
      - triggeredAt
      - vnfcResourceId
    properties:
      id:
        description: >
          Identifier of the information held by the VNFM about a specific VNFC snapshot. This identifier is allocated by
          the VNFM and is unique within the scope of a VNF snapshot.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierLocal"
      vnfcInstanceId:
        description: >
          Identifier of the snapshotted VNFC instance.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
      triggeredAt:
        description: >
          Timestamp indicating when the VNF snapshot creation has been started.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      createdAt:
        description: >
          Timestamp indicating when the VNFC snapshot has been completed. Shall be present once the VNFC snapshot
          creation has been completed.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/DateTime"
      vnfcResourceId:
        description: >
          Reference to the "VnfcResourceInfo" structure in the "VnfInstance" structure that represents the snapshotted 
          VNFC instance.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
      computeSnapshotResource:
        description: >
          Reference to a compute snapshot resource. 
          The identifier of the compute and storage snapshot resource is assigned during creation of a VNFC snapshot
          being returned from the VIM as output data in the response message of the individual resource operations. 
          This attribute shall only be present for a VNFC snapshot that has been newly created by the VNFM as a result o
          f the "Create VNF snapshot task".
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ResourceHandle"
      storageSnapshotResources:
        description: >
          Mapping of the storage resources associated to the VNFC with the storage snapshot resources.
        type: array
        items:
          type: object
          required: 
          - storageResourceId
          properties:
            storageResourceId:
              description: >
                Reference to the "VirtualStorageResourceInfo" structure in the "VnfInstance" structure 
                that represents the virtual storage resource.
              $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
            storageSnapshotResource:
              description: >
                Reference to a storage snapshot resource.
                The identifier of the storage snapshot resource is assigned during creation of a VNFC 
                snapshot being returned from the VIM as output data in the response message of the 
                individual resource operations. This attribute shall only be present for a VNFC snapshot 
                with an associated storage resource and that has been newly created by the VNFM as a 
                result of the "Create VNF snapshot task".
              $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
      userDefinedData:
        description: >
          User defined data for the VNFC snapshot.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"

  VnfOperationalStateType:
    description: >
      STARTED: The VNF instance is up and running.