community / community.general / 0.1.1 / module / ce_multicast_igmp_enable Manages multicast igmp enable configuration on HUAWEI CloudEngine switches. Authors: xuxiaowei0512 (@CloudEngine-Ansible) preview | supported by communitycommunity.general.ce_multicast_igmp_enable (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Manages multicast igmp on HUAWEI CloudEngine switches.
- name: configure global igmp enable ce_multicast_igmp_enable: aftype: v4 features: 'global' state: present
- name: configure global igmp disable ce_multicast_igmp_enable: features: 'global' aftype: v4 state: absent
- name: configure vlan igmp enable ce_multicast_igmp_enable: features: 'vlan' aftype: v4 vlan_id: 1 igmp: true
- name: new proxy,igmp,version ce_multicast_igmp_enable: features: 'vlan' aftype: v4 vlan_id: 1 proxy: true igmp: true version: 1
- name: modify proxy,igmp,version ce_multicast_igmp_enable: features: 'vlan' aftype: v4 vlan_id: 1 version: 2
- name: delete proxy,igmp,version ce_multicast_igmp_enable: features: 'vlan' aftype: v4 vlan_id: 1 state: absent
igmp: description: - Enable Layer 2 multicast Snooping in a VLAN. type: bool proxy: description: - Layer 2 multicast snooping proxy is enabled. type: bool state: choices: - present - absent default: present description: - Specify desired state of the resource. type: str aftype: choices: - v4 - v6 description: - Destination ip address family type of static route. required: true type: str version: default: 2 description: - Specifies the IGMP version that can be processed. type: int vlan_id: description: - Virtual LAN identity. type: int features: choices: - global - vlan description: - Distinguish between Globally Enabled IGMP or - Enabled IGMP under vlanID. required: true type: str
changed: description: check if a change was made on the device returned: always sample: true type: bool end_state: description: k/v pairs of switchport after module execution returned: always sample: {} type: dict existing: description: k/v pairs of existing switchport returned: always sample: {} type: dict proposed: description: k/v pairs of parameters passed into module returned: always sample: addrFamily: ipv4unicast features: vlan proxyEnable: 'false' snoopingEnable: 'false' state: absent version: 2 vlanId: 1 type: dict updates: description: command list sent to the device returned: always sample: - undo igmp snooping enable - undo igmp snooping version - undo igmp snooping proxy type: list