summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-disk.xml
blob: 37da07fbe586d7e03b41c516b9e36fc74c1a3f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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>