ansible / ansible.builtin / v2.8.13 / module / onyx_igmp_vlan Configures IGMP Vlan parameters | "added in version" 2.8 of ansible.builtin" Authors: Anas Badaha (@anasbadaha) preview | supported by communityansible.builtin.onyx_igmp_vlan (v2.8.13) — module
pip
Install with pip install ansible==2.8.13
This module provides declarative management of IGMP vlan configuration on Mellanox ONYX network devices.
- name: configure igmp vlan onyx_igmp_vlan: state: enabled vlan_id: 10 version: V2 querier: state: enabled interval: 70 address: 10.11.121.13 mrouter: state: disabled name: Eth1/2 static_groups: - multicast_ip_address: 224.5.5.8 name: Eth1/1 sources: - 1.1.1.1 - 1.1.1.2
state: choices: - enabled - disabled default: enabled description: - IGMP state. mrouter: description: - Configure ip igmp snooping mrouter port on vlan suboptions: name: description: - Configure mrouter interface required: true state: choices: - enabled - disabled default: enabled description: - Enable IGMP snooping mrouter on vlan interface. querier: description: - Configure the IGMP querier parameters suboptions: address: description: - Update IP address for the querier interval: description: - Update time interval between querier queries, range 60-600 state: choices: - enabled - disabled default: enabled description: - Enable IGMP snooping querier on vlan in the switch. version: choices: - V2 - V3 description: - IGMP snooping operation version on this vlan vlan_id: description: - VLAN ID, vlan should exist. required: true static_groups: description: - List of IGMP static groups. suboptions: multicast_ip_address: description: - Configure static IP multicast group, range 224.0.1.0-239.255.255.25. required: true name: description: - interface name to configure static groups on it. sources: description: - List of IP sources to be configured
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - vlan 10 ip igmp snooping - vlan 10 ip igmp snooping static-group 224.5.5.5 interface ethernet 1/1 type: list