summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2012-10-10 11:14:11 -0500
committerDavid Lehman <dlehman@redhat.com>2012-10-12 09:24:54 -0500
commiteda7b89d164b5ca10163a881f37db4491da60e98 (patch)
tree3a31645d0624d90f178d719e17f5c8d9049f7299
parentd80f6a3154a2fc8243fc56a4af028837384943fb (diff)
downloadanaconda-eda7b89d164b5ca10163a881f37db4491da60e98.tar.gz
anaconda-eda7b89d164b5ca10163a881f37db4491da60e98.tar.xz
anaconda-eda7b89d164b5ca10163a881f37db4491da60e98.zip
Fill in missing parts of the disabled raid features dict.
This is used to prevent combinations of features that do not reduce to a valid raid level.
-rw-r--r--pyanaconda/ui/gui/spokes/custom.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 9838e2249..bd1088f26 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -125,7 +125,11 @@ raid_level_features = {"raid0": ["Performance"],
"single": []}
# disabled features by raid_level
-raid_disabled_features = {"raid1": ["Error", "DistError", "RedundantError"]}
+raid_disabled_features = {"raid1": ["Error", "DistError", "RedundantError"],
+ "raid10": ["Error", "DistError", "RedundantError"],
+ "raid4": ["Redundancy", "DistError", "RedundantError"],
+ "raid5": ["Redundancy", "Error", "RedundantError"],
+ "raid6": ["Redundancy", "Error", "DistError"]}
# reference raid level by feature name
feature_raid_levels = {"Performance": "raid0",