ansible / ansible.builtin / v2.9.0 / module / nxos_evpn_vni Manages Cisco EVPN VXLAN Network Identifier (VNI). | "added in version" 2.2 of ansible.builtin" Authors: Gabriele Gerbino (@GGabriele) preview | supported by networkansible.builtin.nxos_evpn_vni (v2.9.0) — module
pip
Install with pip install ansible==2.9.0
Manages Cisco Ethernet Virtual Private Network (EVPN) VXLAN Network Identifier (VNI) configurations of a Nexus device.
- name: vni configuration nxos_evpn_vni: vni: 6000 route_distinguisher: "60:10" route_target_import: - "5000:10" - "4100:100" route_target_export: auto route_target_both: default
vni: description: - The EVPN VXLAN Network Identifier. required: true state: choices: - present - absent default: present description: - Determines whether the config should be present or not on the device. route_target_both: description: - Enables/Disables route-target settings for both import and export target communities using a single property. route_distinguisher: description: - The VPN Route Distinguisher (RD). The RD is combined with the IPv4 or IPv6 prefix learned by the PE router to create a globally unique address. required: true route_target_export: description: - Sets the route-target 'export' extended communities. route_target_import: description: - Sets the route-target 'import' extended communities.
commands: description: commands sent to the device returned: always sample: - evpn - vni 6000 l2 - route-target import 5001:10 type: list