summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-bgp.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-17 22:36:04 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-17 22:45:26 +0200
commita6499ea9d95d2b66d7977cea1d43f96d0116d4c3 (patch)
tree2eda11da15c7a7cff4e15989e6fe629f6d458e3d /op-mode-definitions/show-bgp.xml.in
parentbfe57cf80f4c71236f0885408d704a69575f0b30 (diff)
downloadvyos-1x-a6499ea9d95d2b66d7977cea1d43f96d0116d4c3.tar.gz
vyos-1x-a6499ea9d95d2b66d7977cea1d43f96d0116d4c3.zip
op-mode: bgp: T1315: add VNI related commands
This extends commit 3fa1092930c (op-mode: bgp: support VRF related "show bgp vrf" commands). vyos@vyos:~$ show bgp vni Possible completions: 1-16777215 VXLAN network identifier (VNI) number all vyos@vyos:~$ show bgp vni 1 type Possible completions: 1 EAD (Type-1) route 2 MAC-IP (Type-2) route 3 Multicast (Type-3) route ead EAD (Type-1) route macip MAC-IP (Type-2) route multicast Multicast (Type-3) route vyos@vyos:~$ show bgp vni 1 vtep Possible completions: <x.x.x.x> Remote VTEP IP address
Diffstat (limited to 'op-mode-definitions/show-bgp.xml.in')
-rw-r--r--op-mode-definitions/show-bgp.xml.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/op-mode-definitions/show-bgp.xml.in b/op-mode-definitions/show-bgp.xml.in
index 974147621..3c212614c 100644
--- a/op-mode-definitions/show-bgp.xml.in
+++ b/op-mode-definitions/show-bgp.xml.in
@@ -51,6 +51,33 @@
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</leafNode>
+ #include <include/vni-tagnode-all.xml.i>
+ <tagNode name="vni">
+ <children>
+ <tagNode name="vtep">
+ <properties>
+ <help>Remote VTEP IP address</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </tagNode>
+ <node name="type">
+ <properties>
+ <help>Display number of prefixes for all afi/safi</help>
+ </properties>
+ <children>
+ #include <include/bgp/evpn-type-1.xml.i>
+ #include <include/bgp/evpn-type-2.xml.i>
+ #include <include/bgp/evpn-type-3.xml.i>
+ #include <include/bgp/evpn-type-ead.xml.i>
+ #include <include/bgp/evpn-type-macip.xml.i>
+ #include <include/bgp/evpn-type-multicast.xml.i>
+ </children>
+ </node>
+ </children>
+ </tagNode>
<leafNode name="vrf">
<properties>
<help>Show BGP VRF information</help>