Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 8 Next »

Introduction

The discussion in the previous pages worked with CCSDK as the baseline package.  We may sometimes wish to add features to SDNC, and this page describes how to install the SDNR features into SDNC rather than CCSDK.

SDNC Installation

SDNC uses the same procedures as CCSDK to create the Docker image.  The relevant repository is sdnc/oam, and the Docker image is created in sdnc/oam/installation/sdnc/.  The pom.xlm file operates in the same way as the CCSDK counterpart and gathers the features specified in the "dependencies" section, shown here (master branch, Oct 30, 2015).

<dependencies>
        <dependency>
                <groupId>org.onap.sdnc.northbound</groupId>
                <artifactId>generic-resource-api-installer</artifactId>
                <version>${sdnc.northbound.version}</version>
                <classifier>repo</classifier>
                <type>zip</type>
        </dependency>
        <dependency>
                <groupId>org.onap.sdnc.northbound</groupId>
                <artifactId>vnfapi-installer</artifactId>
                <version>${sdnc.northbound.version}</version>
                <classifier>repo</classifier>
                <type>zip</type>
        </dependency>
        <dependency>
                <groupId>org.onap.sdnc.northbound</groupId>
                <artifactId>vnftools-installer</artifactId>
                <version>${sdnc.northbound.version}</version>
                <classifier>repo</classifier>
                <type>zip</type>
        </dependency>
        <dependency>
                <groupId>org.onap.sdnc.northbound</groupId>
                <artifactId>sdnc-northbound-features-installer</artifactId>
                <version>${sdnc.northbound.version}</version>
                <classifier>repo</classifier>
                <type>zip</type>
        </dependency>
</dependencies>

When building the docker image from Dockerfile, recall that CCSDK uses the OpenDaylight image as the starting point to which it adds the CCSDK features.  SDNC, in contrast, begins with the CCSDK image, as shown here from sdnc/oam/installation/sdnc/src/main/docker/Dockerfile:

FROM onap/ccsdk-odlsli-image:${ccsdk.distribution.version}

As with CCSDK, we can include the SDNR features by adding the relevant dependencies to sdnc/oam/installation/sdnc/pom.xml and update the sdnc/oam/installation/sdnc/src/main/docker/Dockerfile to include the SDNR features.

  • No labels