Files
kolla/doc/template-override/opendaylight-source.rst
Tim Rozet c3b0e78212 Updates opendaylight repo for Carbon release
Carbon was released for ODL so we should update to that version for the
repo.

Change-Id: I9c32b41ef865a09587f3ebfe8b8a896031fbd285
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-02 16:13:15 -04:00

41 lines
1.4 KiB
ReStructuredText

==================
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.6.0-Carbon.tar.gz` becomes
`distribution-karaf-0.6.0-Carbon`.
kolla-build.conf
________________
.. code-block:: console
opendaylight_distro = distribution-karaf-0.6.0-Carbon
[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 (source or binary) by executing the following command:
::
kolla-build --template-override contrib/template-override/opendaylight-template-overrides.j2 opendaylight