diff options
Diffstat (limited to 'templates/show')
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 |