summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bgp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-09 23:34:11 +0100
committerGitHub <noreply@github.com>2021-02-09 23:34:11 +0100
commitee8f20596ba1b0482b5e9ccc7826baae294dbde5 (patch)
treef84b90df6fceddc717bbf646e4aae027bf15277f /interface-definitions/protocols-bgp.xml.in
parentf89969c1729a94901a817bd97da6f5b2a3712af0 (diff)
parent30af74a8f51f22802db8e393ac86293a54ebcd9d (diff)
downloadvyos-1x-ee8f20596ba1b0482b5e9ccc7826baae294dbde5.tar.gz
vyos-1x-ee8f20596ba1b0482b5e9ccc7826baae294dbde5.zip
Merge pull request #724 from c-po/t1315-bgp-evpn
bgp: T1315: initial implementation of L2VPN EVPN support
Diffstat (limited to 'interface-definitions/protocols-bgp.xml.in')
-rw-r--r--interface-definitions/protocols-bgp.xml.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index e5122fe8d..3b7910766 100644
--- a/interface-definitions/protocols-bgp.xml.in
+++ b/interface-definitions/protocols-bgp.xml.in
@@ -217,6 +217,43 @@
</node>
</children>
</node>
+ <node name="l2vpn-evpn">
+ <properties>
+ <help>L2VPN EVPN BGP settings</help>
+ </properties>
+ <children>
+ <leafNode name="advertise-all-vni">
+ <properties>
+ <help>Advertise All local VNIs</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <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="vni">
+ <properties>
+ <help>VXLAN Network Identifier</help>
+ <valueHelp>
+ <format>u32:1-16777215</format>
+ <description>VNI number</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-16777215"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
<node name="maximum-paths">
@@ -318,6 +355,7 @@
<children>
#include <include/bgp-neighbor-afi-ipv4-unicast.xml.i>
#include <include/bgp-neighbor-afi-ipv6-unicast.xml.i>
+ #include <include/bgp-neighbor-afi-l2vpn-evpn.xml.i>
</children>
</node>
<leafNode name="advertisement-interval">
@@ -771,6 +809,7 @@
<children>
#include <include/bgp-neighbor-afi-ipv4-unicast.xml.i>
#include <include/bgp-neighbor-afi-ipv6-unicast.xml.i>
+ #include <include/bgp-neighbor-afi-l2vpn-evpn.xml.i>
</children>
</node>
#include <include/bgp-bfd.xml.i>