Versions Compared

Key

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

SDN-R is an extension of CCSDK (Common Controller Software Development KIt), so SDN-R uses the same procedure as CCSDK to create a running instance.   To begin, we look at the docker-compose.yml file in ccsdk/distribution/src.


Image Added

This file creates three containers:

  • db: standard MySQL container; used by Directed Graphs
  • odlsli: OpenDaylight with Service Logic Interpreter installed
  • dgbuilder: Directed Graph builder

Here are annotated contents of that file (master branch July 24, 2018).

Image Added

Executing the docker-compose.yml file will create and launch the containers.  Below is a sample terminal session.  Navigate to <path>ccsdk/distribution/src/main/yml and enter these commands (note that the credentials to login to NEXUS_DOCKER_REPO is docker:docker):

Code Block
titleLaunching CCSDK
%: cd ~/git/ccsdk/distribution/src/
??? main
    ??? yaml
        ??? docker-compose.yml
        ??? README.md

main/yaml/
%: echo $NEXUS_DOCKER_REPO
nexus3.onap.org:10001
%: echo $CCSDK_DOCKER_IMAGE_VERSION
0.2.4
%: docker login $NEXUS_DOCKER_REPO
Username (docker): docker
Password:
Login Succeeded
%: docker-compose up -d
Removing happy_noether
Removing ccsdk_sdnr_container
ccsdk_db_container is up-to-date
Starting ccsdk_odlsli_container ... done
Starting ccsdk_dgbuilder_container ... done
%: