summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-bgp.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-ip-bgp.xml.in')
-rw-r--r--op-mode-definitions/show-ip-bgp.xml.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/op-mode-definitions/show-ip-bgp.xml.in b/op-mode-definitions/show-ip-bgp.xml.in
index 9a271b4a5..ecef320bf 100644
--- a/op-mode-definitions/show-ip-bgp.xml.in
+++ b/op-mode-definitions/show-ip-bgp.xml.in
@@ -10,17 +10,24 @@
</properties>
<command>vtysh -c "show ip bgp"</command>
<children>
- #include <include/bgp-common.xml.i>
+ #include <include/bgp/show-ip-bgp-common.xml.i>
+ <leafNode name="vrf">
+ <properties>
+ <help>Show BGP VRF information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
<tagNode name="vrf">
<properties>
- <help>Show bgp routing protocol for given VRF</help>
+ <help>Show BGP VRF related information</help>
<completionHelp>
<path>vrf name</path>
<list>all</list>
</completionHelp>
</properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
- #include <include/bgp-common.xml.i>
+ #include <include/bgp/show-ip-bgp-common.xml.i>
</children>
</tagNode>
</children>