summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-techsupport_report.xml.in
blob: 4fd6e5d1e4f73bebce467c388f8ca74ba0e3b1b5 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="tech-support">
        <properties>
          <help>Show tech-support report</help>
        </properties>
        <children>
          <node name="report">
            <properties>
              <help>Show consolidated tech-support report (contains private information)</help>
            </properties>
            <command>${vyos_op_scripts_dir}/show_techsupport_report.py</command>
            <children>
              <node name="machine-readable">
                <properties>
                  <help>Show consolidated tech-support report in JSON</help>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/tech_support.py show --raw</command>
              </node>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>