diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-14 11:36:31 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-01-14 11:36:31 +0100 |
commit | 7349927908206fa83a7295d643f56950309efb4f (patch) | |
tree | e5ccd4336c67d9a37c599785d71bc72e705a14bd /interface-definitions/include/bgp/afi-nexthop-vpn-export.xml.i | |
parent | d7e248ba514108461ca9d5875c0be077c80ceca7 (diff) | |
download | vyos-1x-7349927908206fa83a7295d643f56950309efb4f.tar.gz vyos-1x-7349927908206fa83a7295d643f56950309efb4f.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>
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.i | 32 |
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 --> |