Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Multiple VDUs sharing a container and its hardware resources
  • Stacking software images

Definition

Code Block
linenumberstrue
node_types:          
  onap.nodes.ContainerCompute:
    description: |
      a virtualization container
    derived_from: onap.nodes.Resource
    artifacts:
      sw_image:
        type: tosca.artifacts.Deployment
        description: |
          a software image used to launch an instance of the virtualization container
    capabilities:
      host:
        type: tosca.capabilities.Container
        occurrences: [1, UNBOUNDED] # a container can host one or more VDUs
    requirements:
      - host:
          capability: onap.capabilities.Compute
          description: hardware required to function

          relationship: onap.relationships.HostedOn
          occurrences: [1,1]
      - storage:
		  capability: onap.capabilities.Storage
          description: an attached storage device required for the container to function
          relationship: tosca.relationships.AttachesTo