summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-bgp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-03 19:34:35 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-03 19:34:35 +0100
commitc5d682a5e08a88fa0b162214671d4301d65f24a2 (patch)
tree781ccd9b9cae01f8921605692f53b43919c9b38a /op-mode-definitions/show-bgp.xml.in
parent5510e1ddf913c216cba573e1c8202f8b8abcf2e1 (diff)
downloadvyos-1x-c5d682a5e08a88fa0b162214671d4301d65f24a2.tar.gz
vyos-1x-c5d682a5e08a88fa0b162214671d4301d65f24a2.zip
op-mode: bgp: T1513: extend evpn show commands
Diffstat (limited to 'op-mode-definitions/show-bgp.xml.in')
-rw-r--r--op-mode-definitions/show-bgp.xml.in25
1 files changed, 10 insertions, 15 deletions
diff --git a/op-mode-definitions/show-bgp.xml.in b/op-mode-definitions/show-bgp.xml.in
index cd0c5a9e5..0d0a88dfb 100644
--- a/op-mode-definitions/show-bgp.xml.in
+++ b/op-mode-definitions/show-bgp.xml.in
@@ -69,6 +69,7 @@
<properties>
<help>Ethernet Virtual Private Network</help>
</properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
#include <include/bgp-afi-common.xml.i>
<node name="all">
@@ -106,12 +107,7 @@
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
#include <include/vtysh-generic-detail.xml.i>
- <tagNode name="vni">
- <properties>
- <help>VxLAN Network Identifier</help>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- </tagNode>
+ #include <include/vni-tagnode.xml.i>
</children>
</node>
<leafNode name="import-rt">
@@ -240,17 +236,16 @@
</leafNode>
</children>
</node>
- <tagNode name="vni">
- <properties>
- <help>VXLAN Network Identifier</help>
- <completionHelp>
- <list>1-16777215 all</list>
- </completionHelp>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- </tagNode>
+ #include <include/vni-tagnode-all.xml.i>
</children>
</node>
+ #include <include/vni-tagnode.xml.i>
+ <leafNode name="vni">
+ <properties>
+ <help>VXLAN network identifier (VNI)</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
</children>
</node>
</children>