summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorl0crian1 <143656816+l0crian1@users.noreply.github.com>2025-09-14 04:52:09 -0400
committerGitHub <noreply@github.com>2025-09-14 10:52:09 +0200
commiteb3c88023c7768ac9cbb5a84f78a71edcb798137 (patch)
tree98a329e32e29301c3137e642d927af93ce290109 /interface-definitions
parentad686a956cc8f6f14452798f3d77da2320956b54 (diff)
downloadvyos-1x-eb3c88023c7768ac9cbb5a84f78a71edcb798137.tar.gz
vyos-1x-eb3c88023c7768ac9cbb5a84f78a71edcb798137.zip
route-map: T1124: Allow matching RPKI OVS extended community (#4699)
- Added 'rpki-extcommunity' match condition - Added test to test_policy.py smoketest for rpki-extcommunity match
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/policy.xml.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index 31e01c68c..d2082fd7a 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -1092,6 +1092,29 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="rpki-extcommunity">
+ <properties>
+ <help>Match RPKI (Origin Validation State) extended community</help>
+ <completionHelp>
+ <list>invalid notfound valid</list>
+ </completionHelp>
+ <valueHelp>
+ <format>invalid</format>
+ <description>Match invalid entries</description>
+ </valueHelp>
+ <valueHelp>
+ <format>notfound</format>
+ <description>Match notfound entries</description>
+ </valueHelp>
+ <valueHelp>
+ <format>valid</format>
+ <description>Match valid entries</description>
+ </valueHelp>
+ <constraint>
+ <regex>(invalid|notfound|valid)</regex>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="source-vrf">
<properties>
<help>Source vrf</help>