]> git.datanom.net - omvzfs.git/blobdiff - src/VdevType.php
Refactored to mimic zpool create
[omvzfs.git] / src / VdevType.php
diff --git a/src/VdevType.php b/src/VdevType.php
new file mode 100644 (file)
index 0000000..81797b8
--- /dev/null
@@ -0,0 +1,45 @@
+<?php
+
+/**
+ * OMVModuleZFSVdevType class
+ *
+ * @author    Michael Rasmussen
+ * @version   0.1
+ * @copyright Michael Rasmussen <mir@datanom.net>
+ * @abstract
+ */
+abstract class OMVModuleZFSVdevType {
+
+    /**
+     * @var  OMVMODULEZFSPLAIN
+     * @access public
+     */
+       const OMVMODULEZFSPLAIN = 0;
+
+    /**
+     * @var  OMVMODULEZFSMIRROR
+     * @access public
+     */
+       const OMVMODULEZFSMIRROR = 1;
+
+    /**
+     * @var  OMVMODULEZFSRAIDZ1
+     * @access public
+     */
+       const OMVMODULEZFSRAIDZ1 = 2;
+
+    /**
+     * @var  OMVMODULEZFSRAIDZ2
+     * @access public
+     */
+       const OMVMODULEZFSRAIDZ2 = 3;
+
+    /**
+     * @var  OMVMODULEZFSRAIDZ3
+     * @access public
+     */
+       const OMVMODULEZFSRAIDZ3 = 4;
+
+}
+
+?>
This page took 0.042125 seconds and 5 git commands to generate.