aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/neutron/neutron-server-opendaylight/Dockerfile.j235
-rwxr-xr-xkolla/common/config.py14
-rw-r--r--releasenotes/notes/add-neutron-server-opendaylight-bf8407e0b91059c4.yaml3
3 files changed, 51 insertions, 1 deletions
diff --git a/docker/neutron/neutron-server-opendaylight/Dockerfile.j2 b/docker/neutron/neutron-server-opendaylight/Dockerfile.j2
new file mode 100644
index 000000000..4c1581b4b
--- /dev/null
+++ b/docker/neutron/neutron-server-opendaylight/Dockerfile.j2
@@ -0,0 +1,35 @@
+FROM {{ namespace }}/{{ image_prefix }}neutron-server:{{ tag }}
+LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
+
+USER root
+
+{% block neutron_server_opendaylight_header %}{% endblock %}
+
+{% import "macros.j2" as macros with context %}
+
+{% if install_type == 'binary' %}
+ {% set neutron_server_opendaylight_packages = [
+ 'python-networking-odl',
+ 'python-networking-bgpvpn',
+ 'python-networking-l2gw',
+ 'python-networking-sfc'
+ ] %}
+
+{{ macros.install_packages(neutron_server_opendaylight_packages | customizable("packages")) }}
+
+{% elif install_type == 'source' %}
+
+ADD plugins-archive /
+
+{% set neutron_server_opendaylight_plugins_pip_packages = [
+ '/plugins/*'
+] %}
+
+RUN {{ macros.install_pip(neutron_server_opendaylight_plugins_pip_packages | customizable("pip_packages")) }};
+
+{% endif %}
+
+{% block neutron_server_opendaylight_footer %}{% endblock %}
+{% block footer %}{% endblock %}
+
+USER neutron
diff --git a/kolla/common/config.py b/kolla/common/config.py
index 90fbc2777..dfaddce66 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -490,10 +490,22 @@ SOURCES = {
'type': 'url',
'location': ('$tarballs_base/neutron-lbaas/'
'neutron-lbaas-master.tar.gz')},
- 'neutron-server-plugin-networking-odl': {
+ 'neutron-server-opendaylight-plugin-networking-odl': {
'type': 'url',
'location': ('$tarballs_base/networking-odl/'
'networking-odl-master.tar.gz')},
+ 'neutron-server-opendaylight-plugin-networking-bgpvpn': {
+ 'type': 'url',
+ 'location': ('$tarballs_base/networking-bgpvpn/'
+ 'networking-bgpvpn-master.tar.gz')},
+ 'neutron-server-opendaylight-plugin-networking-l2gw': {
+ 'type': 'url',
+ 'location': ('$tarballs_base/networking-l2gw/'
+ 'networking-l2gw-master.tar.gz')},
+ 'neutron-server-opendaylight-plugin-networking-sfc': {
+ 'type': 'url',
+ 'location': ('$tarballs_base/networking-sfc/'
+ 'networking-sfc-master.tar.gz')},
'neutron-server-plugin-neutron-dynamic-routing': {
'type': 'url',
'location': ('$tarballs_base/neutron-dynamic-routing/'
diff --git a/releasenotes/notes/add-neutron-server-opendaylight-bf8407e0b91059c4.yaml b/releasenotes/notes/add-neutron-server-opendaylight-bf8407e0b91059c4.yaml
new file mode 100644
index 000000000..f78119860
--- /dev/null
+++ b/releasenotes/notes/add-neutron-server-opendaylight-bf8407e0b91059c4.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Adds OpenDaylight specific Neutron Server container.