summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-l2vpn-common.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-18 12:53:16 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-18 12:59:14 +0200
commit8ce0cd9f09940f8c365ea1cc76b1b14197fdfd2a (patch)
tree4d959e1362add4178c7e29ba60bfdd1f4de7994e /interface-definitions/include/bgp/afi-l2vpn-common.xml.i
parent0df3e23d57192a1e1e9d12c00e3ca532138eed87 (diff)
downloadvyos-1x-8ce0cd9f09940f8c365ea1cc76b1b14197fdfd2a.tar.gz
vyos-1x-8ce0cd9f09940f8c365ea1cc76b1b14197fdfd2a.zip
bgp: evpn: T1513: re-structure route-target XML blocks
Make the both, export and import XML block re-usable by the IPv4 AFI.
Diffstat (limited to 'interface-definitions/include/bgp/afi-l2vpn-common.xml.i')
-rw-r--r--interface-definitions/include/bgp/afi-l2vpn-common.xml.i11
1 files changed, 10 insertions, 1 deletions
diff --git a/interface-definitions/include/bgp/afi-l2vpn-common.xml.i b/interface-definitions/include/bgp/afi-l2vpn-common.xml.i
index aaa69e6c8..a9a833851 100644
--- a/interface-definitions/include/bgp/afi-l2vpn-common.xml.i
+++ b/interface-definitions/include/bgp/afi-l2vpn-common.xml.i
@@ -12,5 +12,14 @@
</properties>
</leafNode>
#include <include/bgp/route-distinguisher.xml.i>
-#include <include/bgp/route-target.xml.i>
+<node name="route-target">
+ <properties>
+ <help>Route Target</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>
<!-- include end -->