summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-01 13:09:58 +0100
committerGitHub <noreply@github.com>2023-12-01 13:09:58 +0100
commit12e03feaed0b0f847fceec73597c608703228c44 (patch)
tree6be7aed679c8baa90219f1c669eac4ffa177571a /interface-definitions
parent93038ae22e6e072ffd5c3cdeae49ec7293e5cc1d (diff)
parenta4f816a65e26338a7d708a243aa59a991a14c950 (diff)
downloadvyos-1x-12e03feaed0b0f847fceec73597c608703228c44.tar.gz
vyos-1x-12e03feaed0b0f847fceec73597c608703228c44.zip
Merge pull request #2558 from vyos/mergify/bp/sagitta/pr-2547
policy: T4704: Allowed to set metric (MED) to (+/-)rtt (backport #2547)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/policy.xml.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index c470cfdb3..0d2ed9746 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -1446,9 +1446,18 @@
<format>u32:0-4294967295</format>
<description>Metric value</description>
</valueHelp>
+ <valueHelp>
+ <format>&lt;+/-rtt&gt;</format>
+ <description>Add or subtract round trip time</description>
+ </valueHelp>
+ <valueHelp>
+ <format>&lt;rtt&gt;</format>
+ <description>Round trip time</description>
+ </valueHelp>
<constraint>
<validator name="numeric" argument="--relative --"/>
<validator name="numeric" argument="--range 0-4294967295"/>
+ <regex>^[+|-]?rtt$</regex>
</constraint>
</properties>
</leafNode>