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

Compare with Current View Page History

« Previous Version 11 Next »

The quick path

Basic installation

  • Tested with Ubuntu 16.04 LTS with openjava 1.8, mvn 3.3.9, git 2.7.4 (newer should also work)
  • Further tools:
    • chromium, curl
    • docker 18.09.2
    • xmllint (sudo apt install libxml2-utils)
  • Hava a user with admin rights.
  • Add user to "docker" group:
sudo usermod -aG docker $USER
  • Maven configuration for ONAP Nexus
  • Download/clone repository with onap-oof-pci project
cd
mkdir "$HOME/.m2"
cd "$HOME/.m2"
curl https://git.onap.org/oparent/plain/settings.xml > settings.xml
cd $HOME ; git clone https://github.com/onap-oof-pci-poc/ccsdk.git

Build and run single node SDN-R

  • Login to nexus repository (for first time) .. see here: Docker DevOps

  • Build
cd $HOME/ccsdk/distribution/odlwt-alpine-standalone-0.4.2-SNAPSHOT
mvn clean install -P docker
  • Run container with name "sdnr"
docker run --detach --name sdnr --env SDNRWT="true" oof-pci/ccsdk-odlwt-alpine-image:latest 
  • Attach to UX Web GUI by using browser http://172.17.0.2:8181/index2.html with user/password = admin/admin
    • docker ps should show a single running container and shows its CONTAINERID
    • docker inspect CONTAINERID gives IP adress to be used. In the example 172.17.0.2 
  • Login to docker container command line with name "sdnr"

docker exec -t -i "sdnr" /bin/bash -c 'TERM=xterm exec /bin/bash'
  • Opendaylight home is under "/opt/opendaylight"
  • Leave CLI with exit. 

  • No labels