summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bgp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-14 17:25:06 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-14 17:25:06 +0100
commit580baddebb933ef388c7adabf4f4971c03decf5f (patch)
tree93c1e6d32da56b5567bfeb5315c7658f2f02153f /interface-definitions/protocols-bgp.xml.in
parentb01c23d48a3ff3b95175568198fb307ffbc04b86 (diff)
downloadvyos-1x-580baddebb933ef388c7adabf4f4971c03decf5f.tar.gz
vyos-1x-580baddebb933ef388c7adabf4f4971c03decf5f.zip
bgp: T1513: add per VNI advertise-default-gw, advertise-svi-ip options
Diffstat (limited to 'interface-definitions/protocols-bgp.xml.in')
-rw-r--r--interface-definitions/protocols-bgp.xml.in21
1 files changed, 6 insertions, 15 deletions
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index 01463ed57..4af53acdc 100644
--- a/interface-definitions/protocols-bgp.xml.in
+++ b/interface-definitions/protocols-bgp.xml.in
@@ -228,12 +228,7 @@
<valueless/>
</properties>
</leafNode>
- <leafNode name="advertise-default-gw">
- <properties>
- <help>Advertise All default g/w mac-ip routes in EVPN</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/bgp-afi-l2vpn-common.xml.i>
<leafNode name="advertise-pip">
<properties>
<help>EVPN system primary IP</help>
@@ -246,12 +241,6 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="advertise-svi-ip">
- <properties>
- <help>Advertise svi mac-ip routes in EVPN</help>
- <valueless/>
- </properties>
- </leafNode>
<leafNode name="rt-auto-derive">
<properties>
<help>Auto derivation of Route Target (RFC8365)</help>
@@ -332,7 +321,7 @@
</leafNode>
</children>
</node>
- <leafNode name="vni">
+ <tagNode name="vni">
<properties>
<help>VXLAN Network Identifier</help>
<valueHelp>
@@ -342,9 +331,11 @@
<constraint>
<validator name="numeric" argument="--range 1-16777215"/>
</constraint>
- <multi/>
</properties>
- </leafNode>
+ <children>
+ #include <include/bgp-afi-l2vpn-common.xml.i>
+ </children>
+ </tagNode>
</children>
</node>
</children>