summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-17 18:17:40 +0100
committerGitHub <noreply@github.com>2024-03-17 18:17:40 +0100
commit987b7e599fda2c468773cf31d92d976cd96c3e41 (patch)
treee33bd34ec532ffbe327b15dbb83e3fc5d087856c /interface-definitions
parent2bf1aeb17f830969a75655e496a48cc8501192f5 (diff)
parent16395c902ff79fcb34019a6d499467488ed45849 (diff)
downloadvyos-1x-987b7e599fda2c468773cf31d92d976cd96c3e41.tar.gz
vyos-1x-987b7e599fda2c468773cf31d92d976cd96c3e41.zip
Merge pull request #3139 from c-po/as-path-T6129
policy: T6129: add route-map option "as-path exclude all"
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/policy.xml.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index 0d82cd3f8..791fa1d87 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -1124,12 +1124,20 @@
<leafNode name="exclude">
<properties>
<help>Remove/exclude from the as-path attribute</help>
+ <completionHelp>
+ <list>all</list>
+ </completionHelp>
<valueHelp>
- <format>u32</format>
+ <format>u32:1-4294967295</format>
<description>AS number</description>
</valueHelp>
+ <valueHelp>
+ <format>all</format>
+ <description>Exclude all AS numbers from the as-path</description>
+ </valueHelp>
<constraint>
<validator name="as-number-list"/>
+ <regex>(all)</regex>
</constraint>
</properties>
</leafNode>
@@ -1137,7 +1145,7 @@
<properties>
<help>Prepend to the as-path</help>
<valueHelp>
- <format>u32</format>
+ <format>u32:1-4294967295</format>
<description>AS number</description>
</valueHelp>
<constraint>