...
Attribute | Value |
asdId | fdsa-xdsfg-sdfsd-wqeuy |
asdSchemaVersion | 1.0 |
asdProvider | MyCompany |
asdApplicationName | SampleApp |
asdApplicationVersion | 2.3 |
asdApplicationInfoName | Sample Application |
asdInfoDescription | Sample Application to illustrate ASD usage. |
asdExtCpd | webpage-service, transaction-api |
|
|
enhancedClusterCapabilities | o-ran.o-cloud.hw.gpgpu |
deploymentItems | (see next table) |
...
For the purpose of illustration of the ASD model, this example uses a YAML mapping of the descriptor model.
sample-app-asd.yaml
kind: ASD |
---|
The deployment order parameters “deploymentItems” above, the “sampleapp-db-operator” chart will be deployed first, followed by the “sampleapp-services” chart, since they are labelled for consecutive deployment orders. If both charts were to be deployed in parallel, the value of deploymentOrder would be set to 1.
...
ASD yaml file at the root of the archive as the CSAR Entry-definition file example:
MyCompanyASD.yaml file:
tosca_definitions_version: tosca_simple_yaml_1_3 |
---|
In this example, “asd_definitions” is introduced as a new key name to metadata. Thus, it will be required to be either define or register with either ETSI NFV SOL004 or with OASIS TOSCA TC.
Below figure is an example of CSAR including the ASD (sample-app-asd.yaml), a main TOSCA definition YAML file metadata only (MyCompanyASD.yaml), signature file, manifest, certificate, deployment artifacts, and images.
├── MyCompanyASD.yaml |
---|
The two referenced deployment artifacts are contained in the “deployment_artifacts” directory, and the package also contains two container images in OCI format, in the “images” directory.
The corresponding manifest file:
sample-app.mf
metadata: |
---|
Example processing flow of an ASD
...