Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changed role to classification

...

The base type of elements which can be part of a service.

Properties


NameRequiredTypeConstraintsDescription
catalog_infoyesonap.datatype.CatalogInfo

Only Catalog logic may assign and modify this property. For all other ONAP components and actors, it is read-only

Vital records assigned to and maintained by the model catalog for each node template: UUIDs, versions, etc.
role
classification
nostringThe role played by the template in the topology.
yesonap.datatype.Classification


Attributes


NameRequiredTypeConstraintsDescription
instance_name
string
The name of the run-time instance in a deployment. MAY be different for different instances of the same template. This is unlike the tosca_name attribute of the tosca.nodes.Root node type, which is always the same for all instances of one template.


Capabilities

None

Requirements

...

Code Block
titleTOSCA Definition
linenumberstrue
node_types:
  onap.nodes.Resource:
    description: |
      a base of the ONAP hierarchy of resources which can be part of a service
    derived_from: tosca.nodes.Root
    properties:
      catalog_info:
        type: onap.datatypes.CatalogInfo
        description:
        required: true
        # generated by Design Time Catalog once, then never changed
      roleclassification:
        type:
          type: string
        description: the role a template plays in a topology
role:
          type: string
        function: 
          requiredtype: falsestring
    attributes:
      instance_name: 
        type: string
        description: the name of the run-time instance of in the deployment  

...