summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-11-27 13:09:22 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2023-11-30 10:12:25 +0200
commit5d98e806ef4edb4439620eff60215aaf30b5a592 (patch)
tree0be5ffcdc81df8c61fe1f2950a2ddfe1ff652533 /interface-definitions
parentb1a6d770e2d391119b318bcd7fa7ae438555440b (diff)
downloadvyos-1x-5d98e806ef4edb4439620eff60215aaf30b5a592.tar.gz
vyos-1x-5d98e806ef4edb4439620eff60215aaf30b5a592.zip
policy: T4704: Allowed to set metric (MED) to (+/-)rtt
Allowed to set metric (MED) to (+/-)rtt in the route-map.
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>