TIDM onap.nodes.Container

Nodes of this type represent a virtualization container, such as a VM or a Docker container.

Used to express advanced VNFC deployment scenarios, such as:

  • Multiple VDUs sharing a container and its hardware resources

  • Stacking software images

Since AbstractCompute is an abstract type, we cannot provide a deployment image artifact to initialize it (this will turn it into a concrete type, will inverse the capabilities and confuse the orchestrator). Instead, we can use a Container (or even a stack of containers) with the initialization images to use.

TODO: update the type definition with a required deployment artifact, to ensure that nodes of this type are always concrete

Definition

node_types: onap.nodes.Container: description: | a virtualization container derived_from: onap.nodes.Resource artifacts: # TODO - define a required deployment artifact 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