Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Changed R3 to TIDM - Target Internal Data Model

See also: 

Allotted Resource Model explains the allotted resource concept in general.

TIDM onap.relationships.AllottedBy

Allotted Resource Examples


A capability derived of this type, when exposed by a service, indicates that a "slice" of this service can be used as a resource inside another service.

A requirement for this capability type specified an abstract resource node suggests that the orchestrator will resolve this abstraction by taking a slice of an already deployed provider service.

To assist the orchestrator in finding the best match, the designer is supposed to specify the expected type of the provided resource in the valid_source_types construct. 

Definition


Code Block
titleonap.capabilities.AllottedResourceProvider
linenumberstrue
onap.capabilities.AllottedResourceProvider:  derived 
  derived_from: tosca.capabilities.Root  descriptionRoot  
  description:  Capability to produce allotted resources  
  resources  validvalid_source_types:  []


Examples

Code Block
titleA capability to provide a specific type of resources
linenumberstrue
capability_types:
  vendorYYY.capabilities.SunshineDatabaseAsAServiceProvider:
    derived_from: onap.capabilities.AllottedResourceProvider
    valid_source_types: [vendorYYY.nodes.SunshineDatabase]