From 628877a46a049142cffd5d98de74f652d4a9dde7 Mon Sep 17 00:00:00 2001 From: Matthew Kobayashi Date: Fri, 22 Dec 2023 11:50:29 +1000 Subject: qos: T5848: Add triple-isolate option to CAKE policy config (cherry picked from commit 61342083d7db8c30d015474fae5cb71f480487d8) --- interface-definitions/qos.xml.in | 6 ++++++ python/vyos/qos/cake.py | 2 ++ 2 files changed, 8 insertions(+) diff --git a/interface-definitions/qos.xml.in b/interface-definitions/qos.xml.in index c7bd8606a..ccc2dc039 100644 --- a/interface-definitions/qos.xml.in +++ b/interface-definitions/qos.xml.in @@ -132,6 +132,12 @@ + + + Flows are defined by the 5-tuple, and fairness is applied over source and destination addresses intelligently (ie. not merely by host-pairs), and also over individual flows (default) + + + Perform NAT lookup before applying flow-isolation rules diff --git a/python/vyos/qos/cake.py b/python/vyos/qos/cake.py index a89b1de1e..1ee7d0fc3 100644 --- a/python/vyos/qos/cake.py +++ b/python/vyos/qos/cake.py @@ -38,6 +38,8 @@ class CAKE(QoSBase): tmp += f' dual-dsthost' if 'dual_src_host' in config['flow_isolation']: tmp += f' dual-srchost' + if 'triple_isolate' in config['flow_isolation']: + tmp += f' triple-isolate' if 'flow' in config['flow_isolation']: tmp += f' flows' if 'host' in config['flow_isolation']: -- cgit v1.2.3