summaryrefslogtreecommitdiff
path: root/interface-definitions/policy.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-16 20:41:36 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-16 20:41:36 +0200
commit36a6f3771fd78b3d035d44679411f5e648fb90f2 (patch)
tree72745565a84b1995c668b2cc5ceaf1fa2abfafea /interface-definitions/policy.xml.in
parent3a90c7a333ef90fea6cd520483d5849fc979f614 (diff)
downloadvyos-1x-36a6f3771fd78b3d035d44679411f5e648fb90f2.tar.gz
vyos-1x-36a6f3771fd78b3d035d44679411f5e648fb90f2.zip
policy: T3624: add extended community bandwith support to route-map
Diffstat (limited to 'interface-definitions/policy.xml.in')
-rw-r--r--interface-definitions/policy.xml.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index 1b37c93b0..7bee8d635 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -1012,6 +1012,30 @@
<help>BGP extended community attribute</help>
</properties>
<children>
+ <leafNode name="bandwidth">
+ <properties>
+ <help>Bandwidth value in Mbps</help>
+ <completionHelp>
+ <list>cumulative num-multipaths</list>
+ </completionHelp>
+ <valueHelp>
+ <format>u32:1-25600</format>
+ <description>Bandwidth value in Mbps</description>
+ </valueHelp>
+ <valueHelp>
+ <format>cumulative</format>
+ <description>Cumulative bandwidth of all multipaths (outbound-only)</description>
+ </valueHelp>
+ <valueHelp>
+ <format>num-multipaths</format>
+ <description>Internally computed bandwidth based on number of multipaths (outbound-only)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-25600"/>
+ <regex>^(cumulative|num-multipaths)$</regex>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="rt">
<properties>
<help>Set route target value</help>