Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Application Service Descriptor (ASD) Resource Data Mode is created based on the ONAP agreed Application Service Descriptor (ASD) onboarding Information Model, ver. 1.0.

The application service descriptor resource data model specified in this wiki page includes the ASD node type, ASD data type, ASD artifact type and ASD package format. This data model specifies the format of a vendor provided ASD package which is going to be onboarded to ONAP.

This application service descriptor (ASD) resource data model is specified in the scope of ONAP PoC implementation.

If the ASD concept is accepted by any standardization organization (e.g. ORAN), ONAP may open the discussion on how to align the ONAP implementation with the standard defined ASD data model. 

...

Code Block
titleexample of ASD node_templates example
collapsetrue
applicationServiceDescriptor:
      type: ApplicationServiceDescriptor
      version: 1.0tosca.nodes.asd
      description: "Sample Application"
      properties: 
        descripter_id: 123e4567-e89b-12d3-a456-426614174000
        descripter_invariant_id: fdsa123e4yyy-e89b-xdsfg12d3-sdfsd-wqeuy
       a456-426614174abc
        descripter_version: 1.0
        schema_version: 2.0
        provider: MyCompany
        applicationNameapplication_name: SampleApp
        applicationVersionapplication_version: 2.3
        applicationInfoNameapplication_info_name: Sample Application
        extCpds:
          - id: webpage-service1
            virtualLinkRequirementdescription: webpage-service
 endUser  
          - id: transactionAPIvirtual_link_requirement: endUser  
          -  virtualLinkRequirementid: backhaul2
            interfaceOrderdescription: 0transactionAPI
            switchPlanevirtual_link_requirement: leftbackhaul
        enhancedClusterCapabilitiesenhanced_cluster_capabilities: [ o-ran.o-cloud.hw.gpgpu ]
      artifacts: #these are the deployment items:
        sampleapp-db:
          type: AsdDeploymentItemtosca.artifacts.asd.deploymentItem
              file: "sampleapp-db-operator-helm.tgz" # or a URI
          properties:
            artifactTypeartifact_type: "helm_chart" 
            itemIditem_id: 1 
            deploymentOrderdeployment_order: 1 
            lifecycleParameterslifecycle_parameters: 
              - ".Values.db.fullBackupInterval"
              - ".Values.db.walConsolidationInterval"
        sampleapp-services:
          type: AsdDeploymentItemtosca.artifacts.asd.deploymentItem
              file: "sampleapp-services-helm.tgz"  # or a URI
          properties:
            artifactTypeartifact_type: "helm_chart"
            itemIditem_id: 2 
            deploymentOrderdeployment_order: 2 
            lifecycleParameterslifecycle_parameters:
              - ".Values.app.initialWebReplicas"  

...