diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-08-16 18:26:24 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-27 17:11:27 -0500 |
commit | b1c37ed9fe0e2cfac2ac46d757c6037c1c5436c2 (patch) | |
tree | 7b9b6d104a9f1feeceee34b6f05162cbc488a77e /templates/ping6 | |
parent | 489df817f907a5dab7e177412fee7da8a970a309 (diff) | |
download | vyatta-op-b1c37ed9fe0e2cfac2ac46d757c6037c1c5436c2.tar.gz vyatta-op-b1c37ed9fe0e2cfac2ac46d757c6037c1c5436c2.zip |
Create new ping command with the following semantics
1. ping <ipv4|ipv6|hostname> will use
* ping for a v4 address
* ping6 for a v6 address
* ping or ping6 for a hostname which ever resolves prefering ipv4
2. ping ipv4 <ipv4|hostname> will ping
3. ping ipv6 <ipv6|hostname> will ping6
4. ping <node> option <advanced ping options>
* allows for options to pass down to ping
* this is a stop gap while we add the most common options
* to the CLI
(cherry picked from commit 5145fd68da8f1c7f8289b99f58cb6eb96389fcef)
Diffstat (limited to 'templates/ping6')
-rw-r--r-- | templates/ping6/node.def | 4 | ||||
-rw-r--r-- | templates/ping6/node.tag/node.def | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/templates/ping6/node.def b/templates/ping6/node.def deleted file mode 100644 index 20cc018..0000000 --- a/templates/ping6/node.def +++ /dev/null @@ -1,4 +0,0 @@ -# -# Operational mode template for the "ping" command -# -help: Send IPv6 Internet Control Message Protocol (ICMP) echo request diff --git a/templates/ping6/node.tag/node.def b/templates/ping6/node.tag/node.def deleted file mode 100644 index 9241a00..0000000 --- a/templates/ping6/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -# -# Operational mode front-end for "ping" command -# - -help: Send IPv6 ICMP echo request to specified <hostname|IPv6 address> -allowed: echo -n '<hostname> <x:x:x:x:x>' - -run: /bin/ping6 $2 |