summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-16 20:37:44 +0200
committerGitHub <noreply@github.com>2023-10-16 20:37:44 +0200
commitbc0330808b211f4b6eedc87e9dd9749f1e91d9aa (patch)
tree4030e2f437460111616b60c0ed30e83e25d236c3 /op-mode-definitions
parentb7359833c6663ac3b00439feae751e968ce68b99 (diff)
parent65911b17340a7894aba973113d83ab43964bbf99 (diff)
downloadvyos-1x-bc0330808b211f4b6eedc87e9dd9749f1e91d9aa.tar.gz
vyos-1x-bc0330808b211f4b6eedc87e9dd9749f1e91d9aa.zip
Merge pull request #2367 from aapostoliuk/T5642-current
op-mode: T5642: 'generate tech-support archive' moved to vyos-1x
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/generate_tech-support_archive.xml.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/op-mode-definitions/generate_tech-support_archive.xml.in b/op-mode-definitions/generate_tech-support_archive.xml.in
new file mode 100644
index 000000000..e95be3e28
--- /dev/null
+++ b/op-mode-definitions/generate_tech-support_archive.xml.in
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="generate">
+ <children>
+ <node name="tech-support">
+ <properties>
+ <help>Generate tech support info</help>
+ </properties>
+ <children>
+ <node name="archive">
+ <properties>
+ <help>Generate tech support archive</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/generate_tech-support_archive.py</command>
+ </node>
+ <tagNode name="archive">
+ <properties>
+ <help>Generate tech support archive to defined location</help>
+ <completionHelp>
+ <list> &lt;file&gt; &lt;scp://user:passwd@host&gt; &lt;ftp://user:passwd@host&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/generate_tech-support_archive.py $4</command>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>