Fix quotes in documentation and schema description
Fix example of RAID configuration by removing wrong quotes. Add missing quote in RAID config schema description. Closes-Bug: #1702129 Change-Id: I2012e3968a0fccec0df1f4de3f682ab97aa1b8ac
This commit is contained in:
parent
cbcb5d9fdb
commit
ab29dccead
@ -5,7 +5,7 @@
|
|||||||
"is_root_volume": "Specifies whether this disk is a root volume. By default, this is False. Optional.",
|
"is_root_volume": "Specifies whether this disk is a root volume. By default, this is False. Optional.",
|
||||||
"number_of_physical_disks": "Number of physical disks to use for this logical disk. By default, the driver uses the minimum number of disks required for that RAID level. Optional.",
|
"number_of_physical_disks": "Number of physical disks to use for this logical disk. By default, the driver uses the minimum number of disks required for that RAID level. Optional.",
|
||||||
"physical_disks": "The physical disks to use for this logical disk. If not specified, the driver will choose suitable physical disks to use. Optional.",
|
"physical_disks": "The physical disks to use for this logical disk. If not specified, the driver will choose suitable physical disks to use. Optional.",
|
||||||
"raid_level": "RAID level for the logical disk. Valid values are 'JBOD', 0', '1', '2', '5', '6', '1+0', '5+0' and '6+0'. Required.",
|
"raid_level": "RAID level for the logical disk. Valid values are 'JBOD', '0', '1', '2', '5', '6', '1+0', '5+0' and '6+0'. Required.",
|
||||||
"share_physical_disks": "Specifies whether other logical disks can share physical disks with this logical disk. By default, this is False. Optional.",
|
"share_physical_disks": "Specifies whether other logical disks can share physical disks with this logical disk. By default, this is False. Optional.",
|
||||||
"size_gb": "Size in GiB (Integer) for the logical disk. Use 'MAX' as size_gb if this logical disk is supposed to use the rest of the space available. Required.",
|
"size_gb": "Size in GiB (Integer) for the logical disk. Use 'MAX' as size_gb if this logical disk is supposed to use the rest of the space available. Required.",
|
||||||
"volume_name": "Name of the volume to be created. If this is not specified, it will be auto-generated. Optional."
|
"volume_name": "Name of the volume to be created. If this is not specified, it will be auto-generated. Optional."
|
||||||
|
@ -172,7 +172,7 @@ HDD::
|
|||||||
"disk_type": "ssd"
|
"disk_type": "ssd"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size_gb": "500",
|
"size_gb": 500,
|
||||||
"raid_level": "1",
|
"raid_level": "1",
|
||||||
"disk_type": "hdd"
|
"disk_type": "hdd"
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
"raid_level": {
|
"raid_level": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [ "JBOD", "0", "1", "2", "5", "6", "1+0", "5+0", "6+0" ],
|
"enum": [ "JBOD", "0", "1", "2", "5", "6", "1+0", "5+0", "6+0" ],
|
||||||
"description": "RAID level for the logical disk. Valid values are 'JBOD', 0', '1', '2', '5', '6', '1+0', '5+0' and '6+0'. Required."
|
"description": "RAID level for the logical disk. Valid values are 'JBOD', '0', '1', '2', '5', '6', '1+0', '5+0' and '6+0'. Required."
|
||||||
},
|
},
|
||||||
"size_gb": {
|
"size_gb": {
|
||||||
"anyOf": [{
|
"anyOf": [{
|
||||||
|
Loading…
Reference in New Issue
Block a user