@@ -142,10 +142,18 @@ kolla_sources:
142
142
type : git
143
143
location : https://github.com/stackhpc/networking-generic-switch.git
144
144
reference : stackhpc/{{ openstack_release }}
145
+ neutron-server-plugin-networking-mlnx :
146
+ type : git
147
+ location : https://opendev.org/x/networking-mlnx
148
+ reference : stable/{{ openstack_release }}
145
149
nova-base :
146
150
type : git
147
151
location : https://github.com/stackhpc/nova.git
148
152
reference : stackhpc/{{ openstack_release }}
153
+ nova-compute-plugin-networking-mlnx :
154
+ type : git
155
+ location : https://opendev.org/x/networking-mlnx
156
+ reference : stable/{{ openstack_release }}
149
157
150
158
# ##############################################################################
151
159
# Kolla image build configuration.
@@ -403,6 +411,17 @@ kolla_build_blocks:
403
411
rm -f liblasso3_2.7.0-2build3_amd64.deb
404
412
{% endif %}
405
413
{% endraw %}
414
+ neutron_server_footer : |
415
+ {% if kolla_base_distro in ['centos', 'rocky'] %}
416
+ # Install networking-mlnx plugin and dependencies
417
+ {% raw %}
418
+ {% if base_package_type == 'rpm' %}
419
+ ADD plugins-archive /
420
+ python3 -m pip --no-cache-dir install /plugins/* \
421
+ && dnf install python3-libvirt python3-ethtool
422
+ {% endif %}
423
+ {% endraw %}
424
+ {% endif %}
406
425
nova_base_footer : |
407
426
{% if kolla_base_distro == 'centos' %}
408
427
# Fix for https://bugs.launchpad.net/nova/+bug/1955035, i.e.
@@ -413,6 +432,17 @@ kolla_build_blocks:
413
432
{% endif %}
414
433
{% endraw %}
415
434
{% endif %}
435
+ nova_compute_footer : |
436
+ {% if kolla_base_distro in ['centos', 'rocky'] %}
437
+ # Install networking-mlnx plugin and dependencies
438
+ {% raw %}
439
+ {% if base_package_type == 'rpm' %}
440
+ ADD plugins-archive /
441
+ python3 -m pip --no-cache-dir install /plugins/* \
442
+ && dnf install python3-libvirt python3-ethtool
443
+ {% endif %}
444
+ {% endraw %}
445
+ {% endif %}
416
446
magnum_base_footer : |
417
447
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | head -n -1 | bash
418
448
{% raw %}
0 commit comments