From dcb38f37888b2a8a1f93e27ca5259035cee99870 Mon Sep 17 00:00:00 2001 From: Deepti Kulkarni Date: Fri, 4 Jun 2010 18:13:35 +0000 Subject: Show tech-support Larkspur enhancements. --- templates/show/tech-support/brief/node.def | 2 ++ templates/show/tech-support/brief/save-uncompressed/node.def | 2 ++ templates/show/tech-support/brief/save-uncompressed/node.tag/node.def | 4 ++++ templates/show/tech-support/brief/save/node.def | 2 ++ templates/show/tech-support/brief/save/node.tag/node.def | 4 ++++ templates/show/tech-support/save-uncompressed/node.def | 2 ++ templates/show/tech-support/save-uncompressed/node.tag/node.def | 3 +++ templates/show/tech-support/save/node.tag/node.def | 4 ++-- 8 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 templates/show/tech-support/brief/node.def create mode 100644 templates/show/tech-support/brief/save-uncompressed/node.def create mode 100644 templates/show/tech-support/brief/save-uncompressed/node.tag/node.def create mode 100644 templates/show/tech-support/brief/save/node.def create mode 100644 templates/show/tech-support/brief/save/node.tag/node.def create mode 100644 templates/show/tech-support/save-uncompressed/node.def create mode 100644 templates/show/tech-support/save-uncompressed/node.tag/node.def (limited to 'templates') 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://:@/ ftp://:@/' +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://:@/ ftp://:@/' +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://:@/ ftp://:@/' +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 ' ' +help: Save compressed tech-support report to the specified file/path +allowed: echo -n 'file scp://:@/ ftp://:@/' run: source ${vyatta_datadir}/vyatta-op/functions/tech-support save $4 -- cgit v1.2.3