From 5f3babf46268d38a9c21a7de2240d8ef3e97aa7c Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Wed, 20 Feb 2008 11:45:49 -0800 Subject: Bugfix: 2712 Introduce new top-level commands "ping" and "traceroute" for network troubleshooting. --- templates/ping/node.def | 4 ++++ templates/ping/node.tag/node.def | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 templates/ping/node.def create mode 100644 templates/ping/node.tag/node.def (limited to 'templates/ping') 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 -- cgit v1.2.3