diff options
| author | opswill <will@nixops.org> | 2026-05-27 17:19:17 +0800 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-06-20 22:56:18 +0200 |
| commit | 2c6c98060ec2af764d4802ec58969399854eb140 (patch) | |
| tree | 52787d58eb07571b335f6e934e8a23a50f0e0a98 /src/op_mode | |
| parent | 6c0fd99099a6251a12bc2287d5ba2ab115cd8015 (diff) | |
| download | vyos-1x-2c6c98060ec2af764d4802ec58969399854eb140.tar.gz vyos-1x-2c6c98060ec2af764d4802ec58969399854eb140.zip | |
vyos-netlink: T7965: re-apply QoS configuration on dynamic interfaces
Re-apply QoS after dynamic interfaces get addresses after connect/disconnect.
When PPPoE interfaces re-connect we need to re-do QoS settings.
Diffstat (limited to 'src/op_mode')
| -rwxr-xr-x | src/op_mode/connect_disconnect.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/op_mode/connect_disconnect.py b/src/op_mode/connect_disconnect.py index d5db85d25..17cf9d7e0 100755 --- a/src/op_mode/connect_disconnect.py +++ b/src/op_mode/connect_disconnect.py @@ -18,9 +18,7 @@ import os import argparse from psutil import process_iter -from time import sleep -from vyos.configquery import ConfigTreeQuery from vyos.utils.process import call from vyos.utils.commit import commit_in_progress from vyos.utils.network import is_wwan_connected @@ -61,17 +59,6 @@ def connect(interface): else: print(f'Unknown interface {interface}, cannot connect. Aborting!') - # Reaply QoS configuration - config = ConfigTreeQuery() - if config.exists(f'qos interface {interface}'): - count = 1 - while commit_in_progress(): - if ( count % 60 == 0 ): - print(f'Commit still in progress after {count}s - waiting') - count += 1 - sleep(1) - call('/usr/libexec/vyos/conf_mode/qos.py') - def disconnect(interface): """ Disconnect dialer interface """ |
