summaryrefslogtreecommitdiff
path: root/src/etc/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-29 23:18:06 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-30 21:38:44 +0200
commitebf69a83bd1a2dba27e1c0bc6ecc4e1ea74683a1 (patch)
tree3fa57e66ee7b0e301559acff86a93110c0cfb6a6 /src/etc/systemd
parentf4c6697582ddc4b6546107c9d4040bcdadf55b44 (diff)
downloadvyos-1x-ebf69a83bd1a2dba27e1c0bc6ecc4e1ea74683a1.tar.gz
vyos-1x-ebf69a83bd1a2dba27e1c0bc6ecc4e1ea74683a1.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 (cherry picked from commit 147f655a69cd9526cd23f51ab18027cb5abc95b2)
Diffstat (limited to 'src/etc/systemd')
0 files changed, 0 insertions, 0 deletions