diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2008-02-20 11:45:49 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2008-02-20 11:45:49 -0800 |
commit | 5f3babf46268d38a9c21a7de2240d8ef3e97aa7c (patch) | |
tree | ee12cb5e807a5be563706cd388bd45faa6597070 /templates | |
parent | ced691965567c8e995f92bd15d4ca0bb26fdcbd5 (diff) | |
download | vyatta-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')
-rw-r--r-- | templates/ping/node.def | 4 | ||||
-rw-r--r-- | templates/ping/node.tag/node.def | 8 | ||||
-rw-r--r-- | templates/traceroute/node.def | 4 | ||||
-rw-r--r-- | templates/traceroute/node.tag/node.def | 8 |
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 |