summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-17 19:21:57 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-17 19:21:57 +0200
commit635eed0452f15b18b8125e831b48582fa093c125 (patch)
treeac78747c07fd1cc71cbcea38125263fba458afe0 /interface-definitions/include
parent6cfcf7a761adb3e51f9279611435a39a1424e9c9 (diff)
parent13f0bf83f67a90e8164dec84ed0aced2440688fb (diff)
downloadvyos-1x-635eed0452f15b18b8125e831b48582fa093c125.tar.gz
vyos-1x-635eed0452f15b18b8125e831b48582fa093c125.zip
Merge branch 'route-map-extcommunity' into current
* route-map-extcommunity: policy: T3631: migrate "set extcommunity-rt|soo" to "set extcommunity rt|soo" route-map: T3632: fix invalid validation regex for extcommunity-rt|soo bgp: T3624: add "bandwidth" bestpath option policy: T3624: remove duplicate CLI node for "bgp-extcommunity-rt" policy: T3624: add extended community bandwith support to route-map policy: T3631: migrate "set extcommunity-rt/soo" to "set extcommunity rt|soo"
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/bgp/protocol-common-config.xml.i23
1 files changed, 23 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i
index 78a4fb763..37fc7259f 100644
--- a/interface-definitions/include/bgp/protocol-common-config.xml.i
+++ b/interface-definitions/include/bgp/protocol-common-config.xml.i
@@ -1114,6 +1114,29 @@
</leafNode>
</children>
</node>
+ <leafNode name="bandwidth">
+ <properties>
+ <help>Link Bandwidth attribute</help>
+ <completionHelp>
+ <list>default-weight-for-missing ignore skip-missing</list>
+ </completionHelp>
+ <valueHelp>
+ <format>default-weight-for-missing</format>
+ <description>Assign low default weight (1) to paths not having link bandwidth</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ignore</format>
+ <description>Ignore link bandwidth (do regular ECMP, not weighted)</description>
+ </valueHelp>
+ <valueHelp>
+ <format>skip-missing</format>
+ <description>Ignore paths without link bandwidth for ECMP (if other paths have it)</description>
+ </valueHelp>
+ <constraint>
+ <regex>^(default-weight-for-missing|ignore|skip-missing)$</regex>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="compare-routerid">
<properties>
<help>Compare the router-id for identical EBGP paths</help>