summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
authorDeepti Kulkarni <deepti@vyatta.com>2010-06-04 18:13:35 +0000
committerDeepti Kulkarni <deepti@vyatta.com>2010-06-04 18:13:35 +0000
commitdcb38f37888b2a8a1f93e27ca5259035cee99870 (patch)
tree9795079b4fdfe2216ccbd873972c61b32aab60f2 /templates/show
parent33640932e80562c3100e4affc5ddeaeefa210072 (diff)
downloadvyatta-op-dcb38f37888b2a8a1f93e27ca5259035cee99870.tar.gz
vyatta-op-dcb38f37888b2a8a1f93e27ca5259035cee99870.zip
Show tech-support Larkspur enhancements.
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/tech-support/brief/node.def2
-rw-r--r--templates/show/tech-support/brief/save-uncompressed/node.def2
-rw-r--r--templates/show/tech-support/brief/save-uncompressed/node.tag/node.def4
-rw-r--r--templates/show/tech-support/brief/save/node.def2
-rw-r--r--templates/show/tech-support/brief/save/node.tag/node.def4
-rw-r--r--templates/show/tech-support/save-uncompressed/node.def2
-rw-r--r--templates/show/tech-support/save-uncompressed/node.tag/node.def3
-rw-r--r--templates/show/tech-support/save/node.tag/node.def4
8 files changed, 21 insertions, 2 deletions
diff --git a/templates/show/tech-support/brief/node.def b/templates/show/tech-support/brief/node.def
new file mode 100644
index 0000000..800574c
--- /dev/null
+++ b/templates/show/tech-support/brief/node.def
@@ -0,0 +1,2 @@
+help: Show brief tech-support report
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief
diff --git a/templates/show/tech-support/brief/save-uncompressed/node.def b/templates/show/tech-support/brief/save-uncompressed/node.def
new file mode 100644
index 0000000..cc271de
--- /dev/null
+++ b/templates/show/tech-support/brief/save-uncompressed/node.def
@@ -0,0 +1,2 @@
+help: Save uncompressed brief tech-support report
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save-uncompressed
diff --git a/templates/show/tech-support/brief/save-uncompressed/node.tag/node.def b/templates/show/tech-support/brief/save-uncompressed/node.tag/node.def
new file mode 100644
index 0000000..523a340
--- /dev/null
+++ b/templates/show/tech-support/brief/save-uncompressed/node.tag/node.def
@@ -0,0 +1,4 @@
+help: Save uncompressed brief tech-support report to specified file/path
+allowed: echo -n 'file scp://<user>:<passwd>@<host>/<file> ftp://<user>:<passwd>@<host>/<file>'
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save-uncompressed $5
+
diff --git a/templates/show/tech-support/brief/save/node.def b/templates/show/tech-support/brief/save/node.def
new file mode 100644
index 0000000..c738a0a
--- /dev/null
+++ b/templates/show/tech-support/brief/save/node.def
@@ -0,0 +1,2 @@
+help: Save brief tech-support report
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save
diff --git a/templates/show/tech-support/brief/save/node.tag/node.def b/templates/show/tech-support/brief/save/node.tag/node.def
new file mode 100644
index 0000000..95aaa87
--- /dev/null
+++ b/templates/show/tech-support/brief/save/node.tag/node.def
@@ -0,0 +1,4 @@
+help: Save compressed brief tech-support report to specified file/path
+allowed: echo -n 'file scp://<user>:<passwd>@<host>/<file> ftp://<user>:<passwd>@<host>/<file>'
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save $5
+
diff --git a/templates/show/tech-support/save-uncompressed/node.def b/templates/show/tech-support/save-uncompressed/node.def
new file mode 100644
index 0000000..71c774a
--- /dev/null
+++ b/templates/show/tech-support/save-uncompressed/node.def
@@ -0,0 +1,2 @@
+help: Save consolidated tech-support report uncompressed
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support save-uncompressed
diff --git a/templates/show/tech-support/save-uncompressed/node.tag/node.def b/templates/show/tech-support/save-uncompressed/node.tag/node.def
new file mode 100644
index 0000000..adf21ee
--- /dev/null
+++ b/templates/show/tech-support/save-uncompressed/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Save uncompressed tech-support report to specified file/path
+allowed: echo -n 'file scp://<user>:<passwd>@<host>/<file> ftp://<user>:<passwd>@<host>/<file>'
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support save-uncompressed $4
diff --git a/templates/show/tech-support/save/node.tag/node.def b/templates/show/tech-support/save/node.tag/node.def
index c8566af..5722c19 100644
--- a/templates/show/tech-support/save/node.tag/node.def
+++ b/templates/show/tech-support/save/node.tag/node.def
@@ -1,3 +1,3 @@
-help: Save consolidated tech-support report to specified file/path
-allowed: echo -n '<FILE> <PATH>'
+help: Save compressed tech-support report to the specified file/path
+allowed: echo -n 'file scp://<user>:<passwd>@<host>/<file> ftp://<user>:<passwd>@<host>/<file>'
run: source ${vyatta_datadir}/vyatta-op/functions/tech-support save $4