Merge "Fix for Unable to create RAID1 on Dell BOSS card"
This commit is contained in:
commit
aae0454f3a
@ -15,8 +15,7 @@
|
||||
"size_gb": {
|
||||
"anyOf": [{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
"minimum": 0
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
|
@ -69,6 +69,12 @@ class ValidateRaidConfigurationTestCase(base.TestCase):
|
||||
raid_config,
|
||||
raid_config_schema=self.schema)
|
||||
|
||||
def test_validate_configuration_zero_size_gb(self):
|
||||
raid_config = json.loads(raid_constants.RAID_CONFIG_ZERO_SIZE_GB)
|
||||
|
||||
raid.validate_configuration(raid_config,
|
||||
raid_config_schema=self.schema)
|
||||
|
||||
def test_validate_configuration_max_size_gb(self):
|
||||
raid_config = json.loads(raid_constants.RAID_CONFIG_MAX_SIZE_GB)
|
||||
raid.validate_configuration(raid_config,
|
||||
|
@ -84,6 +84,17 @@ RAID_CONFIG_INVALID_SIZE_GB = '''
|
||||
}
|
||||
'''
|
||||
|
||||
RAID_CONFIG_ZERO_SIZE_GB = '''
|
||||
{
|
||||
"logical_disks": [
|
||||
{
|
||||
"raid_level": "1",
|
||||
"size_gb": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
'''
|
||||
|
||||
RAID_CONFIG_MAX_SIZE_GB = '''
|
||||
{
|
||||
"logical_disks": [
|
||||
|
4
releasenotes/notes/raid-dell-boss-e9c5da9ddceedd67.yaml
Normal file
4
releasenotes/notes/raid-dell-boss-e9c5da9ddceedd67.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- Adds support for RAID 1 creation on Dell Boot Optimized Storage Solution
|
||||
(BOSS).
|
Loading…
Reference in New Issue
Block a user