summaryrefslogtreecommitdiffstats
path: root/deploy/config/schemas.py
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/config/schemas.py')
-rw-r--r--deploy/config/schemas.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy/config/schemas.py b/deploy/config/schemas.py
index 52ded2b4..7cc2c80e 100644
--- a/deploy/config/schemas.py
+++ b/deploy/config/schemas.py
@@ -13,6 +13,7 @@ from jsonschema import Draft4Validator, FormatChecker
MIN_DAISY_DISK_SIZE = 50
# minimal size of root_lv_size is 102400 mega-bytes
MIN_NODE_DISK_SIZE = 110
+MIN_CEPH_DISK_SIZE = 110
hosts_schema = {
'type': 'array',
@@ -36,7 +37,8 @@ disks_schema = {
'properties': {
'daisy': {'type': 'integer', 'minimum': MIN_DAISY_DISK_SIZE},
'controller': {'type': 'integer', 'minimum': MIN_NODE_DISK_SIZE},
- 'compute': {'type': 'integer', 'minimum': MIN_NODE_DISK_SIZE}
+ 'compute': {'type': 'integer', 'minimum': MIN_NODE_DISK_SIZE},
+ 'ceph': {'type': 'integer', 'minimum': MIN_CEPH_DISK_SIZE}
}
}