summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-27 15:33:52 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-27 15:33:52 -0800
commit403910599a5861ff7d98415439ea85e45afd4bed (patch)
tree0f39fa1690dfc22bebb6e53dc13a5b35cbb1b8c2 /templates/show
parent27a5ac1261d5755189966798f72ff23414e9b032 (diff)
downloadvyatta-op-403910599a5861ff7d98415439ea85e45afd4bed.tar.gz
vyatta-op-403910599a5861ff7d98415439ea85e45afd4bed.zip
add tech-support command
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/tech-support/node.def2
-rw-r--r--templates/show/tech-support/save/node.def2
-rw-r--r--templates/show/tech-support/save/node.tag/node.def3
3 files changed, 7 insertions, 0 deletions
diff --git a/templates/show/tech-support/node.def b/templates/show/tech-support/node.def
new file mode 100644
index 0000000..e47842b
--- /dev/null
+++ b/templates/show/tech-support/node.def
@@ -0,0 +1,2 @@
+help: Show consolidated tech-support report
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support
diff --git a/templates/show/tech-support/save/node.def b/templates/show/tech-support/save/node.def
new file mode 100644
index 0000000..874339b
--- /dev/null
+++ b/templates/show/tech-support/save/node.def
@@ -0,0 +1,2 @@
+help: Save consolidated tech-support report
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support save
diff --git a/templates/show/tech-support/save/node.tag/node.def b/templates/show/tech-support/save/node.tag/node.def
new file mode 100644
index 0000000..cf86a95
--- /dev/null
+++ b/templates/show/tech-support/save/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Save consolidated tech-support report to specified file/path
+allowed: echo -n 'FILE PATH'
+run: source ${vyatta_datadir}/vyatta-op/functions/tech-support save $4