diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-07 22:50:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 22:50:48 +0200 |
commit | 91144f29f0cd636a30a27efcdc1d9a389e2c5071 (patch) | |
tree | 4a7bf3c5f24b63cba7c859758ba7ed11404a232c /interface-definitions/include/bgp/protocol-common-config.xml.i | |
parent | 5474a82034a0354c0e5878fd6690d0861435e992 (diff) | |
parent | 2b05ac9e341369ee051f3797bf5b8ecce0c22af7 (diff) | |
download | vyos-1x-91144f29f0cd636a30a27efcdc1d9a389e2c5071.tar.gz vyos-1x-91144f29f0cd636a30a27efcdc1d9a389e2c5071.zip |
Merge pull request #2137 from nicolas-fort/T5446
T5446: BGP: change <bgp paramater bestpath med> from node to leafNode
Diffstat (limited to 'interface-definitions/include/bgp/protocol-common-config.xml.i')
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index 12024ed8b..504385b53 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -1123,25 +1123,26 @@ <valueless/> </properties> </leafNode> - <node name="med"> + <leafNode name="med"> <properties> <help>MED attribute comparison parameters</help> + <completionHelp> + <list>confed missing-as-worst</list> + </completionHelp> + <valueHelp> + <format>confed</format> + <description>Compare MEDs among confederation paths</description> + </valueHelp> + <valueHelp> + <format>missing-as-worst</format> + <description>Treat missing route as a MED as the least preferred one</description> + </valueHelp> + <constraint> + <regex>(confed|missing-as-worst)</regex> + </constraint> + <multi/> </properties> - <children> - <leafNode name="confed"> - <properties> - <help>Compare MEDs among confederation paths</help> - <valueless/> - </properties> - </leafNode> - <leafNode name="missing-as-worst"> - <properties> - <help>Treat missing route as a MED as the least preferred one</help> - <valueless/> - </properties> - </leafNode> - </children> - </node> + </leafNode> <node name="peer-type"> <properties> <help>Peer type</help> |