summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-06 20:59:10 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-06 21:03:12 +0100
commit2fc97aea3814265c4b7653dee945eacb1ee8cf49 (patch)
tree583a84395893d2dde917ed36b9ae04439b75b239
parentf1b577eb4c41cd0b7617e6f5e5048b0744b2b134 (diff)
downloadvyos-1x-2fc97aea3814265c4b7653dee945eacb1ee8cf49.tar.gz
vyos-1x-2fc97aea3814265c4b7653dee945eacb1ee8cf49.zip
op-mode: bgp: T5698: add "es-vrf" and "next-hops" CLI commands
show bgp l2vpn evpn es-vrf show bgp l2vpn evpn next-hops (cherry picked from commit f4b1df3c84072624060e13a6099d2032e0a4ee47)
-rw-r--r--op-mode-definitions/include/bgp/show-bgp-common.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/show-bgp-common.xml.i b/op-mode-definitions/include/bgp/show-bgp-common.xml.i
index 6b1e0a262..d888bc3b0 100644
--- a/op-mode-definitions/include/bgp/show-bgp-common.xml.i
+++ b/op-mode-definitions/include/bgp/show-bgp-common.xml.i
@@ -107,6 +107,12 @@
#include <include/vni-tagnode.xml.i>
</children>
</node>
+ <leafNode name="es-vrf">
+ <properties>
+ <help>Ethernet Segment per VRF</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
<leafNode name="import-rt">
<properties>
<help>Show import route target</help>
@@ -136,6 +142,12 @@
</leafNode>
</children>
</tagNode>
+ <leafNode name="next-hops">
+ <properties>
+ <help>EVPN Nexthops</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
<tagNode name="rd">
<properties>
<help>Display information for a route distinguisher</help>