diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-07-01 12:38:26 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-07-01 12:38:26 +0000 |
commit | e3361366038fb0acb8c00d54ac30fb9b95debf52 (patch) | |
tree | d7fb6ab3e5612651ef231dd0d7dfd23d1e37a3d7 /python/vyos/qos/limiter.py | |
parent | 55d6c5749e85fe6d4b771bcdf09fffdd6d6ecb92 (diff) | |
download | vyos-1x-e3361366038fb0acb8c00d54ac30fb9b95debf52.tar.gz vyos-1x-e3361366038fb0acb8c00d54ac30fb9b95debf52.zip |
T5295: QoS fix policy limiter tc filter rate limit
tc filter rate limit should be used only if qostype is 'limiter'
and not 'shaper'
Diffstat (limited to 'python/vyos/qos/limiter.py')
-rw-r--r-- | python/vyos/qos/limiter.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/qos/limiter.py b/python/vyos/qos/limiter.py index ace0c0b6c..3f5c11112 100644 --- a/python/vyos/qos/limiter.py +++ b/python/vyos/qos/limiter.py @@ -17,6 +17,7 @@ from vyos.qos.base import QoSBase class Limiter(QoSBase): _direction = ['ingress'] + qostype = 'limiter' def update(self, config, direction): tmp = f'tc qdisc add dev {self._interface} handle {self._parent:x}: {direction}' |