Skip to content

Commit

Permalink
Add an enumerated value "degraded" for disk status.
Browse files Browse the repository at this point in the history
  • Loading branch information
littlehotcx committed Feb 21, 2022
1 parent cf6bb3b commit 46f11c2
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 46f11c2

Please sign in to comment.