Description
The base type of elements which can be part of a service.
Properties
Name | Required | Type | Constraints | Description |
---|
catalog_info | yes | onap.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. |
roleno | string | The role played by the template in the topology.yes | onap.datatype.Classification |
|
|
Attributes
Name | Required | Type | Constraints | Description |
---|
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
None
TOSCA Definition
Code Block |
---|
title | TOSCA Definition |
---|
linenumbers | true |
---|
|
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
|
Examples
None