summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-raid.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-raid.xml.in')
-rw-r--r--op-mode-definitions/show-raid.xml.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/op-mode-definitions/show-raid.xml.in b/op-mode-definitions/show-raid.xml.in
new file mode 100644
index 000000000..8bf394552
--- /dev/null
+++ b/op-mode-definitions/show-raid.xml.in
@@ -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>