Table of Contents |
---|
The quick path
Basic installation
- Tested with Ubuntu 16.04 LTS with openjava 1.8, mvn 3.3.9, git 2.7.4 (newer version should work also)
- 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:
...
Code Block |
---|
cd $HOME git clone https://github.com/onap-oof-pci-poc/ccsdk.git |
Build and run single node SDN-R
Build and run
Login to nexus repository (for first time) .. see here: Docker DevOps
...
Code Block |
---|
cd $HOME/ccsdk/distribution/odlwt-alpine-standalone-master mvn clean install -P docker |
- Run Use (1) to run container with name "sdnr" in detached mode without any port mapping or (2) to run with mapping to host:8181
Code Block |
---|
(1) docker run --detach --name sdnr -p8181:8181 --env SDNRWT="true" oof-pci/ccsdk-odlwt-alpine-image:latest (2) docker run --detach --name sdnr -p8181:8181 --env SDNRWT="true" oof-pci/ccsdk-odlwt-alpine-image:latest |
- Attach For (1) do attach to UX Web GUI by using browser http://172.17.0.2:8181/index2.html with user/password = admin/admin
- Wait about 30 seconds that container is up and running
- 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"
...
- Opendaylight home is under "/opt/opendaylight"
- Leave CLI with exit.
Stop and remove
Code Block |
---|
docker stop sdnr
docker rm sdnr |
Build and run single node CENTENNIAL POC5
.. waiting for content