summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/bgp-afi-l2vpn-common.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-12 18:59:57 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 11:09:57 +0100
commit576f1cb41c4d531bd16628e9b772f5ff766e3fad (patch)
tree977badef737cbe06375c2fce29774bca861b7201 /interface-definitions/include/bgp/bgp-afi-l2vpn-common.xml.i
parent0d9658f3dcaf1a9f376a6768c54a0ceb80ece7d0 (diff)
downloadvyos-1x-576f1cb41c4d531bd16628e9b772f5ff766e3fad.tar.gz
vyos-1x-576f1cb41c4d531bd16628e9b772f5ff766e3fad.zip
vrf: bgp: T2271: re-arrange xml include building blocks
As the amount of include files now has reached a certain amount, this also introduces "per topic" subdirectories on the filesystem to keep a clean structure. This commit is related to the change in the OSPF structure done in 952c52ef01 ("vrf: ospf: T2271: re-arrange xml include building blocks").
Diffstat (limited to 'interface-definitions/include/bgp/bgp-afi-l2vpn-common.xml.i')
-rw-r--r--interface-definitions/include/bgp/bgp-afi-l2vpn-common.xml.i27
1 files changed, 27 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/bgp-afi-l2vpn-common.xml.i b/interface-definitions/include/bgp/bgp-afi-l2vpn-common.xml.i
new file mode 100644
index 000000000..0b804f9cd
--- /dev/null
+++ b/interface-definitions/include/bgp/bgp-afi-l2vpn-common.xml.i
@@ -0,0 +1,27 @@
+<!-- included start from bgp-afi-l2vpn-common.xml.i -->
+<leafNode name="advertise-default-gw">
+ <properties>
+ <help>Advertise All default g/w mac-ip routes in EVPN</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<leafNode name="advertise-svi-ip">
+ <properties>
+ <help>Advertise svi mac-ip routes in EVPN</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<leafNode name="rd">
+ <properties>
+ <help>Route Distinguisher</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Route Distinguisher, (x.x.x.x:yyy|xxxx:yyyy)</description>
+ </valueHelp>
+ <constraint>
+ <regex>^((25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)(\.(25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)){3}|[0-9]{1,10}):[0-9]{1,5}$</regex>
+ </constraint>
+ </properties>
+</leafNode>
+#include <include/bgp/bgp-route-target.xml.i>
+<!-- included end -->