Skip to content

Commit

Permalink
Add an enumerated value "degraded" for disk status. (#829)
Browse files Browse the repository at this point in the history
Co-authored-by: enxichen <chenxicqu@163.com>
  • Loading branch information
JiuyunZhao and littlehotcx authored Feb 21, 2022
1 parent cf6bb3b commit 0f352bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion delfin/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,10 @@ class PortLogicalType(object):
class DiskStatus(object):
NORMAL = 'normal'
ABNORMAL = 'abnormal'
DEGRADED = 'degraded'
OFFLINE = 'offline'

ALL = (NORMAL, ABNORMAL, OFFLINE)
ALL = (NORMAL, ABNORMAL, DEGRADED, OFFLINE)


class DiskPhysicalType(object):
Expand Down

0 comments on commit 0f352bb

Please sign in to comment.