The quick way
Basic installation
- For Ubuntu 18.04 LTS with openjava, mvn, gitExecute the following commands for maven ONAP setting
- Further tools:
- chromium
- docker
- xmllint (sudo apt install libxml2-utils)
- Hava a user with admin rights.
- Add user to "docker" group
Code Block |
---|
sudo usermod -aG docker $USER |
- Maven configuration for ONAP Nexus
- Download/clone repository with onap-oof-pci project
Code Block |
---|
cd mkdir "$HOME/.m2" cd "$HOME/.m2" curl https://git.onap.org/oparent/plain/settings.xml > settingsettings.xml cd $HOME ; git clone https://github.com/onap-oof-pci- poc/ccsdk.git |
Build an run single node SDN-R
- Build
Code Block |
---|
cd $HOME/ccsdk/distribution/odlwt-alpine-standalone-0.4.2-SNAPSHOT
mvn clean install -P docker |
- Run
Code Block |
---|
docker run --detach --env SDNRWT="true" oof-pci/ccsdk-odlwt-alpine-image:latest sdnr |
- Login by using browser http://172.17.0.2:8181/index2.html with 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