TIDM onap.nodes.Resource
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. |
classification | 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
TOSCA Definition
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
classification:
type:
type: string
role:
type: string
function:
type: string
attributes:
instance_name:
type: string
description: the name of the run-time instance of in the deployment
Examples
None