summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-disk.xml
blob: db473959ab36ef1d33f69d585783e9ee74f11040 (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>