You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

RANSIM :

Follow the steps below to setup the Ransim environment:

  1. Clone the repo from : git clone https://gerrit.onap.org/r/integration/simulators/ran-simulator
  2. Go to the ran-simulator/ransim directory and build the project : JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn clean install -P docker
  3. From docker folder, run the following after building the images locally : docker-compose up
  4. Access the GUI using the following url in the web browser: http://localhost:8081/ransimui/index.html
  5. Click ‘Start’ button to start the simulation and choose the "sample.json" file and click Configure. Wait till you see success message either in the logs or in the UI. (Might take 5-10 minutes to load data)To access the logs:
    docker exec –ti ransim bash
    policy@ransim:/tmp/ransim-install$ tail -f /opt/app/policy/servers/ransim/logs/ransim-rest.log 
  6. Refresh the page to see the cells.
  7. Setup honeycomb (Refer HONEYCOMB section). Click ‘Netconf Details’ to see the running netconf servers.
  8. Right click on cell Chn0005 and click Show Neighbors to view the neighboring cells.
  9. To trigger collision/confusion , right click on Chn0005 and click Modify Neighbors option. Add ‘,Chn0012,Chn0116,Chn0071’ as neighbours and submit. Refresh page.
    Check netconf server ncserver1 logs to see FM notification.
  10. To generate PM data: Click ‘Start’ button under PM data with the below values:
    Bad HO metrics leading to neighbor blacklist 
     bad : Chn0009
     poor : Chn0005

HONEYCOMB :

Follow the steps below to setup the honeycomb environment:

  1. Clone the repo from : git clone https://github.com/onap-oof-pci-poc/ran-sim
  2. Go to the ran-sim/hcsim-content/enodebsim directory and build the project : JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn clean install -Dcheckstyle.skip
  3. Go to the ran-sim/Netconf-Agents/hc_50000 directory , 

     (if changes to enodebsim-impl are made run below command to place the jar) 

     cp -r ~/ran-sim/hcsim-content/enodebsim/enodebsim-impl/target/enodebsim-impl-1.0.0-SNAPSHOT.jar lib/org/onap/ransim/enodebsim-impl/1.0.0-SNAPSHOT/

  4. Execute the following command from the same directory : docker build -t netconf:latest .
  5. Bring up the docker container : docker run -d --name hc_50001 -e "enodebsimIp=10.31.4.45" -e "enodebsimPort=50001" -e "ransimCtrlrIp=10.31.4.45" -e "ransimCtrlrPort=8081" -e "vesEventListenerUrl=https://10.31.4.51:30417/eventListener/v7" -p 50001:50001 -t netconf:latest
  6. Bring up any number of netconf servers by changing the container name and port config in above command .

CPS :

Follow the steps below to setup the CPS environment:

  • Clone the repo from : https://gerrit.onap.org/r/admin/repos/cps
  • Build the project – When building the project run from the root cps folder : mvn clean install
  • From docker-compose folder, run the following after building the images locally : VERSION=latest DB_USERNAME=cps DB_PASSWORD=cps docker-compose up -d
  • Create the dataspace, schemaset, anchor and datanode using CPS APIs.

Kindly check this page for more details on CPS APIs : R9 TBDMT Enhancements

CPS-TBDMT :

Follow the steps below to setup the CPS-TBDMT environment:

  • Clone the repo from : cps/cps-tbdmt · Gerrit Code Review (onap.org)
  • Build the project – mvn clean install

  • Change the docker image name to avoid docker login issues : docker tag nexus3.onap.org:10003/onap/cps-tbdmt:latest cps-tbdmt:latest

  • From the docker-compose folder, edit the application.yml file 

          cpsCoreConfiguration url –  change to VM's IP and the created dataspace's name

          schemaToAnchor mapping – provide the created schemaset and anchor name

  • From the docker-compose folder, run the following to bring up the containers : docker-compose up -d

SON-HANDLER:

Configure the SON-Handler with the below CPS details and then deploy.

Edit this file oom/kubernetes/dcaegen2-services/components/dcae-son-handler.values.yaml

  • cps.username: cpsuser
  • cps.password: cpsr0cks!
  • sonhandler.clientType: CPS
  • cps.service.url: http://<cps-tbdmt-ip>:8080
  • cps.get.cell.data.url: execute/cps-ran-schemaset/get-cell-data
  • cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
  • cps.get.pci.url: execute/ran-network-schemaset/get-pci
  • cps.get.pnf.url: execute/ran-network-schemaset/get-pnf




       

 

  • No labels