OAM Controller Configuration and Deployment

This documents the configuration and deployment of the O-RAN SC O1 Controller as part of the SMO implementations by the ONAP project.

The SMO deployment for O-RAN-SC Bronze Release bases on ONAP-Frankfurt-Release

This procedure provides: * ONAP-DCAE * ONAP-DMaaP * ONAP-SDNC (single node, SMO functionality)

Limitations (wip)

  • ONAP-AAF: not yet supported

Prerequisites

Setup

  • clone oom repo from gerrit.onap.org

  • fetch patchset for ONAP-SDNC

1 mkdir ~/workspace
2 cd ~/workspace
3 git clone -b frankfurt http://gerrit.onap.org/r/oom --recurse-submodules oom_smo
4 cd oom_smo
5 git fetch "https://gerrit.onap.org/r/oom" refs/changes/31/106331/6 && git checkout FETCH_HEAD
6 # HEAD is now at 275f7de9 [SDNC] oom for clustered disaggregated SDN-R
7 sudo cp -R ~/workspace/oom_smo/kubernetes/helm/plugins/ ~/.helm
  • verify if local helm repo is available, otherwise follow instructions in onap setup

1helm repo list
2#NAME    URL
3#stable  https://kubernetes-charts.storage.googleapis.com
4#local   http://127.0.0.1:8879
  • build local onap helm repo

1cd ~/workspace/oom_smo/kubernetes
2make all; make onap
3# take a coffee
4helm search onap
  • create an overwrite yaml file, e.g. deploy_smo_bronce.yaml

In Kubernetes deployment, all file contents are provided by a configuration map. Construction of Helm charts, config maps and other Kubernetes deployment resources is beyond the scope of this document.

  1cat ~/workspace/smo/deploy_smo_bronce.yaml
  2# Copyright © 2020 Amdocs, Bell Canada, highstreet technologies GmbH
  3#
  4# Licensed under the Apache License, Version 2.0 (the "License");
  5# you may not use this file except in compliance with the License.
  6# You may obtain a copy of the License at
  7#
  8#       http://www.apache.org/licenses/LICENSE-2.0
  9#
 10# Unless required by applicable law or agreed to in writing, software
 11# distributed under the License is distributed on an "AS IS" BASIS,
 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13# See the License for the specific language governing permissions and
 14# limitations under the License.
 15
 16###################################################################
 17# This override file enables helm charts for all ONAP applications.
 18###################################################################
 19global:
 20  aafEnabled: false
 21  masterPassword: Berlin1234!
 22cassandra:
 23  enabled: false
 24mariadb-galera:
 25  enabled: true
 26aaf:
 27  enabled: false
 28aai:
 29  enabled: false
 30appc:
 31  enabled: false
 32clamp:
 33  enabled: false
 34cli:
 35  enabled: false
 36consul:
 37  enabled: true
 38contrib:
 39  enabled: false
 40dcaegen2:
 41  enabled: true
 42dmaap:
 43  enabled: true
 44esr:
 45  enabled: false
 46log:
 47  enabled: false
 48sniro-emulator:
 49  enabled: false
 50oof:
 51  enabled: false
 52msb:
 53  enabled: true
 54multicloud:
 55  enabled: false
 56nbi:
 57  enabled: false
 58policy:
 59  enabled: false
 60pomba:
 61  enabled: false
 62portal:
 63  enabled: false
 64robot:
 65  enabled: false
 66sdc:
 67  enabled: false
 68sdnc:
 69  enabled: true
 70  replicaCount: 1
 71  config:
 72    sdnr:
 73      sdnrwt: true
 74      sdnronly: true
 75      sdnrmode: dm
 76      mountpointRegistrarEnabled: true
 77      mountpointStateProviderEnabled: true
 78  cds:
 79    enabled: false
 80  dmaap-listener:
 81    enabled: false
 82  ueb-listener:
 83    enabled: false
 84  sdnc-portal:
 85    enabled: false
 86  sdnc-ansible-server:
 87    enabled: false
 88  dgbuilder:
 89    enabled: false
 90  sdnc-web:
 91    enabled: false
 92so:
 93  enabled: false
 94uui:
 95  enabled: false
 96vfc:
 97  enabled: false
 98vid:
 99  enabled: false
100vnfsdk:
101  enabled: false
102modeling:
103  enabled: false
  • deploy smo

1helm -n dev-smo local/onap -f ~/workspace/smo/deploy_smo_bronce.yaml --namespace onap --timeout 900
  • verify deployment

1helm ls
  • verify pnf-registration, fault notification use case

Please open the O1 Dashboard: http://localhost:8181/odlux/index.html