summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-27 22:01:34 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-27 22:01:34 +0200
commit20eee1c4e17b9c5f20d51bd6eaad2615b729923f (patch)
tree7ae9f33ad0fc33cb787393dbc69eefbac8835c1f
parentc2e8bbc64a5ca8431da499ea2ea71f62cfb55a88 (diff)
downloadvyos-1x-20eee1c4e17b9c5f20d51bd6eaad2615b729923f.tar.gz
vyos-1x-20eee1c4e17b9c5f20d51bd6eaad2615b729923f.zip
Revert "bgp: T3734: only support "l2vpn-evpn advertise-all-vni" in default VRF"
This reverts commit bfe57cf80f4c71236f0885408d704a69575f0b30.
-rw-r--r--interface-definitions/include/bgp/protocol-common-config.xml.i6
-rw-r--r--interface-definitions/protocols-bgp.xml.in14
2 files changed, 6 insertions, 14 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i
index bcc131f83..527eaf991 100644
--- a/interface-definitions/include/bgp/protocol-common-config.xml.i
+++ b/interface-definitions/include/bgp/protocol-common-config.xml.i
@@ -810,6 +810,12 @@
</node>
</children>
</node>
+ <leafNode name="advertise-all-vni">
+ <properties>
+ <help>Advertise All local VNIs</help>
+ <valueless/>
+ </properties>
+ </leafNode>
#include <include/bgp/afi-l2vpn-common.xml.i>
<leafNode name="advertise-pip">
<properties>
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index 78b461f9d..e1a822999 100644
--- a/interface-definitions/protocols-bgp.xml.in
+++ b/interface-definitions/protocols-bgp.xml.in
@@ -9,20 +9,6 @@
</properties>
<children>
#include <include/bgp/protocol-common-config.xml.i>
- <node name="address-family">
- <children>
- <node name="l2vpn-evpn">
- <children>
- <leafNode name="advertise-all-vni">
- <properties>
- <help>Advertise all local VNIs</help>
- <valueless/>
- </properties>
- </leafNode>
- </children>
- </node>
- </children>
- </node>
</children>
</node>
</children>