Note
This plugin is part of the mellanox.onyx collection (version 1.0.0).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_vxlan
.
Parameter | Choices/Defaults | Comments |
---|---|---|
arp_suppression boolean |
| A flag telling if to configure arp suppression. |
bgp boolean |
| configure bgp on nve interface. |
loopback_id string | loopback interface ID. | |
mlag_tunnel_ip string | vxlan Mlag tunnel IP | |
nve_id string / required | nve interface ID. | |
vni_vlan_list string | Each item in the list has two attributes vlan_id, vni_id. |
Note
- 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
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
commands list / elements=string | always | The list of configuration mode commands to send to the device. 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'] |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/mellanox/onyx/onyx_vxlan_module.html