kolla/doc/template-override/opendaylight-source.rst
Martin André 847f4822c5 Cleanup opendaylight-template-overrides
The neutron OpenDaylight drivers can now be customized with the
neutron-server-opendaylight image, there is no need to add them to the
override file.

Update OpenDaylight overrides file documentation to make it clear this
is only available for source builds.

Change-Id: I12503810f80ca18f42e5f2ebeac835bccced02fd
2017-08-17 19:10:33 +02:00

837 B

OpenDaylight Build

The opendaylight-template-overrides.j2 template override shows how to build an OpenDaylight container image with a different version than the one packaged with the distro.

Building OpenDaylight Containers

kolla-build.conf

Point to the desired version of OpenDaylight in `kolla-build.conf`:

[opendaylight]
type = url
location = https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.tar.gz

Build the container by executing the following command:

kolla-build --type source --template-override contrib/template-override/opendaylight-template-overrides.j2 opendaylight