diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-07 07:12:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 07:12:10 +0100 |
commit | 31d824d9b6bce13ea8fa2a838d47cdf24b345fb1 (patch) | |
tree | 1c6537caa67e5083dd565ea0e0e4f5aef540291f /op-mode-definitions | |
parent | 9b7a96d27653be4a407a63ed42a3fd44b374d81e (diff) | |
parent | 119d94bdb05d0c88bfc452d903e64000b278c43e (diff) | |
download | vyos-1x-31d824d9b6bce13ea8fa2a838d47cdf24b345fb1.tar.gz vyos-1x-31d824d9b6bce13ea8fa2a838d47cdf24b345fb1.zip |
Merge pull request #2765 from c-po/op-mode-ipv6-vrf
op-mode: T5904: add "show ipv6 route vrf <name> <prefix>" command
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-ipv6-route.xml.in | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/op-mode-definitions/show-ipv6-route.xml.in b/op-mode-definitions/show-ipv6-route.xml.in index 7df1a873a..d73fb46b4 100644 --- a/op-mode-definitions/show-ipv6-route.xml.in +++ b/op-mode-definitions/show-ipv6-route.xml.in @@ -82,6 +82,23 @@ </properties> <command>${vyos_op_scripts_dir}/route.py show_summary --family inet6 --vrf $5</command> </node> + <node name="node.tag"> + <properties> + <help>Show IPv6 routes of given address or prefix</help> + <completionHelp> + <list><h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x></list> + </completionHelp> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + <children> + <node name="longer-prefixes"> + <properties> + <help>Show longer prefixes of routes for given prefix</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </node> + </children> + </node> #include <include/show-route-bgp.xml.i> #include <include/show-route-connected.xml.i> #include <include/show-route-isis.xml.i> @@ -103,6 +120,7 @@ <list><h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x></list> </completionHelp> </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> <children> <node name="longer-prefixes"> <properties> @@ -111,7 +129,6 @@ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> </node> </children> - <command>vtysh -c "show ipv6 route $4"</command> </tagNode> </children> </node> |