eos_vxlan_vlan¶
Synopsis¶
Added in version 1.0.0
The eos_vxlan_vlan module manages the Vxlan VLAN to VNI mappings for an Arista EOS node that is operating as a VTEP
Options¶
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| name | yes |
The unique interface identifier name. The interface name must use the full interface name (no abbreviated names). For example, interfaces should be specified as Ethernet1 not Et1 Note: The name parameter only accepts Vxlan1 as the identifier (added in 1.0.0) |
||
| vlan | yes |
Specifies the VLAN ID that is assocated with the Vxlan interface for managing the VLAN to VNI mapping. Valid values for the vlan parameter are in the range of 1 to 4094. (added in 1.0.0) |
||
| vni | no |
Specifies the VNI value to assoicate with the Vxlan interface for managing the VLAN to VNI mapping. This value is only necessary when configuring the mapping with a state of present (default). Valie values for the vni parameter are in the range of 1 to 16777215. (added in 1.0.0) |
Important
Requires Arista EOS 4.13.7M or later with command API enabled
Important
Requires Python Client for eAPI 0.3.0 or later
Examples¶
- name: create a new vlan to vni mapping
eos_vxlan_vlan: name=Vxlan1 state=present vlan=100 vni=1000
- name: remove an existing mapping if present in the config
eos_vxlan_vlan: name=Vxlan1 state=absent vlan=200
Note
All configuration is idempotent unless otherwise specified
Note
Supports eos metaparameters for using the eAPI transport
Note
Supports stateful resource configuration.