From 61342083d7db8c30d015474fae5cb71f480487d8 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 --- 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 From 762be96f45bb1d9705e45ff554ad483c9d4e10ff Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 2 Feb 2024 13:08:27 +0100 Subject: qos: T5848: improve flow-isolation help strings --- interface-definitions/qos.xml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface-definitions/qos.xml.in b/interface-definitions/qos.xml.in index ccc2dc039..31b9a7d21 100644 --- a/interface-definitions/qos.xml.in +++ b/interface-definitions/qos.xml.in @@ -122,19 +122,19 @@ - Flows are defined by the 5-tuple, and fairness is applied first over source addresses, then over individual flows + Flows are defined by the 5-tuple, fairness is applied first over source addresses, then over individual flows - Flows are defined by the 5-tuple, and fairness is applied first over destination addresses, then over individual flows + Flows are defined by the 5-tuple, fairness is applied first over destination addresses, then over individual flows - 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) + Flows are defined by the 5-tuple, fairness is applied over source and destination addresses and also over individual flows (default) -- cgit v1.2.3