community.general.onyx_mlag_vip (0.1.1) — module

Configures MLAG VIP 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 MLAG virtual IPs on Mellanox ONYX network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: configure mlag-vip
  onyx_mlag_vip:
    ipaddress: 50.3.3.1/24
    group_name: ansible-test-group
    mac_address: 00:11:12:23:34:45

Inputs

    
delay:
    default: 12
    description:
    - Delay interval, in seconds, waiting for the changes on mlag VIP to take effect.

state:
    choices:
    - present
    - absent
    description:
    - MLAG VIP state.

ipaddress:
    description:
    - Virtual IP address of the MLAG. Required if I(state=present).

group_name:
    description:
    - MLAG group name. Required if I(state=present).

mac_address:
    description:
    - MLAG system MAC address. Required if I(state=present).

Outputs

commands:
  description: The list of configuration mode commands to send to the device.
  returned: always
  sample:
  - mlag-vip ansible_test_group ip 50.3.3.1 /24 force
  - no mlag shutdown
  type: list