summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/raid_constants.py
diff options
context:
space:
mode:
authorImre Farkas <ifarkas@redhat.com>2016-04-20 14:38:13 +0200
committerJim Rollenhagen <jim@jimrollenhagen.com>2016-05-04 14:28:48 +0000
commit0f8cfa8012bf23d3d82bc19197c0ce59de1b55d5 (patch)
treef98b96d6d3d9cf741e2459102d8291ed8ac89320 /ironic/tests/unit/raid_constants.py
parent67652e530e7c34494a44a948974d1ea71e19899e (diff)
downloadironic-0f8cfa8012bf23d3d82bc19197c0ce59de1b55d5.tar.gz
RAID interface to support JBOD volumes
Adding 'JBOD' to the list of accepted RAID levels. Closes-Bug: #1572511 Change-Id: I596b26d10331aed9696c8fbd75b9e1d683af8587
Diffstat (limited to 'ironic/tests/unit/raid_constants.py')
-rw-r--r--ironic/tests/unit/raid_constants.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ironic/tests/unit/raid_constants.py b/ironic/tests/unit/raid_constants.py
index c3db74f4d..ba37f84a7 100644
--- a/ironic/tests/unit/raid_constants.py
+++ b/ironic/tests/unit/raid_constants.py
@@ -196,6 +196,17 @@ RAID_CONFIG_ADDITIONAL_PROP = '''
}
'''
+RAID_CONFIG_JBOD_VOLUME = '''
+{
+ "logical_disks": [
+ {
+ "raid_level": "JBOD",
+ "size_gb": 100
+ }
+ ]
+}
+'''
+
CUSTOM_SCHEMA_RAID_CONFIG = '''
{
"logical_disks": [