ansible.builtin.onyx_mlag_vip (v2.9.27) — module

Configures MLAG VIP on Mellanox ONYX network devices

| "added in version" 2.5 of ansible.builtin"

Authors: Samer Deeb (@samerd)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

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