diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-13 13:51:25 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-13 13:51:25 +0000 |
commit | f7661b7803af4925944b09b73ef90e49027f5f2f (patch) | |
tree | 3533b072708a97c77828e29f78e6979df2a51fcb /python/vyos | |
parent | a3b16a483140bff9d0085351adabcb2e793cfe2b (diff) | |
download | vyos-1x-f7661b7803af4925944b09b73ef90e49027f5f2f.tar.gz vyos-1x-f7661b7803af4925944b09b73ef90e49027f5f2f.zip |
T2516: Exclude veth interfaces from duplex and speed check
Exclude interfaces with 'veth' driver from duplex and speed check
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/ethtool.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py index 672ee2cc9..256c9535b 100644 --- a/python/vyos/ethtool.py +++ b/python/vyos/ethtool.py @@ -1,4 +1,4 @@ -# Copyright 2021 VyOS maintainers and contributors <maintainers@vyos.io> +# Copyright 2021-2023 VyOS maintainers and contributors <maintainers@vyos.io> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,8 @@ import re from vyos.util import popen # These drivers do not support using ethtool to change the speed, duplex, or flow control settings -_drivers_without_speed_duplex_flow = ['vmxnet3', 'virtio_net', 'xen_netfront', 'iavf', 'ice', 'i40e'] +_drivers_without_speed_duplex_flow = ['vmxnet3', 'virtio_net', 'xen_netfront', + 'iavf', 'ice', 'i40e', 'veth'] class Ethtool: """ |