ansible / ansible.builtin / v2.8.20 / module / onyx_vxlan Configures Vxlan | "added in version" 2.8 of ansible.builtin" Authors: Anas Badaha (@anasb) preview | supported by communityansible.builtin.onyx_vxlan (v2.8.20) — module
pip
Install with pip install ansible==2.8.20
This module provides declarative management of Vxlan configuration on Mellanox ONYX network devices.
- name: configure Vxlan onyx_vxlan: nve_id: 1 loopback_id: 1 bgp: yes mlag-tunnel-ip: 100.0.0.1 vni_vlan_list: - vlan_id: 10 vni_id: 10010 - vlan_id: 6 vni_id: 10060 arp_suppression: yes
bgp: default: true description: - configure bgp on nve interface. type: bool nve_id: description: - nve interface ID. required: true loopback_id: description: - loopback interface ID. vni_vlan_list: description: - Each item in the list has two attributes vlan_id, vni_id. mlag_tunnel_ip: description: - vxlan Mlag tunnel IP arp_suppression: default: false description: - A flag telling if to configure arp suppression. type: bool
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - interface nve 1 - interface nve 1 vxlan source interface loopback 1 - interface nve 1 nve controller bgp - interface nve 1 vxlan mlag-tunnel-ip 100.0.0.1 - interface nve 1 nve vni 10010 vlan 10 - interface nve 1 nve vni 10060 vlan 6 - interface nve 1 nve neigh-suppression - interface vlan 6 - interface vlan 10 type: list