aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Nasiadka <mnasiadka@gmail.com>2021-04-27 17:23:26 +0200
committerMichał Nasiadka <mnasiadka@gmail.com>2021-04-27 17:26:18 +0200
commita4f6a8f05b45838338ee1c6a78f278d49486ac03 (patch)
tree52a12e46b9f047b22b6dbb1a90993dedbce1df51
parentedc14536d0544c81e2e5f3d011a9828177800547 (diff)
downloadkolla-a4f6a8f05b45838338ee1c6a78f278d49486ac03.tar.gz
kolla-a4f6a8f05b45838338ee1c6a78f278d49486ac03.zip
neutron: Remove vmware-nsx and networking-mlx from binary
Those plugins have been already removed from source images, this change removes them from binary. Change-Id: If21a21296489c1f243bb46f2595ff94d999bd686
-rw-r--r--contrib/neutron-plugins/README.rst5
-rw-r--r--contrib/neutron-plugins/template_override-networking-mlnx.j24
-rw-r--r--contrib/neutron-plugins/template_override-vmware-nsx.j24
-rw-r--r--docker/neutron/neutron-base/Dockerfile.j23
-rw-r--r--releasenotes/notes/wallaby-neutron-plugins-excluded-b72220a2ea8c1a40.yaml5
5 files changed, 14 insertions, 7 deletions
diff --git a/contrib/neutron-plugins/README.rst b/contrib/neutron-plugins/README.rst
index 2dc42165d..e72d6c5e9 100644
--- a/contrib/neutron-plugins/README.rst
+++ b/contrib/neutron-plugins/README.rst
@@ -3,7 +3,10 @@ contrib/neutron-plugins directory
This directory contains example plugin definitions for neutron-base, to
be included in the kolla-build.conf (ini file with kolla-build
-configuration).
+configuration) when using source type builds.
+
+In case of binary builds - please see template_override j2 files.
+
Please read the main Kolla documentation on plugins for details.
These should work simply by pasting them into the config file.
You may want to adjust the filename to match the branch you are
diff --git a/contrib/neutron-plugins/template_override-networking-mlnx.j2 b/contrib/neutron-plugins/template_override-networking-mlnx.j2
new file mode 100644
index 000000000..3f05f7393
--- /dev/null
+++ b/contrib/neutron-plugins/template_override-networking-mlnx.j2
@@ -0,0 +1,4 @@
+{% extends parent_template %}
+
+# Neutron networking-mlnx plugin
+{% set neutron_base_packages_append = ['python3-networking-mlnx'] %}
diff --git a/contrib/neutron-plugins/template_override-vmware-nsx.j2 b/contrib/neutron-plugins/template_override-vmware-nsx.j2
new file mode 100644
index 000000000..f80342071
--- /dev/null
+++ b/contrib/neutron-plugins/template_override-vmware-nsx.j2
@@ -0,0 +1,4 @@
+{% extends parent_template %}
+
+# Neutron vmware-nsx plugin
+{% set neutron_base_packages_append = ['python3-networking-vmware-nsx'] %}
diff --git a/docker/neutron/neutron-base/Dockerfile.j2 b/docker/neutron/neutron-base/Dockerfile.j2
index 40cb801d4..2c8591818 100644
--- a/docker/neutron/neutron-base/Dockerfile.j2
+++ b/docker/neutron/neutron-base/Dockerfile.j2
@@ -22,9 +22,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openstack-neutron-ml2',
'openvswitch',
'python3-networking-baremetal',
- 'python3-networking-mlnx',
'python3-networking-sfc',
- 'python3-networking-vmware-nsx',
'python3-openvswitch',
'python3-oslo-vmware'
] %}
@@ -40,7 +38,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'neutron-plugin-ml2',
'neutron-server',
'openvswitch-switch',
- 'python3-networking-mlnx',
'python3-networking-sfc',
'python3-openvswitch',
'python3-oslo.vmware'
diff --git a/releasenotes/notes/wallaby-neutron-plugins-excluded-b72220a2ea8c1a40.yaml b/releasenotes/notes/wallaby-neutron-plugins-excluded-b72220a2ea8c1a40.yaml
index 4c3905ae5..fb7c01d8a 100644
--- a/releasenotes/notes/wallaby-neutron-plugins-excluded-b72220a2ea8c1a40.yaml
+++ b/releasenotes/notes/wallaby-neutron-plugins-excluded-b72220a2ea8c1a40.yaml
@@ -1,7 +1,7 @@
---
upgrade:
- |
- Three Neutron plugins are no longer provided by default in source
+ Three Neutron plugins are no longer provided by default in
images:
``networking-ansible``, ``networking-mlnx`` and ``vmware-nsx``.
The main reason is that they lag in synchronising with OpenStack
@@ -10,5 +10,4 @@ upgrade:
directory.
Please read the included ``README.rst`` in case you depend on
them.
- Please note they are no longer included in published source
- images.
+ Please note they are no longer included in published images.