summaryrefslogtreecommitdiff
path: root/templates/ping
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2008-02-20 11:45:49 -0800
committerBob Gilligan <gilligan@vyatta.com>2008-02-20 11:45:49 -0800
commit5f3babf46268d38a9c21a7de2240d8ef3e97aa7c (patch)
treeee12cb5e807a5be563706cd388bd45faa6597070 /templates/ping
parentced691965567c8e995f92bd15d4ca0bb26fdcbd5 (diff)
downloadvyatta-op-5f3babf46268d38a9c21a7de2240d8ef3e97aa7c.tar.gz
vyatta-op-5f3babf46268d38a9c21a7de2240d8ef3e97aa7c.zip
Bugfix: 2712
Introduce new top-level commands "ping" and "traceroute" for network troubleshooting.
Diffstat (limited to 'templates/ping')
-rw-r--r--templates/ping/node.def4
-rw-r--r--templates/ping/node.tag/node.def8
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/ping/node.def b/templates/ping/node.def
new file mode 100644
index 0000000..71361ca
--- /dev/null
+++ b/templates/ping/node.def
@@ -0,0 +1,4 @@
+#
+# Operational mode template for the "ping" command
+#
+help: Send ICMP echo request
diff --git a/templates/ping/node.tag/node.def b/templates/ping/node.tag/node.def
new file mode 100644
index 0000000..5f6550e
--- /dev/null
+++ b/templates/ping/node.tag/node.def
@@ -0,0 +1,8 @@
+#
+# Operational mode front-end for "ping" command
+#
+
+allowed:
+ vyatta-allowed-hosts
+
+run: /bin/ping $2