summaryrefslogtreecommitdiff
path: root/op-mode-definitions/generate_tech-support_archive.xml.in
blob: e95be3e28039fa441adb2b191ee572166f44efdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>