summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-17 21:40:58 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-02-17 20:46:36 +0000
commit9f2408d9d37620d921a09c9e899046e4c9c3e599 (patch)
tree5204884c01323b9068d40343af6711ff427a3eff /op-mode-definitions/include
parentaf2b0f7504f25f9ac3cbefe5e9b5e25de48dd10d (diff)
downloadvyos-1x-9f2408d9d37620d921a09c9e899046e4c9c3e599.tar.gz
vyos-1x-9f2408d9d37620d921a09c9e899046e4c9c3e599.zip
op-mode: T5581: add "show ipv6 nht" command
This improves the implementation to support both IPv4 and IPv6 (cherry picked from commit e144e55d6360a92279167198928cbe24efd97f08)
Diffstat (limited to 'op-mode-definitions/include')
-rw-r--r--op-mode-definitions/include/show-nht.xml.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/include/show-nht.xml.i b/op-mode-definitions/include/show-nht.xml.i
new file mode 100644
index 000000000..55dacf3a4
--- /dev/null
+++ b/op-mode-definitions/include/show-nht.xml.i
@@ -0,0 +1,20 @@
+<!-- included start from show-nht.xml.i -->
+<node name="nht">
+ <properties>
+ <help>Show Nexthop tracking table</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ <tagNode name="vrf">
+ <properties>
+ <help>Specify the VRF</help>
+ <completionHelp>
+ <path>vrf name</path>
+ <list>all default</list>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </tagNode>
+ </children>
+</node>
+<!-- included end -->