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), and SDN-R uses the same procedure as CCSDK to create a running instance.   To begin, clone the ccsdk/distribution repository repository and look at the docker-compose.yml file in ccsdk/distribution/src/main/yaml.

...

We have seen how the pom.xml file create the ~/ccsdk/distribution/odlsli/target/docker-stage directory in preparation for building the docker image.  The next step is to inspect the Dockerfile that creates the image, discussed here.

Image Modified

Building the features files for the repositories

The section of the Dockerfile that sets the environment variables for the features for the repositories is repeated here.

Code Block
titleFeatures files for respositories
ENV CCSDK_SLI_CORE_REPO mvn:org.onap.ccsdk.sli.core/ccsdk-sli-core-all/${ccsdk.sli.core.version}/xml/features
ENV CCSDK_SLI_ADAPTORS_REPO mvn:org.onap.ccsdk.sli.adaptors/ccsdk-sli-adaptors-all/${ccsdk.sli.adaptors.version}/xml/features
ENV CCSDK_SLI_NORTHBOUND_REPO mvn:org.onap.ccsdk.sli.northbound/ccsdk-sli-northbound-all/${ccsdk.sli.northbound.version}/xml/features
ENV CCSDK_SLI_PLUGINS_REPO mvn:org.onap.ccsdk.sli.plugins/ccsdk-sli-plugins-all/${ccsdk.sli.plugins.version}/xml/features

These variables enable all of the features in a repository to be installed using a single reference, e.g., <repository-name>-all.


Building the docker image

...