summaryrefslogtreecommitdiff
path: root/templates/clear
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2008-11-05 12:27:15 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2008-11-05 12:27:15 -0800
commit6eab2bc4ed73907bfe82b16d176b98ada99d5293 (patch)
tree34052176ea8c32f5617b3ba4f32df0f5c11ed0c2 /templates/clear
parent47a84e37613d6441c3460fd4919b59b420d4f1ec (diff)
downloadvyatta-op-6eab2bc4ed73907bfe82b16d176b98ada99d5293.tar.gz
vyatta-op-6eab2bc4ed73907bfe82b16d176b98ada99d5293.zip
Rename "show arp6" to "show ipv6 neighbors".
Rename "clear arp6" to "clear ipv6 neighbors".
Diffstat (limited to 'templates/clear')
-rw-r--r--templates/clear/arp6/address/node.def1
-rw-r--r--templates/clear/arp6/address/node.tag/node.def3
-rw-r--r--templates/clear/arp6/interface/node.def1
-rw-r--r--templates/clear/arp6/node.def1
-rw-r--r--templates/clear/ipv6/neighbors/address/node.def1
-rw-r--r--templates/clear/ipv6/neighbors/address/node.tag/node.def3
-rw-r--r--templates/clear/ipv6/neighbors/interface/node.def1
-rw-r--r--templates/clear/ipv6/neighbors/interface/node.tag/node.def (renamed from templates/clear/arp6/interface/node.tag/node.def)4
-rw-r--r--templates/clear/ipv6/neighbors/node.def1
9 files changed, 8 insertions, 8 deletions
diff --git a/templates/clear/arp6/address/node.def b/templates/clear/arp6/address/node.def
deleted file mode 100644
index dc27e11..0000000
--- a/templates/clear/arp6/address/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear ARP cache for an IPv6 address
diff --git a/templates/clear/arp6/address/node.tag/node.def b/templates/clear/arp6/address/node.tag/node.def
deleted file mode 100644
index fe94cdd..0000000
--- a/templates/clear/arp6/address/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Clear ARP cache for an IPv6 address
-allowed: echo -n '<h:h:h:h:h:h:h:h>'
-run: sudo /sbin/ip -f inet6 neigh flush to "$4"
diff --git a/templates/clear/arp6/interface/node.def b/templates/clear/arp6/interface/node.def
deleted file mode 100644
index 306b999..0000000
--- a/templates/clear/arp6/interface/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear IPv6 ARP cache for interface
diff --git a/templates/clear/arp6/node.def b/templates/clear/arp6/node.def
deleted file mode 100644
index e4d5ff3..0000000
--- a/templates/clear/arp6/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear IPv6 Address Resolution Protocol (ARP) cache
diff --git a/templates/clear/ipv6/neighbors/address/node.def b/templates/clear/ipv6/neighbors/address/node.def
new file mode 100644
index 0000000..ffb7376
--- /dev/null
+++ b/templates/clear/ipv6/neighbors/address/node.def
@@ -0,0 +1 @@
+help: Clear ND cache for an IPv6 address
diff --git a/templates/clear/ipv6/neighbors/address/node.tag/node.def b/templates/clear/ipv6/neighbors/address/node.tag/node.def
new file mode 100644
index 0000000..4aaec8a
--- /dev/null
+++ b/templates/clear/ipv6/neighbors/address/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Clear ND cache for an IPv6 address
+allowed: echo -n '<h:h:h:h:h:h:h:h>'
+run: sudo /sbin/ip -f inet6 neigh flush to "$5"
diff --git a/templates/clear/ipv6/neighbors/interface/node.def b/templates/clear/ipv6/neighbors/interface/node.def
new file mode 100644
index 0000000..db4adaf
--- /dev/null
+++ b/templates/clear/ipv6/neighbors/interface/node.def
@@ -0,0 +1 @@
+help: Clear IPv6 ND cache for interface
diff --git a/templates/clear/arp6/interface/node.tag/node.def b/templates/clear/ipv6/neighbors/interface/node.tag/node.def
index 2766b17..9bc879a 100644
--- a/templates/clear/arp6/interface/node.tag/node.def
+++ b/templates/clear/ipv6/neighbors/interface/node.tag/node.def
@@ -1,5 +1,5 @@
-help: Clear IPv6 ARP cache for interface
+help: Clear IPv6 ND cache for interface
allowed: local -a array ;
array=( /sys/class/net/{eth,vmnet}* ) ;
echo -n ${array[@]##*/}
-run: sudo /sbin/ip -f inet6 neigh flush dev "$4"
+run: sudo /sbin/ip -f inet6 neigh flush dev "$5"
diff --git a/templates/clear/ipv6/neighbors/node.def b/templates/clear/ipv6/neighbors/node.def
new file mode 100644
index 0000000..cde35f9
--- /dev/null
+++ b/templates/clear/ipv6/neighbors/node.def
@@ -0,0 +1 @@
+help: Clear IPv6 Neighbor Discovery (ND) cache