summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-acceleration.xml.in
blob: fccfba5e350c56cd2c12c6cf9497776af8a57ce8 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="system">
        <properties>
          <help>Show system information</help>
        </properties>
        <children>
          <node name="acceleration">
            <properties>
              <help>Acceleration components</help>
            </properties>
            <children>
              <node name="qat">
                <properties>
                  <help>Intel QAT (Quick Assist Technology) Devices</help>
                </properties>
                <children>
                  <tagNode name="device">
                    <properties>
                      <help>Show QAT information for a given acceleration device</help>
                      <completionHelp>
                        <script>${vyos_op_scripts_dir}/show_acceleration.py --dev-list</script>
                      </completionHelp>
                    </properties>
                    <children>
                      <node name="flows">
                        <properties>
                          <help>Intel QAT flows</help>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --flow --dev $6</command>
                      </node>
                      <node name="config">
                        <properties>
                          <help>Intel QAT configuration</help>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --conf --dev $6</command>
                      </node>
                    </children>
                  </tagNode>
                  <node name="status">
                    <properties>
                      <help>Intel QAT status</help>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --status</command>
                  </node>
                  <node name="interrupts">
                    <properties>
                      <help>Intel QAT interrupts</help>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --interrupts</command>
                  </node>
                </children>
                <command>sudo ${vyos_op_scripts_dir}/show_acceleration.py --hw</command>
              </node>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>