summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-raid.xml
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-raid.xml')
-rw-r--r--op-mode-definitions/show-raid.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/op-mode-definitions/show-raid.xml b/op-mode-definitions/show-raid.xml
new file mode 100644
index 000000000..8bf394552
--- /dev/null
+++ b/op-mode-definitions/show-raid.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <tagNode name="raid">
+ <properties>
+ <help>Show status of RAID set</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_raidset.sh</script>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/show_raid.sh $3</command>
+ </tagNode>
+ </children>
+ </node>
+</interfaceDefinition>