From df0ef8a25f8f431ed9216b307f817a25d280acd8 Mon Sep 17 00:00:00 2001 From: Roman Khramshin Date: Thu, 21 Nov 2024 13:44:31 +0600 Subject: T6806: Rework QoS Policy for HFSC Shaper (#4181) - Removed default `m1` and `m2` values from interface definitions - Adjusted filter priorities for shapers - Fixed SFQ qdisc and HFSC class creation to fully support `m1`, `d`, and `m2` parameters - Added validation logic similar to VyOS 1.3 to improve error handling and user experience --- python/vyos/qos/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/qos/base.py') diff --git a/python/vyos/qos/base.py b/python/vyos/qos/base.py index 35cc5be18..12d940e3c 100644 --- a/python/vyos/qos/base.py +++ b/python/vyos/qos/base.py @@ -259,7 +259,7 @@ class QoSBase: has_filter = True break - if self.qostype == 'shaper' and 'prio ' not in filter_cmd: + if self.qostype in ['shaper', 'shaper_hfsc'] and 'prio ' not in filter_cmd: filter_cmd += f' prio {index}' if 'mark' in match_config: mark = match_config['mark'] -- cgit v1.2.3