@@ -150,10 +150,18 @@ kolla_sources:
150
150
type : git
151
151
location : https://github.com/stackhpc/networking-generic-switch.git
152
152
reference : stackhpc/{{ openstack_release }}
153
+ neutron-server-plugin-networking-mlnx :
154
+ type : git
155
+ location : https://opendev.org/x/networking-mlnx
156
+ reference : stable/{{ openstack_release }}
153
157
nova-base :
154
158
type : git
155
159
location : https://github.com/stackhpc/nova.git
156
160
reference : stackhpc/{{ openstack_release }}
161
+ nova-compute-plugin-networking-mlnx :
162
+ type : git
163
+ location : https://opendev.org/x/networking-mlnx
164
+ reference : stable/{{ openstack_release }}
157
165
158
166
# ##############################################################################
159
167
# Kolla image build configuration.
@@ -414,6 +422,17 @@ kolla_build_blocks:
414
422
rm -f liblasso3_2.7.0-2build3_amd64.deb
415
423
{% endif %}
416
424
{% endraw %}
425
+ neutron_server_footer : |
426
+ {% if kolla_base_distro in ['centos', 'rocky'] %}
427
+ # Install networking-mlnx plugin and dependencies
428
+ {% raw %}
429
+ {% if base_package_type == 'rpm' %}
430
+ ADD plugins-archive /
431
+ python3 -m pip --no-cache-dir install /plugins/* \
432
+ && dnf install python3-libvirt python3-ethtool
433
+ {% endif %}
434
+ {% endraw %}
435
+ {% endif %}
417
436
nova_base_footer : |
418
437
{% if kolla_base_distro == 'centos' %}
419
438
# Fix for https://bugs.launchpad.net/nova/+bug/1955035, i.e.
@@ -424,6 +443,17 @@ kolla_build_blocks:
424
443
{% endif %}
425
444
{% endraw %}
426
445
{% endif %}
446
+ nova_compute_footer : |
447
+ {% if kolla_base_distro in ['centos', 'rocky'] %}
448
+ # Install networking-mlnx plugin and dependencies
449
+ {% raw %}
450
+ {% if base_package_type == 'rpm' %}
451
+ ADD plugins-archive /
452
+ python3 -m pip --no-cache-dir install /plugins/* \
453
+ && dnf install python3-libvirt python3-ethtool
454
+ {% endif %}
455
+ {% endraw %}
456
+ {% endif %}
427
457
magnum_base_footer : |
428
458
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | head -n -1 | bash
429
459
{% raw %}
0 commit comments