diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-13 13:32:48 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-13 13:32:48 +0000 |
commit | 4351d6cebd29c3e3f43b4839e903077537dd200c (patch) | |
tree | 2ca0c7c90cf1f2b30fcc4732be3ca0241efbe3a6 /python/vyos | |
parent | 7d8db105fa7f5fe1ced53d27b570188b562fde38 (diff) | |
download | vyos-1x-4351d6cebd29c3e3f43b4839e903077537dd200c.tar.gz vyos-1x-4351d6cebd29c3e3f43b4839e903077537dd200c.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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py index abf8de688..bc3402059 100644 --- a/python/vyos/ethtool.py +++ b/python/vyos/ethtool.py @@ -1,4 +1,4 @@ -# Copyright 2021-2022 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 @@ -21,7 +21,7 @@ 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', 'hv_netvsc'] + 'iavf', 'ice', 'i40e', 'hv_netvsc', 'veth'] class Ethtool: """ |