SOL003VNFLifecycleOperationGranting_def.yaml 60.4 KB
Newer Older
          Reference to the information about a specific VNFC snapshot (refer to "VnfcSnapshotInfo") of 
          the VNF snapshot. The identifier is unique within the scope of a VNF snapshot, identified by 
          the "vnfSnapshotId" attribute. Shall only be present if the operation to be granted concerns 
          to reverting the VNF to a VNF snapshot, and the resource is planned to be added based on the 
          VNFC snapshot, and the type of resource is "COMPUTE" or "STORAGE". See notes 1 and 2.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierLocal"
          Reference to a snapshotted storage resource associated to the VNFC snapshot. Shall only be present 
          if the operation to be granted concerns to reverting the VNF to a VNF snapshot, and the storage 
          resource is planned to be added based on the VNFC snapshot, and the type of resource is "STORAGE". 
          See note 2.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierInVnf"
          Resource information for an existing snapshot resource. Shall only be present if the operation to 
          be granted concerns to reverting the VNF to a VNF snapshot and the resource is planned to be added 
          based on an existing VNF snapshot that has been created by the VNFM. Shall be absent otherwise. 
          See note 2.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/ResourceHandle"
  
  VimSnapshotResource:
    description: >
      This type contains a mapping between a snapshot resource definition related to a VNF snapshot 
      and the corresponding resource managed by the NFVO in the VIM which is needed during the revert 
      to VNF snapshot operation.
    type: object
    required:
    - vnfSnapshotId
    - vnfcSnapshotId
    - vimSnapshotResourceId
    properties:
      vimConnectionId:
        description: >
          Identifier of the VIM connection to access the software image referenced in this structure.
          The applicable "VimConnectionInfo" structure, which is referenced by vimConnectionId, can be
          obtained from the "vimConnectionInfo" attribute of the "VnfInstance" structure.
          This attribute shall only be supported and present if VNF-related resource management in direct 
          mode is applicable.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Identifier"
      resourceProviderId:
        description: >
          Identifies the entity responsible for the management of the virtualised resource.
          This attribute shall only be supported and present if VNF-related resource management in indirect 
          mode is applicable. The identification scheme is outside the scope of the present document.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Identifier"
          Identifier of the VNF snapshot (referring to the "id" attribute in the "VnfSnapshot" data structure) 
          related to this VIM snapshot resource.  
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Identifier"
      vnfcSnapshotId:
        description: >
          Identifier of the information about a specific VNFC snapshot (refer to "VnfcSnapshotInfo") of 
          the VNF snapshot. The identifier is unique within the scope of a VNF snapshot, identified by 
          the "vnfSnapshotId" attribute.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierLocal"
      storageSnapshotId:
        description: >
          Identifier of the virtual storage resource that has been snapshotted as referred in the VNFC
          snapshot information. Shall only be present if the snapshot resource in the VIM is a storage 
          resource (as indicated by "type=STORAGE" in the parent resource definition).
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierInVnf"
      vimSnapshotResourceId:
        description: >
          Identifier of the snapshot resource in the resource management layer (i.e. VIM).
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierInVim"
  
  StorageAsset:
    description: >
      This type provides a mapping between a VirtualStorageDesc in the VNFD and the corresponding virtual storage
      managed by the NFVO in the NFVI.
    type: object
    required:
      - virtualStorageDescId
      - storageClassName
    properties:
      vimConnectionId:
        description: >
          Identifier of the VIM or CISM connection to access the virtual
          storage referenced in this data type.
          The applicable "VimConnectionInfo" structure, which is referenced by
          vimConnectionId, can be obtained from the "vimConnectionInfo"
          attribute of the "VnfInstance" structure.
          This attribute shall only be supported and present if
          - all or part of the granted resources are managed by
          a VIM and VNF related resource management in direct mode is applicable.
          - all or part of the granted resources are managed by a CISM.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Identifier"
      resourceProviderId:
        description: >
          Identifier used by NFVO to determine the entity responsible for the
          management of the storage asset.
          This attribute shall only be supported and present if VNF-related resource
          management in indirect mode is applicable. The identification scheme
          is outside the scope of the present document.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Identifier"
      virtualStorageDescId:
        description: >
          Identifier of the virtual storage descriptor in the VNFD.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierInVnfd"
      storageClassName:
        description: >
          Name of storage class, which represents features and policies
          concerning a virtual storage.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/String"
Muhammad Umair Khan's avatar
Muhammad Umair Khan committed
  OsContainerDesc:
    description: >
      This type describes the properties of a set of co-located container compute resources 
      required for realizing a VDU.
    type: object
    required:
      - osContainerDescId
      - name
      - description
    properties:
      osContainerDescId:
        description: >
          Unique identifier of this OsContainerDesc
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Identifier"
      name:
        description: >
          Human readable name of this OS container.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/String"
      description:
        description: >
          Human readable description of this OS container.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/String"
      requestedCpuResources:
        description: >
          Number of CPU resources requested for the container (e.g. in milli-CPU-s).
        type: integer
      requestedMemoryResources:
        description: >
          Amount of memory resources requested for the container (e.g. in MB).
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Number"
      requestedEphemeralStorageResources:
        description: >
          Size of ephemeral storage resources requested for the container (e.g. in GB).
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Number"
      extendedResourceRequests:
        description: >
          An array of key-value pairs of extended resources required by the container.
Muhammad Umair Khan's avatar
Muhammad Umair Khan committed
          type: integer
      cpuResourceLimit:
        description: >
          Number of CPU resources the container can maximally use in milli-CPU.
        type: integer
      memoryResourceLimit:
        description: >
          Amount of memory resources the container can maximally use (e.g. in MB).
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Number"
      ephemeralStorageResourceLimit:
        description: >
          Size of ephemeral storage resources the container can maximally use (e.g. in GB).
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Number"
      hugePageResources:
        description: >
          Specifies HugePages resources requested for the container, which the container can 
          maximally use (e.g. "hugepages-2Mi: 100Mi").
        type: array
        items:
          $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Number"      

  PaasAssets:
    type: object
    required:
      - paasServiceType
      - paasServiceId
      - paasServiceRequestId
      - paasServiceHandle
    properties:
      paasServiceType:
        description: >
          The type of PaaS Service. The value of this attribute is expected to be 
          matched against values of the registered PaaS Services in the PSR.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/String"
      paasServiceId:
        description: >
          Identifier of the assigned PaaS Service as managed by the PSM.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Identifier"
      paasServiceVersion:
        description: >
          Version of the PaaS Service. It shall be present if the PaaS Service is versioned.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/Version"
      paasServiceRequestId:
        description: >
          Identifier of the PaaS Service request in the VNFD that maps to the assigned PaaS Service.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/IdentifierInVnfd"
      PaasServiceHandle:
        description: >
          A handle enabling the access and use of the PaaS Service by the VNF.
        $ref: "../../General_Definitions/SOL003_def.yaml#/definitions/PaasServiceHandle"