You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This capability characterizes a virtual machine. Intended to be used primarily as part of a TOSCA requirement clause. Normally, requirements of this type are never satisfied within the model. They stay “dangling” until instantiation. On instantiation, the orchestrator satisfies them out of the available inventory.

 Definition

capability_types:
  onap.capabilities.Compute:
    description: |
      When used with a requirement, describes infrastructure-level 
      computational power consumed by the node
    derived_from: tosca.capabilities.Container
    properties:
      num_cpus:
        description: number of virtual CPUs
        type: integer
        constraints:
          - greater_or_equal: 1
        required: false     
      cpu_frequency:
        description: CPU clock rate
        type: scalar-unit.frequency
        constraints:
          - greater_or_equal: 0.1 GHz
      mem_size:
        description: amount of memory
        type: scalar-unit.size
        required: false
        constraints:
          - greater_or_equal: 0 MB
      local_storage_size:
        description: amount of local storage to provide along with the Compute
        type: scalar-unit.size
        required: false
        constraints:
          - greater_or_equal: 0 MB
      io_bitrate:
        description: IO performance
        type: integer
        required: false
      architecture:
        description: vendor+architecture, for example, Intel64
        type: string
        required: false         
      custom_features:
        description: |
          Additional features description, serialized in a well-known format.
        type: string
        required: false                 


Mapping to Information Model

VirtualCpuData

VirtualMemoryData

  • No labels