ansible / ansible.builtin / v2.9.27 / module / ce_evpn_global Manages global configuration of EVPN on HUAWEI CloudEngine switches. | "added in version" 2.4 of ansible.builtin" Authors: Zhijin Zhou (@QijunPan) preview | supported by communityansible.builtin.ce_evpn_global (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
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 ce_evpn_global: evpn_overlay_enable: enable provider: "{{ cli }}" - name: Undo EVPN as the VXLAN control plan 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