Versions Compared

Key

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

...

  • Demonstrate deploy & run NONRTRIC platform (& key SMO platform) functions - based on scripts & charts in it/dep repo
  • "rApps" are modeled as "Automation Compositions" from ONAP
    • https://wiki.onap.org/display/DW/Automation+Composition+Management%3A+Architecture+and+Design
    • LCM handled by ONAP ACM  ("Automation Composition Manager") (Replaces CLAMP)
    • Ref ACM Architecture from ONAP
    • Release G: Policy Clamp installation with Microk8s and Socks proxy 
    • Sample 'rApp' modeled as an Automation Composition
      • Release G: Automation Composition for O-DU Slice Assurance use case
        • Copied: commission.yaml tosca template used to model the App - used by ACM to LCM the App

          Code Block
          languageyml
          titlecommission.yaml
          linenumberstrue
          collapsetrue
          #  Copyright (C) 2022 Nordix Foundation. All rights reserved.
          #  ========================================================================
          #  Licensed under the Apache License, Version 2.0 (the "License");
          #  you may not use this file except in compliance with the License.
          #  You may obtain a copy of the License at
          #
          #       http://www.apache.org/licenses/LICENSE-2.0
          #
          #  Unless required by applicable law or agreed to in writing, software
          #  distributed under the License is distributed on an "AS IS" BASIS,
          #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
          #  See the License for the specific language governing permissions and
          #  limitations under the License.
          #  ============LICENSE_END=================================================
          #
          tosca_definitions_version: tosca_simple_yaml_1_3
          data_types:
            onap.datatypes.ToscaConceptIdentifier:
              derived_from: tosca.datatypes.Root
              properties:
                name:
                  type: string
                  required: true
                version:
                  type: string
                  required: true
          node_types:
            org.onap.policy.clamp.acm.Participant:
              version: 1.0.1
              derived_from: tosca.nodetypes.Root
              properties:
                provider:
                  type: string
                  required: false
            org.onap.policy.clamp.acm.AutomationCompositionElement:
              version: 1.0.1
              derived_from: tosca.nodetypes.Root
              properties:
                provider:
                  type: string
                  required: false
                  metadata:
                    common: true
                  description: Specifies the organization that provides the automation composition element
                participant_id:
                  type: onap.datatypes.ToscaConceptIdentifier
                  required: true
                  metadata:
                    common: true
                participantType:
                  type: onap.datatypes.ToscaConceptIdentifier
                  required: true
                  metadata:
                    common: true
                  description: The identity of the participant type that hosts this type of Automation Composition Element
                startPhase:
                  type: integer
                  required: false
                  constraints:
                    - greater_or_equal: 0
                  metadata:
                    common: true
                  description: A value indicating the start phase in which this automation composition element will be started, the
                    first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped
                    in reverse start phase order. Automation Composition Elements with the same start phase are started and
                    stopped simultaneously
                uninitializedToPassiveTimeout:
                  type: integer
                  required: false
                  constraints:
                    - greater_or_equal: 0
                  default: 60
                  metadata:
                    common: true
                  description: The maximum time in seconds to wait for a state chage from uninitialized to passive
                passiveToRunningTimeout:
                  type: integer
                  required: false
                  constraints:
                    - greater_or_equal: 0
                  default: 60
                  metadata:
                    common: true
                  description: The maximum time in seconds to wait for a state chage from passive to running
                runningToPassiveTimeout:
                  type: integer
                  required: false
                  constraints:
                    - greater_or_equal: 0
                  default: 60
                  metadata:
                    common: true
                  description: The maximum time in seconds to wait for a state chage from running to passive
                passiveToUninitializedTimeout:
                  type: integer
                  required: false
                  constraints:
                    - greater_or_equal: 0
                  default: 60
                  metadata:
                    common: true
                  description: The maximum time in seconds to wait for a state chage from passive to uninitialized
            org.onap.policy.clamp.acm.AutomationComposition:
              version: 1.0.1
              derived_from: tosca.nodetypes.Root
              properties:
                provider:
                  type: string
                  required: false
                  metadata:
                    common: true
                  description: Specifies the organization that provides the automation composition element
                elements:
                  type: list
                  required: true
                  metadata:
                    common: true
                  entry_schema:
                    type: onap.datatypes.ToscaConceptIdentifier
                  description: Specifies a list of automation composition element definitions that make up this automation composition definition
            org.onap.policy.clamp.acm.PolicyAutomationCompositionElement:
              version: 1.0.1
              derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
              properties:
                policy_type_id:
                  type: onap.datatypes.ToscaConceptIdentifier
                  required: true
                policy_id:
                  type: onap.datatypes.ToscaConceptIdentifier
                  required: false
            org.onap.policy.clamp.acm.CDSAutomationCompositionElement:
              version: 1.0.1
              derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
              properties:
                cds_blueprint_id:
                  type: onap.datatypes.ToscaConceptIdentifier
                  required: true
            org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement:
              version: 1.0.1
              derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
              properties:
                chart:
                  type: string
                  required: true
                configs:
                  type: list
                  required: false
                requirements:
                  type: string
                  required: false
                templates:
                  type: list
                  required: false
                  entry_schema:
                values:
                  type: string
                  required: true
          topology_template:
            node_templates:
              org.onap.policy.clamp.acm.KubernetesParticipant:
                version: 2.3.4
                type: org.onap.policy.clamp.acm.Participant
                type_version: 1.0.1
                description: Participant for K8S
                properties:
                  provider: ONAP
              org.onap.domain.sample.SliceAssurance_K8SMicroserviceAutomationCompositionElement:
                version: 1.2.3
                type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
                type_version: 1.0.1
                description: Automation composition element for the K8S microservice for O-DU Slice Assurance
                properties:
                  provider: ONAP
                  participant_id:
                    name: K8sParticipant0
                    version: 1.0.0
                  participantType:
                    name: org.onap.policy.clamp.acm.KubernetesParticipant
                    version: 2.3.4
                  uninitializedToPassiveTimeout: 180
                  podStatusCheckInterval: 10
                  chart:
                    chartId:
                      name: odu-app
                      version: 1.0.0
                    namespace: nonrtric
                    releaseName: odu-app
                    repository:
                      repoName: chartmuseum
                      address: http://10.0.1.1:18080
              org.onap.domain.sample.SliceAssuranceIcsVersion_K8SMicroserviceAutomationCompositionElement:
                version: 1.2.3
                type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
                type_version: 1.0.1
                description: Automation composition element for the K8S microservice for O-DU Slice Assurance Ics Version
                properties:
                  provider: ONAP
                  participant_id:
                    name: K8sParticipant0
                    version: 1.0.0
                  participantType:
                    name: org.onap.policy.clamp.acm.KubernetesParticipant
                    version: 2.3.4
                  uninitializedToPassiveTimeout: 180
                  podStatusCheckInterval: 10
                  chart:
                    chartId:
                      name: odu-app-ics-version
                      version: 1.0.0
                    namespace: nonrtric
                    releaseName: odu-app-ics-version
                    repository:
                      repoName: chartmuseum
                      address: http://10.0.1.1:18080
              org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition:
                version: 1.2.3
                type: org.onap.policy.clamp.acm.AutomationComposition
                type_version: 1.0.1
                description: Automation composition for O-DU Slice Assurance
                properties:
                  provider: ONAP
                  elements:
                    - name: org.onap.domain.sample.SliceAssurance_K8SMicroserviceAutomationCompositionElement
                      version: 1.2.3
                    - name: org.onap.domain.sample.SliceAssuranceIcsVersion_K8SMicroserviceAutomationCompositionElement
                      version: 1.2.3


      • Also generated from a Template (Jinja) file create_instance_k8s.json.j2 using Test "test_cl_odu_app_smo_deploy" in script ""

...