summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-disk.xml
blob: 8a8e35515ee34a9206b822b2c8173d221a3604a4 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
    <tagNode name="disk">
      <properties>
        <help>Show status of disk device</help>
        <completionHelp>
          <script>${vyos_completion_dir}/list_disks.sh</script>
        </completionHelp>
      </properties>
      <children>
        <leafNode name="format">
          <properties>
            <help>Show disk drive formatting</help>
          </properties>
          <command>${vyos_op_scripts_dir}/show_disk_format.sh $3</command>
        </leafNode>
      </children>
    </tagNode>

    </children>
  </node>
</interfaceDefinition>