summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-06-23 13:33:21 +0300
committerGitHub <noreply@github.com>2026-06-23 13:33:21 +0300
commitd935b5a83b0fa81e3fc9d727cedbda7575f60d85 (patch)
tree6e4dc71ec908c24130c2ac17a0f72e586992218d /src/op_mode
parent02f8c17a56518157e48048fb39b69f373ee9c829 (diff)
parent50ffc690fdeaaa30a9f353bc76fe87d748cc2e58 (diff)
downloadvyos-1x-d935b5a83b0fa81e3fc9d727cedbda7575f60d85.tar.gz
vyos-1x-d935b5a83b0fa81e3fc9d727cedbda7575f60d85.zip
Merge pull request #5220 from opswill/current
qos: T7965: Fix qos fails to reapply on dynamic interfaces after reconnection
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/connect_disconnect.py13
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 """