summaryrefslogtreecommitdiff
path: root/op-mode-definitions
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 20:59:13 +0100
commitf4b1df3c84072624060e13a6099d2032e0a4ee47 (patch)
tree2437a6089e039a048e4403428d34196b12fb5676 /op-mode-definitions
parent43288b57d8dc79a12a9bedd6386d81c85bd00149 (diff)
downloadvyos-1x-f4b1df3c84072624060e13a6099d2032e0a4ee47.tar.gz
vyos-1x-f4b1df3c84072624060e13a6099d2032e0a4ee47.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
Diffstat (limited to 'op-mode-definitions')
-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>