aboutsummaryrefslogtreecommitdiff
path: root/doc/source/admin/template-override/opendaylight-source.rst
blob: f86cfa68e82f5f19c1b5069defd440baca6fbf54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
==================
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 Container Images
======================================

kolla-build.conf
----------------

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

.. code-block:: ini

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

Build the container by executing the following command:

.. code-block:: console

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