@@ -165,10 +165,18 @@ kolla_sources:
165165 type : git
166166 location : https://github.com/stackhpc/networking-generic-switch.git
167167 reference : stackhpc/{{ openstack_release }}
168+ neutron-server-plugin-networking-mlnx :
169+ type : git
170+ location : https://opendev.org/x/networking-mlnx
171+ reference : stable/{{ openstack_release }}
168172 nova-base :
169173 type : git
170174 location : https://github.com/stackhpc/nova.git
171175 reference : stackhpc/{{ openstack_release }}
176+ nova-compute-plugin-networking-mlnx :
177+ type : git
178+ location : https://opendev.org/x/networking-mlnx
179+ reference : stable/{{ openstack_release }}
172180 openstack-base :
173181 type : git
174182 location : https://github.com/stackhpc/requirements.git
@@ -216,6 +224,20 @@ kolla_build_blocks:
216224# Hyphens in the image name must be replaced with underscores. The
217225# customization is most commonly packages. The operation should be one of
218226# override, append or remove. The value should be a list.
227+ ethtool_packages :
228+ rocky :
229+ - libnl3-devel
230+ - pkg-config
231+ - gcc
232+ - python3-devel
233+ ubuntu :
234+ - libnl-3-dev
235+ - libnl-route-3-dev
236+ - libnl-genl-3-dev
237+ - build-essential
238+ - pkg-config
239+ - python3-dev
240+
219241kolla_build_customizations_common :
220242 bifrost_base_pip_packages_append :
221243 - /additions/*
@@ -226,12 +248,12 @@ kolla_build_customizations_common:
226248 magnum_base_pip_packages_override :
227249 - /magnum[osprofiler]
228250 - magnum-capi-helm==1.3.0
229- neutron_server_packages_append :
230- - python3-libvirt
231- nova_compute_packages_append :
232- - python3-libvirt
233- neutron_mlnx_agent_pip_packages_override :
234- - networking-mlnx@git+https://opendev.org/x/networking-mlnx@master
251+ neutron_server_packages_append : " {{ ['python3-libvirt'] + ethtool_packages[kolla_base_distro] }} "
252+ neutron_server_pip_packages_append :
253+ - ethtool
254+ nova_compute_packages_append : " {{ [' python3-libvirt'] + ethtool_packages[kolla_base_distro] }} "
255+ nova_compute_pip_packages_append :
256+ - ethtool
235257
236258# stackhpc_kolla_build_customizations:
237259
0 commit comments