Deployment
SMO deployment based on ONAP-Frankfurt-Release
- OAM-47Getting issue details... STATUS
This procedure provides:
- ONAP-DCAE
- ONAP-DMaaP
- ONAP-SDNC (single node, SMO functionality)
Limitations (wip):
- AAF: not yet supported
- ONAP-SDNC OOM deployment not yet on master branch.
Prerequisites:
- kubernetes cluster (1.13.5)
- helm installation (2.16.x)
- More details: setup cloud environment(openstack/kubernetes) https://docs.onap.org/en/elalto/guides/onap-developer/settingup/index.html
Setup
- clone oom repo from gerrit.onap.org
- fetch patchset for ONAP-SDNC
mkdir ~/workspace cd ~/workspace git clone -b frankfurt http://gerrit.onap.org/r/oom --recurse-submodules oom_smo cd oom_smo git fetch "https://gerrit.onap.org/r/oom" refs/changes/31/106331/6 && git checkout FETCH_HEAD # HEAD is now at 275f7de9 [SDNC] oom for clustered disaggregated SDN-R sudo cp -R ~/workspace/oom_smo/kubernetes/helm/plugins/ ~/.helm
- verifiy if local helm repo is available, otherwise follow intructions in onap setup
helm repo list #NAME URL #stable https://kubernetes-charts.storage.googleapis.com #local http://127.0.0.1:8879
- build local onap helm repo
cd ~/workspace/oom_smo/kubernetes make all; make onap # take a coffee helm search onap
- create an overwrite yaml file, e.g. deploy_smo_bronce.yaml
cat ~/workspace/smo/deploy_smo_bronce.yaml # Copyright © 2020 Amdocs, Bell Canada, highstreet technologies GmbH # # 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. ################################################################### # This override file enables helm charts for all ONAP applications. ################################################################### global: aafEnabled: false masterPassword: Berlin1234! cassandra: enabled: false mariadb-galera: enabled: true aaf: enabled: false aai: enabled: false appc: enabled: false clamp: enabled: false cli: enabled: false consul: enabled: true contrib: enabled: false dcaegen2: enabled: true dmaap: enabled: true esr: enabled: false log: enabled: false sniro-emulator: enabled: false oof: enabled: false msb: enabled: true multicloud: enabled: false nbi: enabled: false policy: enabled: false pomba: enabled: false portal: enabled: false robot: enabled: false sdc: enabled: false sdnc: enabled: true replicaCount: 1 config: sdnr: sdnrwt: true sdnronly: true sdnrmode: dm mountpointRegistrarEnabled: true mountpointStateProviderEnabled: true cds: enabled: false dmaap-listener: enabled: false ueb-listener: enabled: false sdnc-portal: enabled: false sdnc-ansible-server: enabled: false dgbuilder: enabled: false sdnc-web: enabled: false so: enabled: false uui: enabled: false vfc: enabled: false vid: enabled: false vnfsdk: enabled: false modeling: enabled: false
deploy smo
helm -n dev-smo local/onap -f ~/workspace/smo/deploy_smo_bronce.yaml --namespace onap --timeout 900
- verifiy deployment
helm ls
- verifiy pnf-registration, fault notification use case, please find examples for sending VES message in gerrit.