Skip to content

Commit 4845fd0

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Follow-up Add documentation for MellanoxDeviceHardwareManager"
2 parents 6098747 + 406c844 commit 4845fd0

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

doc/source/admin/hardware_managers.rst

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,54 @@ VmWare Virtual Machine File System (VMFS), and Red Hat Global File System
143143

144144
For information on troubleshooting, and disabling this check,
145145
see :doc:`/admin/troubleshooting`.
146+
147+
==========================
148+
Custom hardware managers
149+
==========================
150+
151+
MellanoxDeviceHardwareManager
152+
=============================
153+
154+
This is a custom hardware manager for ironic-python-agent. It provides
155+
support for Nvidia/Mellanox NICs.
156+
157+
* You can get the binraies firmware for all Nvidia/Mellanox NICs from here `Nvidia firmware downloads <https://network.nvidia.com/support/firmware/firmware-downloads/>`_
158+
159+
* And you can get the deviceID from here `Nvidia/Mellanox NICs list <https://pci-ids.ucw.cz/read/PC/15b3>`_
160+
161+
* Also you can check here `MFT decumentation <https://docs.nvidia.com/networking/display/MFTv4240/Using+mlxconfig>`_ for some supported parameters
162+
163+
Clean steps
164+
-----------
165+
166+
``update_nvidia_nic_firmware_image(node, ports, images)``
167+
168+
A clean step used to update Nvidia/Mellanox NICs firmware images from the
169+
required parameter ``images`` list. it's disabled by default.
170+
Each image in the list is a dictionary with the following fields:
171+
172+
``url`` (required)
173+
The url of the firmware image (file://, http://).
174+
``checksum`` (required)
175+
checksum of the provided image.
176+
``checksumType`` (required)
177+
checksum type, it could be (md5/sha512/sha256).
178+
``componentFlavor`` (required)
179+
The PSID of the nic.
180+
``version`` (required)
181+
version of the firmware image , it must be the same as in the image file.
182+
183+
``update_nvidia_nic_firmware_settings(node, ports, settings)``
184+
185+
A clean step used to update Nvidia/Mellanox NICs firmware settings from the
186+
required parameter ``settings`` list. it's disabled by default.
187+
Each settings in the list is a dictionary with the following fields:
188+
189+
``deviceID`` (required)
190+
The ID of the NIC
191+
``globalConfig``
192+
The global configuration for NIC
193+
``function0Config``
194+
The per-function configuration of the first port of the NIC
195+
``function1Config``
196+
The per-function configuration of the second port of the NIC

0 commit comments

Comments
 (0)