kolla/doc/template-override/opendaylight-source.rst

1.4 KiB

OpenDaylight Build

To build OpenDaylight, use of a template override opendaylight-template-overrides.j2 is needed. The template override enables OpenDaylight use with OpenStack by installing required networking-odl plugin in neutron-server container.

If you wish to install a different version of OpenDaylight then distro packages, use a source build (in most cases this is a prebuilt binary package).

Building OpenDaylight Containers

  • For source builds append the following to kolla-build.conf, selecting the version of OpenDaylight to use for your source build.
  • Change opendaylight_distro to match the folder where OpenDaylight build resides. For example, if using prebuilt archive from OpenDaylight downloads distribution-karaf-0.5.3-Boron-SR3.tar.gz becomes distribution-karaf-0.5.3-Boron-SR3.

kolla-build.conf

opendaylight_distro = distribution-karaf-0.5.3-Boron-SR3
[opendaylight]
type = url
location = https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.5.3-Boron-SR3/distribution-karaf-0.5.3-Boron-SR3.tar.gz

Build the container (source or binary) by executing the following command:: :: kolla-build --template-override contrib/template-override/opendaylight-template-overrides.j2 opendaylight