Skip to content

Commit

Permalink
What this PR does / why we need it: (#648)
Browse files Browse the repository at this point in the history
Add the enum value of the controller status.

Which issue this PR fixes(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes

Special notes for your reviewer:

Release note:
  • Loading branch information
qinwang-murphy authored Jun 30, 2021
1 parent 7586af7 commit a1dab41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion delfin/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ class VolumeStatus(object):
class ControllerStatus(object):
NORMAL = 'normal'
OFFLINE = 'offline'
FAULT = 'fault'
DEGRADED = 'degraded'
UNKNOWN = 'unknown'

ALL = (NORMAL, OFFLINE, UNKNOWN)
ALL = (NORMAL, OFFLINE, FAULT, DEGRADED, UNKNOWN)


class StorageType(object):
Expand Down

0 comments on commit a1dab41

Please sign in to comment.