ansible / ansible.builtin / v2.4.6.0-1 / module / ce_vxlan_arp Manages ARP attributes of VXLAN on HUAWEI CloudEngine devices. | "added in version" 2.4 of ansible.builtin" Authors: QijunPan (@CloudEngine-Ansible) preview | supported by communityansible.builtin.ce_vxlan_arp (v2.4.6.0-1) — module
pip
Install with pip install ansible==2.4.6.0.post1
Manages ARP attributes of VXLAN on HUAWEI CloudEngine devices.
- name: vxlan arp module test hosts: ce128 connection: local gather_facts: no vars: cli: host: "{{ inventory_hostname }}" port: "{{ ansible_ssh_port }}" username: "{{ username }}" password: "{{ password }}" transport: cli tasks: - name: Configure EVN BGP on Layer 2 and Layer 3 VXLAN gateways to establish EVN BGP peer relationships. ce_vxlan_arp: evn_bgp: enable evn_source_ip: 6.6.6.6 evn_peer_ip: 7.7.7.7 provider: "{{ cli }}" - name: Configure a Layer 3 VXLAN gateway as a BGP RR. ce_vxlan_arp: evn_bgp: enable evn_server: enable provider: "{{ cli }}" - name: Enable EVN BGP on a Layer 3 VXLAN gateway to collect host information. ce_vxlan_arp: vbdif_name: Vbdif100 arp_collect_host: enable provider: "{{ cli }}" - name: Enable Layer 2 and Layer 3 VXLAN gateways to use EVN BGP to advertise host information. ce_vxlan_arp: host_collect_protocol: bgp provider: "{{ cli }}" - name: Enable ARP broadcast suppression on a Layer 2 VXLAN gateway. ce_vxlan_arp: bridge_domain_id: 100 arp_suppress: enable provider: "{{ cli }}"
state: choices: - present - absent default: present description: - Determines whether the config should be present or not on the device. required: false evn_bgp: choices: - enable - disable default: null description: - Enables EVN BGP. required: false evn_server: choices: - enable - disable default: null description: - Configures the local device as the router reflector (RR) on the EVN network. required: false vbdif_name: default: null description: - Full name of VBDIF interface, i.e. Vbdif100. required: false evn_peer_ip: default: null description: - Specifies the IP address of an EVN BGP peer. The value is in dotted decimal notation. required: false arp_suppress: choices: - enable - disable default: null description: - Enables ARP broadcast suppression in a BD. required: false evn_source_ip: default: null description: - Specifies the source address of an EVN BGP peer. The value is in dotted decimal notation. required: false arp_collect_host: choices: - enable - disable default: null description: - Enables EVN BGP or BGP EVPN to collect host information. required: false bridge_domain_id: default: null description: - Specifies a BD(bridge domain) ID. The value is an integer ranging from 1 to 16777215. required: false evn_reflect_client: choices: - enable - disable default: null description: - Configures the local device as the route reflector (RR) and its peer as the client. required: false host_collect_protocol: choices: - bgp - none default: null description: - Enables EVN BGP or BGP EVPN to advertise host information. required: false
changed: description: check to see if a change was made on the device returned: always sample: true type: boolean end_state: description: k/v pairs of configuration after module execution returned: verbose mode sample: evn_bgp: enable evn_peer_ip: - 7.7.7.7 evn_source_ip: 6.6.6.6 type: dict existing: description: k/v pairs of existing configuration returned: verbose mode sample: evn_bgp: disable evn_peer_ip: [] evn_source_ip: null type: dict proposed: description: k/v pairs of parameters passed into module returned: verbose mode sample: evn_bgp: enable evn_peer_ip: 7.7.7.7 evn_source_ip: 6.6.6.6 state: present type: dict updates: description: commands sent to the device returned: always sample: - evn bgp - source-address 6.6.6.6 - peer 7.7.7.7 type: list