Versions Compared

Key

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

...

Code Block
linenumberstrue
node_types:
  onap.nodes.Resource:
    description: |
      a base of the ONAP hierarchy of resources
    derived_from: tosca.nodes.Root
    properties:
      name:
        description: |
			a human readable short name of the resource instance.
            May be assigned either manually by the designer or the operator
            or automatically by a naming policy
        type: string
        required: false
      resourceinstance_description: |
			a human readable description of the resource instance.
            Normally longer and more detailed than the name.
        type: string
        required: false    
    requirements:
      - host:
          description: |
            An ONAP resource may be hosted by a TOSCA container.
            In a VDU, this requirement is of the onap.capabilities.Compute type
          capability: tosca.capabilities.Container
          occurrences: [0, 1]
          relationship: onap.relationship.HostedOn

...