summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-31 11:58:46 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-31 19:04:08 +0200
commit031817eecb14280e3f421cb9c391ab29dbc2fa60 (patch)
treeb6349e1fa13253e465488efc8682b3e82ada60f5 /python
parent862e6e96bfc557974dbbe374d0aefe654b76e664 (diff)
downloadvyos-1x-031817eecb14280e3f421cb9c391ab29dbc2fa60.tar.gz
vyos-1x-031817eecb14280e3f421cb9c391ab29dbc2fa60.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. (cherry picked from commit 91892e431349ca0edb5e3e3023e4f340ab9b777f)
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions