]> git.datanom.net - omvzfs.git/blobdiff - OMVModulePoolType.php
Latest version
[omvzfs.git] / OMVModulePoolType.php
index 29b5fa9219efa94d29e2d532f93bcdcf12751f34..f346bd9b86a665bc86cfa330251651ebb4f2a092 100644 (file)
  * @class OMVModulePoolType.
  */
 class OMVModulePoolType {
  * @class OMVModulePoolType.
  */
 class OMVModulePoolType {
-       const OMVModulePoolType_TYPE_NONE = 0;
-       const OMVModulePoolType_TYPE_MIRROR = 1;
-       const OMVModulePoolType_TYPE_RAIDZ1 = 2;
-       const OMVModulePoolType_TYPE_RAIDZ2 = 3;
-       const OMVModulePoolType_TYPE_RAIDZ3 = 4;
+       const OMVModulePoolType_TYPE_NONE       = 0;
+       const OMVModulePoolType_TYPE_STRIPE     = 1;
+       const OMVModulePoolType_TYPE_MIRROR     = 2;
+       const OMVModulePoolType_TYPE_RAIDZ1     = 3;
+       const OMVModulePoolType_TYPE_RAIDZ2     = 4;
+       const OMVModulePoolType_TYPE_RAIDZ3     = 5;
 
        /**
         * Return OMVModulePoolType as string.
 
        /**
         * Return OMVModulePoolType as string.
@@ -39,6 +40,8 @@ class OMVModulePoolType {
        public static function toString($type) {
                if ($type === self::OMVModulePoolType_TYPE_NONE) {
                        return 'OMVModulePoolType_TYPE_NONE';
        public static function toString($type) {
                if ($type === self::OMVModulePoolType_TYPE_NONE) {
                        return 'OMVModulePoolType_TYPE_NONE';
+               } else if ($type === self::OMVModulePoolType_TYPE_STRIPE) {
+                       return 'OMVModulePoolType_TYPE_STRIPE';
                } else if ($type === self::OMVModulePoolType_TYPE_MIRROR) {
                        return 'OMVModulePoolType_TYPE_MIRROR';
                } else if ($type === self::OMVModulePoolType_TYPE_RAIDZ1) {
                } else if ($type === self::OMVModulePoolType_TYPE_MIRROR) {
                        return 'OMVModulePoolType_TYPE_MIRROR';
                } else if ($type === self::OMVModulePoolType_TYPE_RAIDZ1) {
This page took 0.033997 seconds and 5 git commands to generate.