mellanox.onyx.onyx_mlag_ipl (1.0.0) — module

Manage IPL (inter-peer link) on Mellanox ONYX network devices

Authors: Samer Deeb (@samerd)

Install collection

Install with ansible-galaxy collection install mellanox.onyx:==1.0.0


Add to requirements.yml

  collections:
    - name: mellanox.onyx
      version: 1.0.0

Description

This module provides declarative management of IPL (inter-peer link) management on Mellanox ONYX network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Run configure ipl
  onyx_mlag_ipl:
    name: Po1
    vlan_interface: Vlan 322
    state: present
    peer_address: 192.168.7.1
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Run remove ipl
  onyx_mlag_ipl:
    name: Po1
    state: absent

Inputs

    
name:
    description:
    - Name of the interface (port-channel) IPL should be configured on.
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description:
    - IPL state.

peer_address:
    description:
    - IPL peer IP address.

vlan_interface:
    description:
    - Name of the IPL vlan interface.

Outputs

commands:
  description: The list of configuration mode commands to send to the device.
  returned: always
  sample:
  - interface port-channel 1 ipl 1
  - interface vlan 1024 ipl 1 peer-address 10.10.10.10
  type: list