diff options
author | sever-sever <v.gletenko@vyos.io> | 2020-07-27 13:38:26 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2020-07-27 13:38:26 +0000 |
commit | ed11b28b2f3e20a07cdfed869fcb2d1992c5f7f6 (patch) | |
tree | 1be8d2544a5db7a6b356e2ec715e9c8cd50e8dd7 | |
parent | 789775af9f5e3f9239ef4583eb4ef7538e40b37c (diff) | |
download | vyos-1x-ed11b28b2f3e20a07cdfed869fcb2d1992c5f7f6.tar.gz vyos-1x-ed11b28b2f3e20a07cdfed869fcb2d1992c5f7f6.zip |
op-mode: T1117: Add show ipv6 bgp route-map
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | op-mode-definitions/show-ipv6-bgp.xml | 24 |
2 files changed, 25 insertions, 0 deletions
@@ -94,6 +94,7 @@ op_mode_definitions: rm -f $(OP_TMPL_DIR)/show/node.def rm -f $(OP_TMPL_DIR)/show/interfaces/node.def rm -f $(OP_TMPL_DIR)/show/ipv6/node.def + rm -f $(OP_TMPL_DIR)/show/ipv6/bgp/node.def rm -f $(OP_TMPL_DIR)/show/ipv6/route/node.def rm -f $(OP_TMPL_DIR)/restart/node.def rm -f $(OP_TMPL_DIR)/monitor/node.def diff --git a/op-mode-definitions/show-ipv6-bgp.xml b/op-mode-definitions/show-ipv6-bgp.xml new file mode 100644 index 000000000..67a8c8658 --- /dev/null +++ b/op-mode-definitions/show-ipv6-bgp.xml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="ipv6"> + <children> + <node name="bgp"> + <children> + <tagNode name="route-map"> + <properties> + <help>Show BGP routes matching the specified route map</help> + <completionHelp> + <path>policy route-map</path> + </completionHelp> + </properties> + <command>/usr/bin/vtysh -c "show bgp ipv6 route-map $5"</command> + </tagNode> + </children> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition> |