community / community.network / 1.3.1 / module / ce_evpn_global Manages global configuration of EVPN on HUAWEI CloudEngine switches. Authors: Zhijin Zhou (@QijunPan)community.network.ce_evpn_global (1.3.1) — module
Install with ansible-galaxy collection install community.network:==1.3.1
collections: - name: community.network version: 1.3.1
Manages global configuration of EVPN on HUAWEI CloudEngine switches.
- name: Evpn global module test hosts: cloudengine connection: local gather_facts: no vars: cli: host: "{{ inventory_hostname }}" port: "{{ ansible_ssh_port }}" username: "{{ username }}" password: "{{ password }}" transport: cli tasks: - name: Configure EVPN as the VXLAN control plan community.network.ce_evpn_global: evpn_overlay_enable: enable provider: "{{ cli }}" - name: Undo EVPN as the VXLAN control plan community.network.ce_evpn_global: evpn_overlay_enable: disable provider: "{{ cli }}"
evpn_overlay_enable: choices: - enable - disable description: - Configure EVPN as the VXLAN control plane. required: true
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 end attributes on the interface returned: always sample: evpn_overlay_enable: enable type: dict existing: description: k/v pairs of existing attributes on the device returned: always sample: evpn_overlay_enable: disable type: dict proposed: description: k/v pairs of parameters passed into module returned: always sample: evpn_overlay_enable: enable type: dict updates: description: command list sent to the device returned: always sample: - evpn-overlay enable type: list