...
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
If the blueprints are encoded as before to CSAR, the EPC CSAR will have the file structure as shown below. The options add various files to this:
Code Block |
---|
$ find EPC
EPC
EPC/Artifacts
EPC/Artifacts/Resources
EPC/Artifacts/Resources/PGW
EPC/Artifacts/Resources/PGW/Deployment
EPC/Artifacts/Resources/PGW/Deployment/DCAE_INVENTORY_BLUEPRINT
EPC/Artifacts/Resources/PGW/Deployment/DCAE_INVENTORY_BLUEPRINT/TCA-Hi-Lo.ActiveSubscriberScaling.event_proc_bp.yaml
EPC/Artifacts/Resources/PGW/Deployment/DCAE_INVENTORY_BLUEPRINT/TCA-Hi-Lo.ControlPlaneScaling.event_proc_bp.yaml
EPC/Artifacts/Resources/PGW/Deployment/DCAE_INVENTORY_BLUEPRINT/TCA-Hi-Lo.UserPlaneScaling.event_proc_bp.yaml
EPC/Artifacts/Resources/SGW
EPC/Artifacts/Resources/SGW/Deployment
EPC/Artifacts/Resources/SGW/Deployment/DCAE_INVENTORY_BLUEPRINT
EPC/Artifacts/Resources/SGW/Deployment/DCAE_INVENTORY_BLUEPRINT/TCA-Hi-Lo.ActiveSubscriberScaling.event_proc_bp.yaml
EPC/Artifacts/Resources/SGW/Deployment/DCAE_INVENTORY_BLUEPRINT/TCA-Hi-Lo.ControlPlaneScaling.event_proc_bp.yaml
EPC/Artifacts/Resources/SGW/Deployment/DCAE_INVENTORY_BLUEPRINT/TCA-Hi-Lo.UserPlaneScaling.event_proc_bp.yaml
EPC/csar.meta
EPC/Definitions
EPC/Definitions/annotations.yml
EPC/Definitions/artifacts.yml
EPC/Definitions/capabilities.yml
EPC/Definitions/data.yml
EPC/Definitions/groups.yml
EPC/Definitions/interfaces.yml
EPC/Definitions/nodes.yml
EPC/Definitions/policies.yml
EPC/Definitions/relationships.yml
EPC/Definitions/resource-Emptyvf-template-interface.yml
EPC/Definitions/resource-Emptyvf-template.yml
EPC/Definitions/service-Emptyservice-template-interface.yml
EPC/Definitions/service-Emptyservice-template.yml
EPC/TOSCA-Metadata
EPC/TOSCA-Metadata/TOSCA.meta |
Other examples are shown without current SDC file structure for compactness. This does not affect the model properties, only the division to files
...
Option 3: Inclusion to Topology Templates
Option 4: Separate Artifact for Clamp with
...
Default Policy Values
It is also possible to pass the information about the design time values for PolicyRoles outside of the main TOSCA model, similarly as the blueprint is passed now. In this case every PolicyRole would get a file in the CSAR
The main TOSCA model stays identical to Option 1.
Evaluation
Pros
- Simple separation of concerns.
Cons
- Bigger part of the service model is left outside of (main) TOSCA, making overall model handling more complex.
- Standard TOSCA tooling will not work with these