Versions Compared

Key

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

...

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 1.8 or higher is also required. 

4. 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

...

there is a packge: simulator.tar.gz below need to be downloaded. 

View file
namesimulator.tar.gz
height250


  1. cp simulator.tar.gz to a special folder
  2.  unzip simulator.tar.gz
  3. cd simulator
  4. modify application.properties

          server.port=11111: the value you can modify as you want but not used in this node,

          #the values below, please keep it default.

          notifyurl=http://192.168.235.110:30472/v1/pm/notification

          ftppath=sftp://root:oom@192.168.235.110:22/home/ubuntu/dcae/PM.tar.gz

          fixeddelay=900000

          filepath=/home/ubuntu/dcae

          amffilepath=/home/ubuntu/dcae/AMF.xml.gz

          upffilepath=/home/ubuntu/dcae/UPF.xml.gz

     5. run the commandjava -jar simulator-0.0.1-SNAPSHOT.jar >/dev/null &

> 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