diff options
| author | Roman Khramshin <HollyGurza@users.noreply.github.com> | 2024-11-21 13:44:31 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-21 09:44:31 +0200 |
| commit | df0ef8a25f8f431ed9216b307f817a25d280acd8 (patch) | |
| tree | f3a50fab64dfc94aa36488ab2f97170167202f98 /python/vyos/qos/base.py | |
| parent | b51cf400b42d7b2d05237169a813d1e952213558 (diff) | |
| download | veeos-1x-df0ef8a25f8f431ed9216b307f817a25d280acd8.tar.gz veeos-1x-df0ef8a25f8f431ed9216b307f817a25d280acd8.zip | |
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
Diffstat (limited to 'python/vyos/qos/base.py')
| -rw-r--r-- | python/vyos/qos/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'] |
