community.network.onyx_igmp_interface (0.2.1) — module

Configures IGMP interface parameters

Authors: Anas Badaha (@anasb)

Install collection

Install with ansible-galaxy collection install community.network:==0.2.1


Add to requirements.yml

  collections:
    - name: community.network
      version: 0.2.1

Description

This module provides declarative management of IGMP interface configuration on Mellanox ONYX network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Configure igmp interface
  onyx_igmp_interface:
    state: enabled
    name: Eth1/1

Inputs

    
name:
    description:
    - interface name that we want to configure IGMP on it
    required: true

state:
    choices:
    - enabled
    - disabled
    default: enabled
    description:
    - IGMP Interface state.

Outputs

commands:
  description: The list of configuration mode commands to send to the device.
  returned: always
  sample:
  - interface ethernet 1/1 ip igmp snooping fast-leave
  type: list