summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorRobin Christ <robinchrist@users.noreply.github.com>2026-05-13 17:03:50 +0200
committerGitHub <noreply@github.com>2026-05-13 18:03:50 +0300
commit69b6be91d0eacfd23feb13f96325923f6e26ed25 (patch)
tree17e6d2a5dd5022272abdfa096662a5abc0682c88 /interface-definitions
parentdb23d7201c9df78c91aeeeade6963f2cc12b50b1 (diff)
downloadvyos-1x-69b6be91d0eacfd23feb13f96325923f6e26ed25.tar.gz
vyos-1x-69b6be91d0eacfd23feb13f96325923f6e26ed25.zip
bgp: T8588: Add match source-peer to policy route-map (#5149)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/policy.xml.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index 3811585b6..53dcfd8ee 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -1038,6 +1038,30 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="source-peer">
+ <properties>
+ <help>Source peer to match (BGP)</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Peer IPv4 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>Peer IPv6 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Interface name of peer</description>
+ </valueHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>BGP peer-group name</description>
+ </valueHelp>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_bgp_neighbors.sh --ipv4 --ipv6 --interfaces --peer-groups --all-vrfs</script>
+ </completionHelp>
+ </properties>
+ </leafNode>
<leafNode name="protocol">
<properties>
<help>Match protocol via which the route was learnt</help>