summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-nexthop-vpn-export.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-14 11:36:31 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-14 11:34:24 +0000
commit42d6a8cd500b2a92e9dbe0e868b84f4b55b1e02b (patch)
tree74627b0ca159e8158af161d0ae30c57a5fe480f7 /interface-definitions/include/bgp/afi-nexthop-vpn-export.xml.i
parentb55571138d2b08dd4fda6d8b34a70f9a84a1c721 (diff)
downloadvyos-1x-42d6a8cd500b2a92e9dbe0e868b84f4b55b1e02b.tar.gz
vyos-1x-42d6a8cd500b2a92e9dbe0e868b84f4b55b1e02b.zip
bgp: T591: add VPN nexthop support per address-family
set protocols bgp address-family ipv4-unicast nexthop vpn export <ipv4-address|ipv6-address> set protocols bgp address-family ipv6-unicast nexthop vpn export <ipv4-address|ipv6-address> (cherry picked from commit 7349927908206fa83a7295d643f56950309efb4f)
Diffstat (limited to 'interface-definitions/include/bgp/afi-nexthop-vpn-export.xml.i')
-rw-r--r--interface-definitions/include/bgp/afi-nexthop-vpn-export.xml.i32
1 files changed, 32 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/afi-nexthop-vpn-export.xml.i b/interface-definitions/include/bgp/afi-nexthop-vpn-export.xml.i
new file mode 100644
index 000000000..d90597f37
--- /dev/null
+++ b/interface-definitions/include/bgp/afi-nexthop-vpn-export.xml.i
@@ -0,0 +1,32 @@
+<!-- include start from bgp/afi-nexthop-vpn-export.xml.i -->
+<node name="nexthop">
+ <properties>
+ <help>Specify next hop to use for VRF advertised prefixes</help>
+ </properties>
+ <children>
+ <node name="vpn">
+ <properties>
+ <help>Between current address-family and vpn</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>For routes leaked from current address-family to vpn</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>BGP neighbor IP address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>BGP neighbor IPv6 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ip-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+</node>
+ <!-- include end -->