community.general.ce_multicast_global (0.1.1) — module

Manages multicast global configuration on HUAWEI CloudEngine switches.

Authors: xuxiaowei0512 (@xuxiaowei0512)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

Manages multicast global on HUAWEI CloudEngine switches.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
  - name: multicast routing-enable
    ce_multicast_global:
      aftype: v4
      state: absent
      provider: "{{ cli }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: multicast routing-enable
    ce_multicast_global:
      aftype: v4
      state: present
      provider: "{{ cli }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: multicast routing-enable
    ce_multicast_global:
      aftype: v4
      vrf: vrf1
      provider: "{{ cli }}"

Inputs

    
vrf:
    description:
    - VPN instance of destination ip address.
    type: str

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

Outputs

changed:
  description: check to see 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:
    addressFamily: ipv4unicast
    state: present
    vrfName: _public_
  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:
    addressFamily: ipv4unicast
    state: present
    vrfName: _public_
  type: dict
updates:
  description: command list sent to the device
  returned: always
  sample:
  - multicast routing-enable
  type: list