summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/protocol-common-config.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-16 20:58:25 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-16 20:58:25 +0200
commit3017afcc0079dd26f7a521dcf62e83def3fad139 (patch)
treeb2290190055239dbad70f5ee68a6c26ddc1df208 /interface-definitions/include/bgp/protocol-common-config.xml.i
parent53d32756f08b76f87f86ab21ef4b542e2e2b0562 (diff)
downloadvyos-1x-3017afcc0079dd26f7a521dcf62e83def3fad139.tar.gz
vyos-1x-3017afcc0079dd26f7a521dcf62e83def3fad139.zip
bgp: T3624: add "bandwidth" bestpath option
Diffstat (limited to 'interface-definitions/include/bgp/protocol-common-config.xml.i')
-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>