summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-29 23:18:06 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-29 23:18:06 +0200
commit147f655a69cd9526cd23f51ab18027cb5abc95b2 (patch)
tree02b73f30eb39b36882df8bbdb73ff3943cb8d515 /interface-definitions
parent324aa9598c7d90efc917a00447380f985553b657 (diff)
downloadvyos-1x-147f655a69cd9526cd23f51ab18027cb5abc95b2.tar.gz
vyos-1x-147f655a69cd9526cd23f51ab18027cb5abc95b2.zip
vyos.ethtool: T3163: add check_speed_duplex() method
Add a new method which supports checking if the desired speed and duplex setting is actually supported by the underlaying network interface card. >>> from vyos.ethtool import Ethtool >>> tmp = Ethtool('eth0') >>> tmp.check_speed_duplex('100', 'full') False >>> tmp.check_speed_duplex('1000', 'full') True
Diffstat (limited to 'interface-definitions')
0 files changed, 0 insertions, 0 deletions