summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-13 19:43:48 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-14 21:58:42 +0100
commit2ae8d4462ce772f247bd899104e43cd50add8b33 (patch)
tree5ad1eb8bd670663e9d5630f0eda22529610067da
parent487b624904a58b11e3ab236bf6e663da37d2afcd (diff)
[PDF] [SPEC] Extend disk_rotation enum with '0'
ssd and nvme drives are static, so extend the list of accepted disk_rotation values to accomodate this. Use '0' so the enum can still be parsed as a numeric value. Change-Id: Ib8ef8cceb495c7eb588c68d151690747463167f5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rw-r--r--config/pdf/pod1.schema.yaml2
-rw-r--r--config/pdf/pod1.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/pdf/pod1.schema.yaml b/config/pdf/pod1.schema.yaml
index 12ce38d5..ad7466e0 100644
--- a/config/pdf/pod1.schema.yaml
+++ b/config/pdf/pod1.schema.yaml
@@ -59,7 +59,7 @@ definitions:
enum: ['sata', 'sas', 'ssd', 'nvme']
disk_rotation:
type: 'number'
- enum: [5400, 7200, 10000, 15000]
+ enum: [0, 5400, 7200, 10000, 15000]
required: ['name', 'disk_capacity', 'disk_type', 'disk_interface', 'disk_rotation']
additionalProperties: false
remote_management:
diff --git a/config/pdf/pod1.yaml b/config/pdf/pod1.yaml
index d9028c23..03ec9d12 100644
--- a/config/pdf/pod1.yaml
+++ b/config/pdf/pod1.yaml
@@ -34,7 +34,7 @@ jumphost:
# several interface types possible
disk_interface: {sata|sas|ssd|nvme}
# define rotation speed of disk
- disk_rotation: {5400|7200|10000|15000}
+ disk_rotation: {0|5400|7200|10000|15000}
# second disk
- name: 'disk2'
disk_capacity: 2048G