mellanox.onyx.onyx_igmp_vlan module – Configures IGMP Vlan parameters
Note
This module is part of the mellanox.onyx collection (version 1.0.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_igmp_vlan
.
Synopsis
This module provides declarative management of IGMP vlan configuration on Mellanox ONYX network devices.
Parameters
Parameter |
Comments |
---|---|
Configure ip igmp snooping mrouter port on vlan |
|
Configure mrouter interface |
|
Enable IGMP snooping mrouter on vlan interface. Choices:
|
|
Configure the IGMP querier parameters |
|
Update IP address for the querier |
|
Update time interval between querier queries, range 60-600 |
|
Enable IGMP snooping querier on vlan in the switch. Choices:
|
|
IGMP state. Choices:
|
|
List of IGMP static groups. |
|
Configure static IP multicast group, range 224.0.1.0-239.255.255.25. |
|
interface name to configure static groups on it. |
|
List of IP sources to be configured |
|
IGMP snooping operation version on this vlan Choices:
|
|
VLAN ID, vlan should exist. |
Examples
- 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
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
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”] |
Authors
Anas Badaha (@anasbadaha)