diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-16 21:16:18 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-03-16 21:16:50 +0100 |
commit | 689d6f077708bb011f00c703dbed75e5d0893418 (patch) | |
tree | 764dee567d0921b049471c2888f97a5f596276bf | |
parent | fa174bf8e42bda194b7886470eceeca0683782cd (diff) | |
download | vyos-1x-689d6f077708bb011f00c703dbed75e5d0893418.tar.gz vyos-1x-689d6f077708bb011f00c703dbed75e5d0893418.zip |
opmode: T4837: support ip route display for specific prefixes inside VRF
-rw-r--r-- | op-mode-definitions/show-ip-route.xml.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ip-route.xml.in b/op-mode-definitions/show-ip-route.xml.in index 681aa089f..c878bf712 100644 --- a/op-mode-definitions/show-ip-route.xml.in +++ b/op-mode-definitions/show-ip-route.xml.in @@ -92,6 +92,23 @@ #include <include/show-route-static.xml.i> #include <include/show-route-supernets-only.xml.i> #include <include/show-route-tag.xml.i> + <node name="node.tag"> + <properties> + <help>Show IP routes of specified IP address or prefix</help> + <completionHelp> + <list><x.x.x.x> <x.x.x.x/x></list> + </completionHelp> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + <children> + <leafNode name="longer-prefixes"> + <properties> + <help>Show longer prefixes of routes for specified prefix</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </leafNode> + </children> + </node> </children> </tagNode> </children> |