summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/show-route-isis.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-13 21:06:47 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-13 21:08:15 +0100
commit3f2173873e0519ea253759e7e119b2bcaea596bb (patch)
treeeed586a3e466f5c32563c58630e62f0b9ef3df80 /op-mode-definitions/include/show-route-isis.xml.i
parent88c38dda4b872d2108156b56538302f4c5058a7e (diff)
downloadvyos-1x-3f2173873e0519ea253759e7e119b2bcaea596bb.tar.gz
vyos-1x-3f2173873e0519ea253759e7e119b2bcaea596bb.zip
op-mode: xml: refactor "show ip(v6) route" to use #include building blocks
This change then adds supper to filter for given route types under a VRF instance. You will have "show ip route bgp" in the global VRF and "show ip route vrf red bgp" in the red VRF. Same commands apply to IPv6 routes.
Diffstat (limited to 'op-mode-definitions/include/show-route-isis.xml.i')
-rw-r--r--op-mode-definitions/include/show-route-isis.xml.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/op-mode-definitions/include/show-route-isis.xml.i b/op-mode-definitions/include/show-route-isis.xml.i
new file mode 100644
index 000000000..9ff2ccdc5
--- /dev/null
+++ b/op-mode-definitions/include/show-route-isis.xml.i
@@ -0,0 +1,8 @@
+<!-- included start from show-route-isis.xml.i -->
+<leafNode name="isis">
+ <properties>
+ <help>Intermediate System to Intermediate System (IS-IS)</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+</leafNode>
+<!-- included end -->