summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-02-20 11:55:08 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-02-20 11:55:08 -0800
commit11ba5f2a4917b47bc0f987ec76e979e57338539e (patch)
tree59492a6ca83ab6ee17cd321fcc7bcdfc80b02259
parentcf89dba5013c3512e77d49e98f13d7ca5a8a9dcb (diff)
parent5f3babf46268d38a9c21a7de2240d8ef3e97aa7c (diff)
downloadvyatta-op-11ba5f2a4917b47bc0f987ec76e979e57338539e.tar.gz
vyatta-op-11ba5f2a4917b47bc0f987ec76e979e57338539e.zip
Merge branch 'glendale' of http://git.vyatta.com/vyatta-op into glendale
-rw-r--r--templates/ping/node.def4
-rw-r--r--templates/ping/node.tag/node.def8
-rw-r--r--templates/traceroute/node.def4
-rw-r--r--templates/traceroute/node.tag/node.def8
4 files changed, 24 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
diff --git a/templates/traceroute/node.def b/templates/traceroute/node.def
new file mode 100644
index 0000000..68ebbdc
--- /dev/null
+++ b/templates/traceroute/node.def
@@ -0,0 +1,4 @@
+#
+# Operational mode template for the "traceroute" command
+#
+help: Track network path to remote node
diff --git a/templates/traceroute/node.tag/node.def b/templates/traceroute/node.tag/node.def
new file mode 100644
index 0000000..87d9c32
--- /dev/null
+++ b/templates/traceroute/node.tag/node.def
@@ -0,0 +1,8 @@
+#
+# Operational mode template for the "traceroute" command
+#
+
+allowed:
+ vyatta-allowed-hosts
+
+run: /usr/sbin/traceroute $2