arista-eosplus / ansible-eos-interfaces

Prebuilt Ansible Role to manage interface configuration on your Arista EOS Device
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Add ability to force interface speed for Ethernet interfaces. #24

Closed mharista closed 7 years ago

mharista commented 7 years ago

Fixes #23

mharista commented 7 years ago

Couple discussion points for this update:

  1. The test case for speed_forced requires a real switch with a compatible transceiver. Will fail on vEOS. Should we keep this test?

veos5(config)#int e1 veos5(config-if-Et1)#speed forced 40gfull % Speed and duplex settings are not compatible with transceiver for interface Ethernet1.

  1. I used a dynamic variable type for the options. False will unset, absent does nothing and a string will attempt to set as opposed to the norm of absent assuming unset. Any opposition to this?