community.general.onyx_mlag_ipl (0.1.1) — module

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

Authors: Samer Deeb (@samerd)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

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