Skip to content

Latest commit

 

History

History
58 lines (48 loc) · 1.06 KB

File metadata and controls

58 lines (48 loc) · 1.06 KB

Infiniband Over IP

This is the example YAML for creating PKEY Infiniband over IP

---
interfaces:
- name: mlx5_ib0.80fe
  type: infiniband
  state: up
  infiniband:
    base-iface: mlx5_ib0
    mode: datagram
    pkey: '0x80fe'

Pleas refer to YAML API document for detail meaning of each property.

Bond Over Infiniband

Only the active-backup mode of bond is supported when attaching infiniband over IP to bond. Example YAML:

---
interfaces:
- name: mlx5_ib0.80fe
  type: infiniband
  state: up
  infiniband:
    base-iface: mlx5_ib0
    mode: datagram
    pkey: '0x80ff'
- name: mlx5_ib1.80fe
  type: infiniband
  state: up
  infiniband:
    base-iface: mlx5_ib1
    mode: datagram
    pkey: '0x80fe'
- name: bond0
  type: bond
  state: up
  bond:
    mode: active-backup
    port:
    - mlx5_ib0.80fe
    - mlx5_ib1.80fe