eos_ethernet¶
Synopsis¶
Added in version 1.0.0
The eos_ethernet module manages the interface configuration for physical Ethernet interfaces on EOS nodes.
Options¶
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| description | no |
Configures a one lne ASCII description for the interface. The EOS default value for description is None (added in 1.0.0) |
||
| enable | no | True |
|
Configures the administrative state for the interface. Setting the value to true will adminstrative enable the interface and setting the value to false will administratively disable the interface. The EOS default value for enable is true (added in 1.0.0) |
| flowcontrol_receive | no |
|
Configures the flowcontrol receive value for the named Ethernet interface in EOS. If the value is configured true, then control receive is enabled (on). If the value is configured false then flowcontrol receive is disabled (off). (added in 1.0.0) |
|
| flowcontrol_send | no |
|
Configures the flowcontrol send value for the named Ethernet interface in EOS. If the value is configured true, then control send is enabled (on). If the value is configured false then flowcontrol send is disabled (off). (added in 1.0.0) |
|
| 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 (added in 1.0.0) |
||
| sflow | no |
Configures the adminstrative state of running sflow on the named Ethernet interface. If this value is true, then sflow is enabled on the interface and if this value is false, then sflow is disabled on this interface. The EOS default value for sflow is true (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: Ensure that Ethernet1/1 is administratively enabled
eos_ethernet: name=Ethernet1/1 enable=yes
- name: Enable flowcontrol send and receive on Ethernet10
eos_ethernet: name=Ethernet10 flowcontrol_send=yes flowcontrol_receive=yes
Note
All configuration is idempotent unless otherwise specified
Note
Supports eos metaparameters for using the eAPI transport
Note
Does not support stateful resource configuration.