diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-31 11:58:46 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-31 12:00:11 +0200 |
commit | 91892e431349ca0edb5e3e3023e4f340ab9b777f (patch) | |
tree | 266604408a3594b57ca52344d1b8324b2c615073 /src/conf_mode/host_name.py | |
parent | 9711774ee7c00c9f0a113fecc50d64036937937c (diff) | |
download | vyos-1x-91892e431349ca0edb5e3e3023e4f340ab9b777f.tar.gz vyos-1x-91892e431349ca0edb5e3e3023e4f340ab9b777f.zip |
ethernet: T3514: bail out early on invalid adapter speed/duplex setting
Ethernet adapters have a discrete set of available speed and duplex settings.
Instead of passing every value down to ethtool and let it decide, we can do
this early in the VyOS verify() function for ethernet interfaces.
Diffstat (limited to 'src/conf_mode/host_name.py')
0 files changed, 0 insertions, 0 deletions