Browse Source

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>
changes/96/470296/2
Tim Rozet 5 years ago
parent
commit
c3b0e78212
  1. 2
      contrib/template-override/opendaylight-template-overrides.j2
  2. 8
      doc/template-override/opendaylight-source.rst
  3. 2
      docker/opendaylight/opendaylight.repo
  4. 4
      kolla/common/config.py

2
contrib/template-override/opendaylight-template-overrides.j2

@ -15,7 +15,7 @@ RUN pip --no-cache-dir install /plugins/*
{{ macros.install_packages(opendaylight_packages | customizable("packages")) }}
{% if opendaylight_distro is not defined %}
{% set opendaylight_distro = 'distribution-karaf-0.5.3-Boron-SR3' %}
{% set opendaylight_distro = 'distribution-karaf-0.6.0-Carbon' %}
{% endif %}
ADD opendaylight-archive /opendaylight
RUN ln -s /opendaylight/{{ opendaylight_distro }} /opt/opendaylight

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

@ -21,17 +21,17 @@ Building OpenDaylight Containers
- 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`.
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.5.3-Boron-SR3
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.5.3-Boron-SR3/distribution-karaf-0.5.3-Boron-SR3.tar.gz
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:

2
docker/opendaylight/opendaylight.repo

@ -1,5 +1,5 @@
[opendaylight]
name=CentOS CBS OpenDaylight Release Repository
baseurl=http://cbs.centos.org/repos/nfv7-opendaylight-5-release/x86_64/os/
baseurl=http://cbs.centos.org/repos/nfv7-opendaylight-6-release/x86_64/os/
enabled=1
gpgcheck=0

4
kolla/common/config.py

@ -539,8 +539,8 @@ SOURCES = {
'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')},
'integration/distribution-karaf/0.6.0-Carbon/'
'distribution-karaf-0.6.0-Carbon.tar.gz')},
'panko-base': {
'type': 'url',
'location': ('$tarballs_base/panko/'

Loading…
Cancel
Save