summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-18 12:54:26 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-18 12:59:14 +0200
commitcbf1998ae9529be43c2605a5b771363aa496ff40 (patch)
tree50ab3123cf0a218d5d0398557d86066d9334e51c /interface-definitions/include
parent8ce0cd9f09940f8c365ea1cc76b1b14197fdfd2a (diff)
downloadvyos-1x-cbf1998ae9529be43c2605a5b771363aa496ff40.tar.gz
vyos-1x-cbf1998ae9529be43c2605a5b771363aa496ff40.zip
bgp: T3759: add l3vpn "route-target vpn" commands
Add the following new commands: * set protocols bgp address-family ipv4-unicast route-target vpn both 1.1.1.1:100 * set protocols bgp address-family ipv4-unicast route-target vpn export 1.1.1.1:100 * set protocols bgp address-family ipv4-unicast route-target vpn import 1.1.1.1:100
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/bgp/protocol-common-config.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i
index 53be8b553..6fb9adf93 100644
--- a/interface-definitions/include/bgp/protocol-common-config.xml.i
+++ b/interface-definitions/include/bgp/protocol-common-config.xml.i
@@ -118,6 +118,23 @@
</children>
</tagNode>
#include <include/bgp/afi-rd.xml.i>
+ <node name="route-target">
+ <properties>
+ <help>Specify route distinguisher</help>
+ </properties>
+ <children>
+ <node name="vpn">
+ <properties>
+ <help>Between current address-family and VPN</help>
+ </properties>
+ <children>
+ #include <include/bgp/route-target-both.xml.i>
+ #include <include/bgp/route-target-export.xml.i>
+ #include <include/bgp/route-target-import.xml.i>
+ </children>
+ </node>
+ </children>
+ </node>
<node name="redistribute">
<properties>
<help>Redistribute routes from other protocols into BGP</help>