...
Code Block | ||||
---|---|---|---|---|
| ||||
node_templates:
# Direct usage of a my_allotted resource
allotted_resource:
type: provider.resource.MyAllottedResource:
properties:
# Property values for this allotted resource instance
# Other resource nodes (VNFs, VLs, etc.)
other_vnf:
type: provider.resource.my_vnf
...
|
...
- The LCM interfaces of the allotted resource type contain the code logic for interacting with the appropriate controller that manages the providing service. Since this is custom to each allotted resource/controller, it cannot simply be derived from the requirements and capabilities in the model.
- The consuming service does not require knowledge of the Provider service. It simply declares a node template of the allotted resource type. The linkages to the Provider (including the Provider requirement) are encapsulated within the allotted resource node type definition.
- When homing an allotted resource, SNIRO/OOF can determine the providing service type from the “AllottedResourceProvider” requirement on the allotted resource node, and search inventory for service nodes of that node type. Alternatively, if capabilities are captured in AAI, SNIRO/OOF can search directly for service-instance nodes with an AllottedResourceProvider capability with the desired allotted resource as a valid source type.
- Infrastructure services (i.e., allotted resource providers) can be composed of PNFs as well as VNFs for producing allotted resources. However, this would also be encapsulated within the model of the allotted resource/provider service pair and is transparent to the consuming service.