2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00

Support unsupported bad disks

This commit is contained in:
Jarrod Johnson 2019-10-23 17:02:37 -04:00
parent 3df7a36c48
commit cec6918c1a

View File

@ -1489,12 +1489,14 @@ class Volume(ConfluentMessage):
class Disk(ConfluentMessage):
valid_states = set([
'fault',
'jbod',
'unconfigured',
'hotspare',
'online',
])
state_aliases = {
'unconfigured bad': 'fault',
'unconfigured good': 'unconfigured',
'global hot spare': 'hotspare',
'dedicated hot spare': 'hotspare',