Versions Compared

Key

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

1. Architecture

The high-level architecture of the simulator and its interface to ONAP is shown below.

Image Modified

2. Description

The simulator exposes NSSMF api for 5G network slicing use case. Including allocate, deallocate, activate, deactivate etc.


3. Precondition

  1. Make sure the node where simulator installed can support ssh and sftp.  
  2.  jdk is also required. 

Installation Steps:

Please refer to the following link for the 1-3 steps:

https://docs.onap.org/en/elalto/submodules/oom.git/docs/oom_setup_kubernetes_rancher.html

1.Install kubectl

2.Instal helm

3.Set up NFS

4.Clone the OOM repository from ONAP gerrit:

> git clone http://gerrit.onap.org/r/oom --recurse -submodules

5.Install Helm Plugins required to deploy ONAP:

> cd oom/kubernetes
> sudo cp -R ./helm/plugins/ ~/.helm

6.Currently OOM  does not support the chart config , So remove the charts manually. Will work with OOM team to make the chart level configable.

Customize the helm charts to suit use case(from the kubernetes directory):

> rm -rf cds/charts/cds-command-executor/
> rm -rf sdc/charts/sdc-dcae-be/
> rm -rf sdc/charts/sdc-dcae-dt/
> rm -rf sdc/charts/sdc-dcae-fe/
> rm -rf sdc/charts/sdc-dcae-tosca-lab/
> rm -rf sdc/charts/sdc-wfd-be/
> rm -rf sdc/charts/sdc-wfd-fe/
> rm -rf so/charts/so-openstack-adapter/
> rm -rf so/charts/so-sdnc-adapter/
> rm -rf so/charts/so-vfc-adapter/
> rm -rf so/charts/so-vnfm-adapter/

7.To setup a local Helm server to server up the ONAP charts:

> helm serve &
Note the port number that is listed and use it in the Helm repo add as follows: 其它宏

> helm repo add local http://127.0.0.1:8879



8.Build a local Helm repository(from the kubernetes directory):

> make all; make onap

9.To deploy ONAP applications use this command:

> helm deploy dev local/onap --namespace onap -f onap/resources/overrides/onap-5g-network-slicing.yaml -f onap/resources/environments/public-cloud.yaml --set global.masterPassword=onap --verbose --timeout 2000

10.Check the pod status after install:

> kubectl get pods -n onap

11.Health check:

> bash oom/kubernetes/robot/ete-k8s.sh onap health