``profile::infiniband``
=======================

Installs and configures the Infiniband software stack.

 * New service ``ib-online`` is being installed, which will wait until IB gets online. The script ``/opt/pli/libexec/ib-check-active-ports`` is used for that.
 * Setup of the ``/etc/sysconfig/network-scripts/ifcfg-${ib_ifname}`` files.
 * Installation of ``/usr/local/bin/mlxup`` which is useful for checking firmware version and upgrade Mellanox IB cards directly from Mellanox.
 * OFED repository + installation of the following packages: ``ibutils``, ``infiniband-diags``, ``mlnx-ofed-basic``, ``librdmacm-devel``, ``perftest``, ``infinipath-psm``

Parameters
----------

==========  =========  ==========================
**Name**    **Type**   **Default**
----------  ---------  --------------------------
ib_ifname   string     *undef*
ib_ip       string     *undef*
ib_subnet   string     *undef*
repo_tag    String     *yum_client::repo_tag*
ofed_vers   String     *infiniband::ofed_version*
==========  =========  ==========================


``ib_ifname``
~~~~~~~~~~~~~

The name of the Infiniband interface.


``ib_ip``
~~~~~~~~~

The IP to be configured on the Infiniband interface.


``ib_subnet``
~~~~~~~~~~~~~

The subnet to be used on the Infiniband interface in CIDR notation.


``repo_tag``
~~~~~~~~~~~~

Which ``yum`` ``repo_tag`` should be used. In example, ``latest`` can be used.


``ofed_vers``
~~~~~~~~~~~~~

OFED version to be installed and configured. Format: ``X.Y-A.B.C.D``, where X.Y is the major OFED version and
A.B.C.D is the subversion.
