The ironic_python_agent.hardware_managers.mlnx Module

class ironic_python_agent.hardware_managers.mlnx.MellanoxDeviceHardwareManager[source]

Bases: ironic_python_agent.hardware.HardwareManager

Mellanox hardware manager to support a single device

evaluate_hardware_support()[source]

Declare level of hardware support provided.

get_interface_info(interface_name)[source]

Return the interface information when its Mellanox and InfiniBand

In case of Mellanox and InfiniBand interface we do the following:
  1. Calculate the “InfiniBand MAC” according to InfiniBand GUID
  2. Calculate the client-id according to InfiniBand GUID